A new configuration parameter is added to the Proposals component, allowing administrators to define in which statuses a proposal can receive support. This way, only proposals in one of the enabled statuses can be voted on by participants. Proposals in any other status will have the support feature disabled.
In Decidim, the Proposals component already features a status system to classify proposals at different stages of the participatory process. This functionality extends that system by adding the ability to condition voting based on the specific status of each proposal—a control that is currently only possible at the participatory process phase level.
The development will be carried out as a contribution to the unofficial module Decidim Awesome, as it is the most widely used module by the Decidim community and a feature of general interest for any organization managing participatory processes with proposal statuses.
Acceptance Criteria
As an Administrator:
As a Participant:
Admin
- The administrator accesses the Proposals component administration panel.
- Navigates to the component settings.
- Enables the "Supports enabled by status" parameter.
- Selects one or more statuses for which supports will be active (e.g., "Accepted", "Evaluating").
- Saves the configuration.
Participant Flow (User Flow)
- The participant accesses the list of proposals in the participatory process.
- The participant views the available proposals along with their corresponding status.
- Proposals in an enabled status display the "Vote" button and an active support counter.
- Proposals in a non-enabled status display the message "Not accepted for voting" and a disabled vote button.
- The participant votes for the desired proposal.
Technical Implementation Details
In the Proposals component configuration:
Add a multi-select option (TomSelect) to choose which statuses are allowed for voting.
This selection will only be displayed if the "Supports enabled" option is activated.
In the public frontend:
Prevent voting on proposals that are not in the selected statuses (if any are defined).
Instead of the vote button, display a brief message on proposals that do not have a permitted status.
UI/UX Constraints:
The view for displaying supports/votes does not include status-based filtering parameters.
The display of the support count will continue to follow Decidim's current standard behavior.
A new configuration parameter is added to the Proposals component, allowing administrators to define in which statuses a proposal can receive support. This way, only proposals in one of the enabled statuses can be voted on by participants. Proposals in any other status will have the support feature disabled.
In Decidim, the Proposals component already features a status system to classify proposals at different stages of the participatory process. This functionality extends that system by adding the ability to condition voting based on the specific status of each proposal—a control that is currently only possible at the participatory process phase level.
The development will be carried out as a contribution to the unofficial module Decidim Awesome, as it is the most widely used module by the Decidim community and a feature of general interest for any organization managing participatory processes with proposal statuses.
Acceptance Criteria
As an Administrator:
As a Participant:
Admin
Participant Flow (User Flow)
Technical Implementation Details
In the Proposals component configuration:
Add a multi-select option (TomSelect) to choose which statuses are allowed for voting.
This selection will only be displayed if the "Supports enabled" option is activated.
In the public frontend:
Prevent voting on proposals that are not in the selected statuses (if any are defined).
Instead of the vote button, display a brief message on proposals that do not have a permitted status.
UI/UX Constraints:
The view for displaying supports/votes does not include status-based filtering parameters.
The display of the support count will continue to follow Decidim's current standard behavior.