Decidim: Minimum voting of budget projects per participant

Created on 17 Feb 2020  路  4Comments  路  Source: decidim/decidim

ref: PP042

User story

Is your feature request related to a problem? Please describe.
As a participatory process administrator, I'd like to be able to set the minimum number of budget projects that participants must vote.

Describe the solution you'd like
As there is already an option to define the voting criteria for projects, I want a section in the component configuration called "Voting Rules" where the 2 options are (see mockup below):

  • Percentage of the total budget
  • Minimum number of projects per participant

Describe alternatives you've considered
Also implement a maximum and minimum number of projects per category

Additional context

Does this issue could impact on users private data?
No

Acceptance criteria

  • [ ] As an admin I can define a minimum number of budget projects that participants must vote
  • [ ] As a participant I have to select a minimum number of budget projects to vote

Related issues

https://meta.decidim.org/processes/roadmap/f/122/proposals/13275
https://meta.decidim.org/processes/roadmap/f/122/proposals/15051

PAM2020

Most helpful comment

@agustibr this is working fine! I worry a bit that the visibility of the rules for voting is poor, but that is not a new problem and we will see how to improve it with @htmlboy

All 4 comments

Talked offline, we agreed on implementing the screenshot but changing the radio buttons for checkboxes. Settings will be set to the "Global settings" section instead of a custom section.

As a sidenote, I really think introducing a dropdown selection for these types of configs would be really beneficial for the clarity of the admin panel.

If I understand the feature correctly, in case you select "Minimum number of projects to be voted on", you don't really care about the other "rules" - they could be hidden.

So, one dropdown could state "Voting rule" with the following options:

  • (none)
  • "Minimum spending percentage of the total budget"
  • "Minimum number of projects to be voted on"

When you select "Minimum spending percentage of the total budget", you would see the percentage definition field but all other rules' fields would be hidden.

When you select "Minimum number of projects to be voted on", you would see the projects definition field but all other rules' fields would be hidden.

This would hide the unnecessary options when they are not relevant for the user.

There are many other cases where this type of show/hide logic could really help clarifying the admin panel.

@decidim/product please, when you can, check this on staging 馃槃

@agustibr this is working fine! I worry a bit that the visibility of the rules for voting is poor, but that is not a new problem and we will see how to improve it with @htmlboy

Was this page helpful?
0 / 5 - 0 ratings