-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consultations: unify navigation #3524
Conversation
@decidim/product thoughts on this? |
565254a
to
a3bf85a
Compare
Use the filtered index instead
a3bf85a
to
a168e58
Compare
a168e58
to
d9e0ce7
Compare
I'm not so sure about this one. I'd prefer to have this kind of logic, but also for other kind of contents (for instance, when there's only a participatory process or only an assembly). This kind of use case (Decidim with Only 1 Participatory Process) is pretty common, and to display /processes when there is only one it's unnecessary for me. But I'd love to hear thoughts from the rest of @decidim/product |
@andreslucena I'm not really for this kind of navigations, to me a link should always take you to the same place consistently, and if I click a link called "Consultations" (in plural), I expect it to take me to the index page, but I see your point. The problem with the previous navigation for consultations (the one in master) is that, in the case when there's only one active consultation, but many finished and upcoming, there was no way to see the upcoming ones. The topbar link takes you to the active page, and from there you could visit a page where the finished and active ones were listed. But there was no way to see the upcoming ones. This was a problem to my while trying to debug #3457 |
For consistency reasons, I think we should merge this in. If we are to rethink the way navigation works when dealing with collections, we should discuss it with @decidim/web-design and unify it. |
Build is green, conflicts were only on the CHANGELOG file and this PR was approved. I'm merging this for consistency reasons. We can open a new issue discussing any change on navigation patterns for the platform if anyone thinks it's needed. |
🎩 What? Why?
This PR overhauls the navigation for
decidim-consultations
, as I find it very hard to understand, by doing this:📌 Related Issues
📋 Subtasks
CHANGELOG
entry📷 Screenshots (optional)
Index page:
Show page: