feat: Implement Polls - #1129
Open
Speykious wants to merge 74 commits into
Open
Conversation
Member
|
Could we make the outline of the poll Accent Primary while the poll is active, then what you have it afterwards? Not required for Bounty
|
Author
|
hmmm yeah I guess that's not a bad idea |
Author
Author
Author
Let me know what you think of this last commit. I'm wondering if there's a better approach. |
Would you like help? 📎
...by using it
Jiralite
self-requested a review
July 11, 2026 23:22
Speykious
commented
Jul 27, 2026
| #: src/features/auth/components/pages/ResetPasswordPage.tsx:114 | ||
| msgid "This reset link has expired. Reset links last 1 hour. Please request a new one." | ||
| msgstr "" | ||
| msgstr "Dieser Link zum Zurücksetzen ist abgelaufen. Solche Links sind nur eine Stunde lang gültig. Bitte fordern Sie einen neuen an." |
Author
There was a problem hiding this comment.
(This was translated using https://translate.kagi.com)
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.



Implements desktop support for fluxerapp/fluxer-meta#2.
Here's what has been done:
SEND_POLLSpermission, I guesshandling ofMESSAGE_POLL_VOTE_ADDandMESSAGE_POLL_VOTE_REMOVEgateway eventsMESSAGE_REACTION_ADDandMESSAGE_REACTION_REMOVEgateway eventsSince this is my first time touching the codebase, I decided to do simple polls first, and then once the implementation around that is solid, extend the functionality to things beyond Discord's polls, such as attachments, an additional layout (say, grid instead of list), anonymous voting, etc.
I attributed special care in making sure that the API was compatible with Discord's, since that is a somewhat important part of Fluxer's appeal for developers.
As discussed in the Fluxer Developers community with staff, one of the ways my PR will slightly differ from what's specified in the bounty is that I will implement graded voting rather than ranked voting. Both can translate to pretty intuitive interfaces for voting on the poll, but I believe graded voting makes it a lot easier to accept the results of the poll than ranked voting, because users can express the extent to which they like all options a lot better. With ranked voting, users are forced to assume a linearity of preferences, which is very often at odds with what they actually think about the options. That being said, having both graded and ranked as additional ways to organize a poll is also a possibility. (But maybe it would be feature creep? idk)
Note on anonymous voting: it's technically possible for the average user to monitor
MESSAGE_REACTION_ADDandMESSAGE_REACTION_REMOVEmessages to see who voted on what, because I did not modify anything on that front. The only thing anonymous voting prevents is fetching the list of voters for any answer if you don't have the permission for it.Screenshots
Screenshots
As well as a small video of the modal with custom emotes:
fluxer-polls-custom-emotes.mp4
Verification
Checklist
LLM Disclosure
This PR is entirely vibe-coded; that is, I vibed to Hatsuki Yura and ShibayanRecords while handcrafting everything myself. ;v
Zero LLMs were used in the production of this code.