Aquest lloc web fa servir cookies pròpies i de tercers per millorar l’experiència de navegació, i oferir continguts i serveis d’interès. En continuar la navegació entenem que acceptes la nostra política de cookies. Per a més informació consulta aquí.
Vés al contingut principal
Logo oficial de Metadecidim
  • Català Triar la llengua Elegir el idioma Choose language
    • Castellano
    • English
Registra't Entra
  • Inici
  • Processos
  • Assemblees
  • Iniciatives
  • Consultes
  • Jornades
  • Ajuda

Proposa noves funcionalitats

#DecidimRoadmap Dissenyant el Decidim entre totes

Fase 1 de 1
Obert 01-01-2019 - 31-12-2030
Veure les fases Envia una proposta
  • El procés
  • Debats
  • Proposa noves funcionalitats
  • Novetats
chevron-left Torna al llistat

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

Avatar: Aram Aram
05/11/2021 14:41  
Acceptada / En curs

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

  • Resultats al filtrar per la categoria: Processos Processos

Aquesta proposta s'ha acceptat i està en desenvolupament

Número d'adhesions0
Add the feature "process type" to allow filtering Processes by type Comentaris 9

Referència: MDC-PROP-2021-11-16850
Versió 3 (de 3) veure altres versions
Verifica l'empremta digital

Empremta digital

El text següent és una representació abreviada i hashejada d'aquest contingut. És útil per garantir que el contingut no hagi estat alterat, ja que una única modificació provocaria un valor totalment diferent.

Valor: 7f75bd00da7b54cb1613d3e83595a23f4715fef82ef9b1f7caf0dd2a14b1de8e

Origen: {"body":{"ca":"<p><strong>PROBLEM:</strong><br>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).<br></p><p><strong>SOLUTION:</strong></p><p>Add a field and a filter functionality \"type of processes\" to allow filtering processes by type, as we can do in \"assemblies\".</p><p><strong>ALTERNATIVES:</strong></p><p>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 &amp; components.</p><p><strong>ADDITIONAL CONTEXT:</strong></p><p>In order to create the new process_type feature, we will...</p><p>-Create a Decidim::ParticipatoryProcessType model and an optional association with participatory processes.</p><p>-Add CRUD management from admin of process types and include the association in the processes form.</p><p>-Add a filter to set process_type in the global processes list or current processes group ( /processes &amp; /processes_groups/X ), like the existing assembly_type selector.</p><p>With some extra enhancements:</p><ul><li>This filter should not appear if there are no processes with a type assigned.</li><li>The filter should only display the different types of available processes in the context (global processes list or current processes group)</li></ul><p><br></p><p>-Make sure to add tests to keep test coverage at required levels.</p><p><strong>Could this issue impact on users private data?</strong></p><p>NO.</p><p><strong>FUNDED BY:</strong><br>Government of Navarra / Nafarroako Gobernua<br></p>"},"title":{"ca":"Add the feature \"process type\" to allow filtering Processes by type"}}

Aquesta empremta digital es calcula mitjançant un algoritme de hash SHA256. Per reproduir-lo tu mateix, pots utilitzar una Calculadora MD5 en línia i copiar-hi les dades d'origen.

Compartir:

link-intact Compartir l'enllaç

Compartir l'enllaç:

Si us plau, enganxa aquest codi a la teva pàgina:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16850/embed.js?locale=ca"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16850/embed.html?locale=ca" frameborder="0" scrolling="vertical"></iframe></noscript>

Imatges relacionades

Captura de Pantalla 2021-11-05 a les 14.31.37.jpg

Reportar contingut inapropiat

Aquest contingut no és apropiat?

Motiu

9 comentaris

Ordenar per:
  • Més antic
    • Més ben valorats
    • Recent
    • Més antic
    • Més discutit
Conversa amb Ivan Vergés
Avatar: Ivan Vergés Ivan Vergés verified-badge
05/11/2021 16:02
  • Obtenir enllaç Obtenir enllaç

So, basically, this is just to replicate the Assemblies Types behavior for processes right? I wonder what @carol has to say about this.

Avatar: Carol Romero Carol Romero verified-badge
08/11/2021 16:54
  • Obtenir enllaç Obtenir enllaç

