Skip to content

Improve flexibility for question layouts #2

@ttpcodes

Description

@ttpcodes

The current method we're using to handle questions on next-vote is to iterate through a JSON configuration to generate the questions to display. This is fine for simple "Yes/No" option votes or simple "pick one candidate" option votes, but really locks us in if we try to do anything more complex. Most notably, we can't do ranked choice voting for any questions in which we want to have instant runoffs implemented.

Moreover, we aren't able to create custom formatting for questions that might involve adding things to the layout such as images, sections, or hyperlinks. We should look into finding some kind of method of allowing more flexibility in how we design questions on the voting form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions