Skip to content

Geo Projects - Fix legacy filter nav

Zack Cuddy requested to merge 388411-fix-geo-projects-legacy-nav into master

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
bug Screenshot_2023-01-20_at_12.35.15_PM

How to set up and validate locally

  1. Fetch and checkout this branch
  2. Setup Geo (How to setup Geo)
  3. Access your Primary GDK UI
  4. Navigate to Geo Dashboard (/admin/geo/sites)
  5. Scroll down to your Secondary Site and click Projects link in the Replication Details section
  6. This should navigate you to the list view of the Geo Projects
  7. Ensure the nav looks correct
  8. 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.

Related to #388411 (closed)

Merge request reports