Skip to content
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

Poll detail view: new filters and bar chart #3899

Closed
MSoeb opened this issue Jul 18, 2024 · 3 comments · Fixed by #3978
Closed

Poll detail view: new filters and bar chart #3899

MSoeb opened this issue Jul 18, 2024 · 3 comments · Fixed by #3978
Assignees
Milestone

Comments

@MSoeb
Copy link

MSoeb commented Jul 18, 2024

Current behavior
In addition to a yes, no or abstention nominal vote, there may be various quorums that must be met additionally for some votes. For example, it may be the case that a) a majority from a certain present group or structure level must have voted with yes and b) a weighted majority from this pool must have voted with yes. Neither scenario can currently be visualized or easily read out of the data. Adjustments are required to make this possible.

Wanted behavior
The following features are required in the poll detail view to make it easier to recognize the necessary majorities in nominal votes on motions:

  1. A filter with two filter options (by structure level and groups) should be added to single votes (See image: lower red mark)

  2. Furthermore, a new horizontal bar chart should to be inserted above the table.
    The bar chart should be visible if one (or more) filters are activated
    We want to use form the that visualizes the (weighted) number of votes and percentages for yes/no/abstain vote based on the filtered list. Below the bar chart, the corresponding number of ballots cast (in other words the unweighted number of persons entitled to vote) for yes/no/abstention is shown. (see image: upper red mark)

With these features both desired quorums can be read off.

image

@Elblinator
Copy link
Member

5296353923839419387

@Elblinator
Copy link
Member

The bar chart should not be handmade but be called by the method which creates the pie chart (but it should be called as a bra instead)

@Elblinator
Copy link
Member

It is possible that only part of the information can be automatically created by the method.

The third line (2 2 2) can be called manually, same goes for "Votes in total: "

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

Successfully merging a pull request may close this issue.

4 participants