Stage - #100
Merged
Merged
Conversation
* Send /top as a native table instead of a rendered image Telegram has carried table blocks since Bot API 10.1, which the aiogram upgrade just made reachable. Hand /top its rows as data and let the client draw them: the result is selectable and searchable, and it skips the pandas -> WeasyPrint -> poppler -> Pillow round trip entirely. This is a pilot. /show_queue, /history and the monthly survey results still render images, so the pipeline and its dependencies stay for now. Also drop a leftover debug print from the handler. * Drop the image pipeline in favour of native tables /show_queue, /history and the monthly survey results now travel as table blocks like /top already did, so nothing renders PNGs any more. That removes pandas, WeasyPrint, pdf2image and Pillow from the requirements, poppler and pango from the image, and src/utility/tools.py altogether. The survey used to send three images as a media group and pin the first one, which pinned only the first category. It is now a single message: a heading followed by one table per category, so pinning covers all three. * Set 512mb for VM
Tables (#98)
NickLyrick
approved these changes
Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.