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

Implement pagination for scopes index

Avatar: Pauline Bessoles Pauline Bessoles verified-badge
04/01/2021 13:48  
Acceptada / En curs

Is your feature request related to a problem?

When an organization has a lot of scopes (let's say more than 200), the scopes index page in BE takes time to load. In general, the scopes are not scalable (i.e. in my interests in user account).

As Decidim is being used by more and more institutions (cities, counties, etc.), the scope will need to adapt to new areas, with more and more scopes needed. For exemple, a county might want to have all of its cities displayed as scopes, but with more than 1000 scopes, the scope index page is crashing.

Describe the solution you'd like

To solve this scope scalability problem, it would be useful to add pagination to the /admin/scopes page, so that in case of a lot of scopes, the loading of the page is not impacted.

Additional infos

In our use case, this feature would be used to display an interactive map with geocoding available with this module : https://github.com/OpenSourcePolitics/decidim-module-homepage_interactive_map

Describe alternatives you've considered

Add this feature to the module.

Does this issue could impact on users private data?

No

Funded by

OSP

  • Resultats al filtrar per la categoria: Sistemes de classificació de continguts Sistemes de classificació de continguts

Aquesta proposta s'ha acceptat i està en desenvolupament

Número d'adhesions0
Implement pagination for scopes index Comentaris 5

Referència: MDC-PROP-2021-01-15900
Versió 2 (de 2) 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: 7b01e923d76baf24ca8b5f3dbddfd8a80054cfdec0616b1cd11495750e72ae6d

Origen: {"body":{"en":"<p><strong>Is your feature request related to a problem?</strong></p><p>When an organization has a lot of scopes (let's say more than 200), the scopes index page in BE takes time to load. In general, the scopes are not scalable (i.e. in my interests in user account). </p><p>As Decidim is being used by more and more institutions (cities, counties, etc.), the scope will need to adapt to new areas, with more and more scopes needed. For exemple, a county might want to have all of its cities displayed as scopes, but with more than 1000 scopes, the scope index page is crashing. </p><p><strong>Describe the solution you'd like</strong></p><p>To solve this scope scalability problem, it would be useful to add pagination to the <a href=\"https://try.decidim.org/admin/scopes\" target=\"_blank\">/admin/scopes</a> page, so that in case of a lot of scopes, the loading of the page is not impacted. </p><p><strong>Additional infos</strong></p><p>In our use case, this feature would be used to display an interactive map with geocoding available with this module : <a href=\"https://github.com/OpenSourcePolitics/decidim-module-homepage_interactive_map\" target=\"_blank\">https://github.com/OpenSourcePolitics/decidim-module-homepage_interactive_map</a> </p><p><strong>Describe alternatives you've considered</strong></p><p>Add this feature to the module. </p><p><strong>Does this issue could impact on users private data?</strong></p><p>No</p><p><strong>Funded by</strong></p><p>OSP</p>"},"title":{"en":"Implement pagination for scopes index"}}

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/15900/embed.js?locale=ca"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/15900/embed.html?locale=ca" frameborder="0" scrolling="vertical"></iframe></noscript>

Reportar contingut inapropiat

Aquest contingut no és apropiat?

Motiu

5 comentaris

Ordenar per:
  • Més antic
    • Més ben valorats
    • Recent
    • Més antic
    • Més discutit
Conversa amb Pierre Mesure
Avatar: Pierre Mesure Pierre Mesure verified-badge
11/01/2021 16:12
  • Obtenir enllaç Obtenir enllaç

Regarding the map, an inspiration could be CONSUL which has a clickable map to show the various districts of a city and enable people to choose their area and see its proposals.
https://consul.demokratiskastader.se/proposals/map?locale=en

Avatar: Ivan Vergés Ivan Vergés verified-badge
11/01/2021 16:16
  • Obtenir enllaç Obtenir enllaç

We have a plugin that allows to easly configure sensible areas in a map https://github.com/Platoniq/decidim-module-navigation_maps

Avatar: Pierre Mesure Pierre Mesure verified-badge
11/01/2021 16:47
  • Obtenir enllaç Obtenir enllaç

Yes, it looks really promising, I haven't tried it yet.

Avatar: Pauline Bessoles Pauline Bessoles verified-badge
11/01/2021 16:57
  • Obtenir enllaç Obtenir enllaç

Thanks for your answers!
I didn't know the Consul map, it's nice! And I tested the navigation maps module, it's really cool but I think it's better for other use cases (with drawable tiles).
In our case, the map is related to scopes and assemblies: scopes are the different neighbourhoods (delimited by Geojson tiles) and assemblies are the neighbourhoods spaces. You can see what it looks like at the bottom of this homepage: https://jeparticipe.toulouse.fr/

May be my proposal was not clear enough, it's more about the scalability of the scopes. If we want to have a lot of scopes, the scopes page can become fast unmanageable.

Avatar: Andrés Andrés verified-badge
10/11/2021 11:13
  • Obtenir enllaç Obtenir enllaç

I think there could be potentially a lot of related problems, just to be clear, what we could easily agree is in this one:

to add pagination to the /admin/scopes page

As it doesn't scale for sure and for consistency, we should implement that. The "happy path" here is to use the "child scopes" feature. For instance, in Barcelona we have 73 neighborhoods but only 10 districts, so the first levels of scopes is 10 and then the neighborhoods belong to these scopes.

What I'm afraid, and I think it would be more difficult to reach a consensus as they're multiple difficulties/solutions for having 200 scopes is the other pages, just in the top of my mind:

interests in user profile
proposals/meetings filtering
select scope modal in proposal creation
(almost every place where we show the list of scopes)

So, on every one of these places we should discuss the solutions as I think are not so easy to solve.

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?