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

Reorganise admin navigation and add requirements #2147

Merged
merged 14 commits into from
Feb 4, 2025
Merged

Conversation

pixeltrix
Copy link
Member

@pixeltrix pixeltrix commented Feb 3, 2025

Description of change

  1. Reorganise the BOPS admin to make space for requirements
  2. Add a side navigation menu
  3. Add management of requirements and categories

Story Link

https://trello.com/c/Ohgw2fkH

Screenshots

southwark bops localhost_3000_admin_categories

Todo

  • Normalise the breadcrumbs to match the new navigation
  • Break large pages such as the profile into smaller settings pages

@pixeltrix pixeltrix force-pushed the reorganise-admin branch 5 times, most recently from caa0e1a to 62c1aec Compare February 4, 2025 10:41
This is to ensure that any future addition of this component to
govuk-frontend will not clash with our implementation.
This makes it easier to keep it updated.
This hopefully makes it easier to migrate to an official component in the future.
@pixeltrix pixeltrix changed the title Reorganise admin Reorganise admin navigation and add requirements Feb 4, 2025
@pixeltrix pixeltrix marked this pull request as ready for review February 4, 2025 15:58
@pixeltrix pixeltrix merged commit 7846f4d into main Feb 4, 2025
25 checks passed
@pixeltrix pixeltrix deleted the reorganise-admin branch February 4, 2025 16:35
@@ -35,7 +35,7 @@ def search_query

def search_param(query)
query.to_s
.scan(/[-\w]{1,}/)
.scan(/[-\w]{2,}/)
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't this require at least two characters, not just one?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, it's one character for the - and then one for a letter. Without this change the query is !:* for Floor plans - existing which is invalid and raises an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants