Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

finished not yet on protocol

Avoid re-randomizing the index when clicking on "back to list"

Is your feature request related to a problem? A clear and concise description of what the problem is.

Angers our biggest local government Decidim instance (>10K users) has been doing some user tests. They found out that users get really frustrated when clicking on an index item (especially with budgets as citizens have to check all projects) to see its content and then clicking on "back to list" to come back on the index to see the list has been re-randomized which make it difficult for them to find back the proposal or to know which item they already consulted. Especially when the user has used the pagination.

Describe the solution you'd like

We'd like for the user to be able to go back to same random index (the one prior to consulting an index item) when clicking on "back to list". Maybe storing it in the session cookie would do the trick.

Describe alternatives you've considered

Caching the index but that doesn't for new proposal being posted.

Does this issue could impact on users private data?

No

Funded by

City of Angers

4 comments

  1. @product would love to get your feedback on this

    0 votes up 0 votes down
  2. This seems to be a persistent issue even after multiple attempts to fix it. This bug also exists in cases where the user clicks the back button directly from their browser.

    This applies to all components where random order is implemented, including proposals and budgets.

    Right now for budgets, we increase the amount of items on the budgeting page in order to mitigate this problem but the results still get re-randomized which causes confusion.

    I understand the reason behind the random order but until this issue is fixed properly for all components, it is more of a usability issue and a major user annoyance factor than anything that improves the democratic guarantees for the visibility of each item.

    2 votes up 0 votes down
    1. Here was the related issues from the past:

      Random order is re-calculated when user goes back to proposals list

      https://github.com/decidim/decidim/issues/5019

      https://github.com/decidim/decidim/pull/5376

      0 votes up 0 votes down
  3. There is a PR with an attempt to fix this issue:
    https://github.com/decidim/decidim/pull/7437

    Any feedback is appreciated whether it fixes the issue or not.

    0 votes up 0 votes down

Sign in with your Atmosphere account to comment.