-
Notifications
You must be signed in to change notification settings - Fork 8
Support polls #18
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershtmxProbably involves mostly changes to HTML or HTMXProbably involves mostly changes to HTML or HTMX
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershtmxProbably involves mostly changes to HTML or HTMXProbably involves mostly changes to HTML or HTMX
Right now, a toot with a poll, the poll is entirely skipped. I'd like to have read-only support, at minimum.
This should be do-able completely in HTMX templates with no Python code. Just edit
toot.htmland pull in the relevant parts fromorig_json. If you support voting, that's a little bit of FastAPI python code.Debugging: I suggest finding a toot with a poll and click the "debug" button next to like & boost buttons. It prints the JSON to the terminal.