-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Polls Widget on ZT. #1551
base: main
Are you sure you want to change the base?
Commits on Nov 4, 2024
-
widget: Add process_poll_widget function.
Added process_poll_widget function to process submessages containing a poll widget. Returns the question of the poll along with options and their voters in a dict.
Configuration menu - View commit details
-
Copy full SHA for 827ef2c - Browse repository at this point
Copy the full SHA 827ef2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for af39cee - Browse repository at this point
Copy the full SHA af39ceeView commit details -
keys: Add SHOW_POLL_VOTES hotkey.
SHOW_POLL_VOTES : 'v' to check votes for a given poll.
Configuration menu - View commit details
-
Copy full SHA for 17d3ade - Browse repository at this point
Copy the full SHA 17d3adeView commit details -
views: Add PollResultsView class.
Takes poll_question and options as an input and displays voters for each option.
Configuration menu - View commit details
-
Copy full SHA for 3b29642 - Browse repository at this point
Copy the full SHA 3b29642View commit details -
core: Add show_poll_vote method to Controller.
Creates an instance of PollResultsView class and shows the popup.
Configuration menu - View commit details
-
Copy full SHA for 990118a - Browse repository at this point
Copy the full SHA 990118aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78fd5df - Browse repository at this point
Copy the full SHA 78fd5dfView commit details -
messages: Update poll_question with a default text if empty.
This prevents an empty-title popup in the Poll Results view.
Configuration menu - View commit details
-
Copy full SHA for 9d75f50 - Browse repository at this point
Copy the full SHA 9d75f50View commit details