Hi there, @aramgob could you explain the use case a little more? What would be those types of processes?

Avatar: Aram Aram
09/11/2021 00:46
  • Obtenir enllaç Obtenir enllaç

In this case, the aim is to distinguish between participatory processes and participation in regulations and to be able to filter the processes of each “group” by type, showing only the categories that correspond to each “group” to avoid confusing the user.

The categories of "type of process" in this case will be related to the "type of policies": Laws, Plans, Projects, preliminary consultations, Public policy. But in other use cases it could be used to have the possibility of filtering with specific categories to the processes, regardless of the areas and scopes. And not showing up when not in use.

This new filter "process type" (will show only the categories that have associated processes) can be applied in addition to the global filters (scopes and area).
Global filters (scope and area) affect all participatory spaces (processes, process groups, assemblies, etc.) and in this case they are used as follows:
- Scopes: will be used to filter based on organizational structure with nested categories.
- Areas: will be used to filter by subject areas.

If you want, I can try to explain some other solutions that have been applied in other cases for similar requirements and their “problems”.

Avatar: álvaro ortiz álvaro ortiz verified-badge
09/11/2021 11:51
  • Obtenir enllaç Obtenir enllaç

@carol Navarra have two types of processes, and for each group they have different categories. And they want to allow users to browse them independently (so categories from type 1 doesn't get mixed with those from type 2). After reviewing many options, we have come to the conclusion that this would solve the problem, with a relative simple solution, maintaining the same standard as in Assemblies, and being flexible for other cases.

For example, this could be used to simplify by much the setup that GenCat has setup to have the /regulations section, which is just a list of processes but with a new "Type" filter.

If our proposal existed, they could just create two groups of processes: one for regular processes, and other for regulation processes. When the processes filter would be shown, in "Type" only categories that are used for processes in that process group would be shown. Also, by using the process group you would get a lot more functionality.

Important to note: this is no more than a more or less elegant hack, without introducing any breaking change and without compromising too much for the future; the more solid solution would be to rethink the classification system to make it more flexible, but that would be a much more complicated projects.

Avatar: Aram Aram
18/11/2021 13:47
  • Obtenir enllaç Obtenir enllaç

Hi @carol any updates about this from product team? What are your thoughts around this issue? Thanks!

Avatar: Carol Romero Carol Romero verified-badge
19/11/2021 10:58
  • Obtenir enllaç Obtenir enllaç

We reviewed it at Product. Ok to the proposal, just keep in mind that the way it is displayed will probably change with the redesign process.

Avatar: álvaro ortiz álvaro ortiz verified-badge
19/11/2021 10:59
  • Obtenir enllaç Obtenir enllaç

keep in mind that the way it is displayed will probably change with the redesign process

For sure ;)

Great, thanks.

Avatar: Aram Aram
29/11/2021 13:10
  • Obtenir enllaç Obtenir enllaç

Hi @carol we have realized that could be necessary in order to have consistent user/ participant experience, maintain the same behaviour in "assamblies type filter" as "process type filter":
- Behaviour to reproduce: The options for this filter should not appear if there are no processes/assamblies with a type assigned.

Exampe: There are 3 type of process/assamblies defined, but only 2 of these types have process/assemblies assigned, then the filter will only show 2 type of process/assamblies (hidding this one that has not any process/assembly assigned).

If product give us "ok" we will prepare PR for both solutions when are ready.

Avatar: Carol Romero Carol Romero verified-badge
29/11/2021 16:34
  • Obtenir enllaç Obtenir enllaç

Thanks @aramgob, it's fine from @product.

Deixa el teu comentari

Inicia la sessió amb el teu compte o registra't per afegir el teu comentari.

Carregant els comentaris ...

  • Termes i condicions d'ús
  • Sobre la comunitat
  • Descarrega els fitxers de dades obertes
  • Metadecidim a Twitter Twitter
  • Metadecidim a Instagram Instagram
  • Metadecidim a YouTube YouTube
  • Metadecidim a GitHub GitHub
Amb llicència Creative Commons Web creada amb programari lliure.
Logo Decidim

Confirmar

D'acord Cancel·lar

Si us plau, inicia sessió

decidim Inicia sessió amb Decidim
O

Registra't

Has oblidat la teva contrasenya?