Skip to main content

Cookie settings

We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.

Essential

Preferences

Analytics and statistics

Marketing

This proposal has been implemented

  • Reviewed by @product and accepted in the main project
  • It is funded by Government of Navarra 
  • Developed by Populate
  • Available in release 0.27 via  #8583

Add the feature "process type" to allow filtering Processes by type

Avatar: Aram Aram Finished

PROBLEM:
In some cases it is required to be able to filter participatory processes by type and subtype. The "processes" module allows creating groups of processes, but does not have a filter field available (as if it exists instead in the "assemblies" module).

SOLUTION:

Add a field and a filter functionality "type of processes" to allow filtering processes by type, as we can do in "assemblies".

ALTERNATIVES:

It is not convenient to use the available global classification systems ("scopes" and "areas") because they don't allow a differentiated application according to the context (show different filters in /processes or in /assemblies or even in /group_process, for example). And they are systems that are too intertwined with many other modules & components.

ADDITIONAL CONTEXT:

In order to create the new process_type feature, we will...

-Create a Decidim::ParticipatoryProcessType model and an optional association with participatory processes.

-Add CRUD management from admin of process types and include the association in the processes form.

-Add a filter to set process_type in the global processes list or current processes group ( /processes & /processes_groups/X ), like the existing assembly_type selector.

With some extra enhancements:

  • This filter should not appear if there are no processes with a type assigned.
  • The filter should only display the different types of available processes in the context (global processes list or current processes group)


-Make sure to add tests to keep test coverage at required levels.

Could this issue impact on users private data?

NO.

FUNDED BY:
Government of Navarra / Nafarroako Gobernua

Comment

Confirm

Please log in

The password is too short.

Share