Skip to content

Support poll attachments #38

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Support poll attachments #38

wants to merge 1 commit into from

Conversation

nickfryar
Copy link
Member

Changes

  • Added support for creating posts with poll attachments
  • Added polls to the single post view
  • Added input validation for post attachments

Screenshots

Post with poll

Screenshot 2025-05-09 at 12 11 01 PM

Post without poll

Screenshot 2025-05-09 at 12 11 23 PM

Attaching poll

Screenshot 2025-05-09 at 12 59 16 PM Screenshot 2025-05-09 at 12 59 22 PM

@pestevez
Copy link
Contributor

pestevez commented May 9, 2025

Looks great! How do you feel about adding an option to remove the poll attachment?

It could be useful if people hit it by mistake, even if the attachment is ignored if options A and B are blank.

@nickfryar
Copy link
Member Author

@pestevez I tested that, and it works as long as the fields are empty. The button only toggles whether the text fields are visible or not, and the poll won't be attached to the post if the fields are blank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants