Geo Projects - Fix legacy filter nav
What does this MR do and why?
Closes #388411 (closed)
Root cause: !105255 (merged)
Important: This is a Legacy Feature of Geo and will be removed in an upcoming milestone: &4623 (closed)
In this legacy component of Geo we are "borrowing" the shared Projects search form HAML component. This was for sake of simplicity since at the time the searches behaved the same. With recent changes it appears we are extending the searching and filtering support in that file. Rather than add some technical debt and conditional code to that shared component it makes more sense to simply extract out the search field to work as it did prior to the above change. As noted this file will go away pretty soon in Geo.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Fetch and checkout this branch
- Setup Geo (How to setup Geo)
- Access your Primary GDK UI
- Navigate to Geo Dashboard (
/admin/geo/sites
) - Scroll down to your Secondary Site and click
Projects
link in the Replication Details section - This should navigate you to the list view of the Geo Projects
- Ensure the nav looks correct
- Ensure searching in the search field adds a query param to the URL
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #388411 (closed)