Skip to content
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

Redesign: remove show page from Process in Admin #11682

Merged
merged 6 commits into from
Oct 2, 2023

Conversation

andreslucena
Copy link
Member

🎩 What? Why?

We have a show page from Processes but we're not happy with the current approach, as there are some missing elements from the Figma mockup.

On @decidim/product we've talked that until this page has at least some other features, currently is not usable. What we missed was the "Last activity" block from the mockup, and also having the links to publish/unpublish/configure/manage Components.

On the other hand, with the introduction of the sidebar the links that it has are redundant, so we need to iterate also in the sidebar menu and the relation with this page (i.e. having a collapsed Components section there?)

Finally, another problem with this particular page is that its only implemented in Processes, and it makes weird the navigation of the other spaces. The first time I got into the admin and started clicking things, I could not know what was happening with Assemblies, and it was that it wasn't consistent with Processes.

This PR removes this page. We will reintroduce it once we're happy with the new approach.

Testing

  1. Go to http://localhost:3000/admin/participatory_processes
  2. Click in a process title
  3. It should work just like other spaces (i.e. Assemblies), going to the edit page of this space

📷 Screenshots

Mockup of the Process show page:

Mockup of the Process show page

Current (removed) page:

Screenshot of the Process show page

♥️ Thank you!

@andreslucena andreslucena added module: admin module: participatory processes contract: redesign Barcelona City Council contract no-backport Pull Requests that should not be backported type: fix PRs that implement a fix for a bug labels Sep 29, 2023
Copy link
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There a few things that i would remove before merging this PR:

  • Remove decidim_participatory_processes_admin.process_components_right_menu initializer from decidim-participatory_processes/lib/decidim/participatory_processes/admin_engine.rb

  • Remve aside_menu method from decidim-admin/app/helpers/decidim/admin/menu_helper.rb

  • Fix conflict 😄

@alecslupu alecslupu added this to the 0.28.0 milestone Sep 29, 2023
@alecslupu alecslupu mentioned this pull request Oct 2, 2023
16 tasks
@alecslupu
Copy link
Contributor

@andreslucena after the change performed, there are a lot of pipelines failing. We need to remove
decidim_participatory_processes_admin.process_components_right_menu instead of
decidim_participatory_processes_admin.process_components_menu

Not the best naming convention there.

Copy link
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alecslupu alecslupu merged commit 2afe7c1 into develop Oct 2, 2023
80 of 81 checks passed
@alecslupu alecslupu deleted the remove/process-show branch October 2, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract: redesign Barcelona City Council contract module: admin module: participatory processes no-backport Pull Requests that should not be backported type: fix PRs that implement a fix for a bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants