Skip to content

Make the breadcrumb consistent in the components import pages#12024

Merged
alecslupu merged 3 commits intodevelopfrom
fix/import-breadcrumb
Nov 21, 2023
Merged

Make the breadcrumb consistent in the components import pages#12024
alecslupu merged 3 commits intodevelopfrom
fix/import-breadcrumb

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

There's a bug when going to the Import pages of the controllers, where the breadcrumb isn't respecting the expectation, as it isn't showing the "Components" and the resource name.

This PR fixes it by making it consistent to other actions inside this component. In the process of fixing this I also found two other bugs:

  1. The dropdown options and the titles in the different pages weren't consistent (i.e. two different imports in proposals said "Import proposals" but one was "Import proposals from a file" and the other was "Import proposals from another component". Now it's the same in the different import components pages.
  2. In the proposals dropdown we were centering the elements but that isn't consistent.

📌 Related Issues

Testing

  1. Sign in as admin
  2. Go to the component pages affected (Accountabiility, Projects/Budgets and Proposals) and click in the import dropdown
  3. Click in each of the dropdown options and...
  4. Check that all the links are left aligned
  5. When clicking, check that the link corresponds with the title
  6. When clicking, check that the breadcrumb is consistent with other actions inside of components (i.e. the Creation of a resource, Status in accountability, Send reminders in Budgets, etc)

📷 Screenshots

Before

Screenshot of "Import proposals from a file" page

After

Screenshot of "Import proposals from a file" page

♥️ Thank you!

@andreslucena andreslucena added type: fix PRs that implement a fix for a bug module: proposals module: budgets module: accountability no-backport Pull Requests that should not be backported labels Nov 17, 2023
github-actions[bot]
github-actions bot previously approved these changes Nov 17, 2023
@andreslucena andreslucena marked this pull request as ready for review November 21, 2023 17:03
Copy link
Copy Markdown
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.

👍

Great as usual!

@alecslupu alecslupu merged commit 8495971 into develop Nov 21, 2023
@alecslupu alecslupu deleted the fix/import-breadcrumb branch November 21, 2023 17:35
entantoencuanto added a commit that referenced this pull request Nov 27, 2023
* develop: (51 commits)
  Fix a11y violations and title layout on announcements (#12067)
  Fix randomness on nickname and emails for seeded users (#12058)
  Fix render partial deprecation warning on proposals (#12035)
  Redesign: proposal counter total number avaliable (#12014)
  Fix disabling access to space private users when the space is public (#12031)
  Redesign: admin screen overflow on smaller screens (#11956)
  Make the breadcrumb consistent in the components import pages (#12024)
  Fix develop branch (#12051)
  Create the IconRegistry (#11982)
  Fix process groups component content blocks (#11872)
  Remove the asemblies settings page (#11873)
  Fix n+1 query on assemblies permissions (#12040)
  Remove unused scope filter from search controller and command (#12038)
  Fix issues in "Verify your identity" (#12030)
  Fix flash of dropdowns in buttons from the title bar and "Manage" button (#12011)
  Add CI workflow configuration for decidim-design (#12022)
  Extract methods from participatory processes seeds (#12032)
  Show message when there are no debates (#12037)
  Show error message when there are no budgets nor projects in budgets (#12034)
  Fix faker requirement in production environment 2 (#12033)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: accountability module: budgets module: proposals no-backport Pull Requests that should not be backported type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Redesign: Import proposals from file displays wrong breadcrumb order

2 participants