Skip to content

Support polls #18

@tkellogg

Description

@tkellogg

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.html and pull in the relevant parts from orig_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershtmxProbably involves mostly changes to HTML or HTMX

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions