Skip to content

Geo Primary Verification: Routing

Why are we doing this work

This work will be behind feature flag geo_primary_verification_view

We are building a view for customers to manage their instance's data and verify primary data integrity for Geo Improve primary verification experience (&16554)

Where will this page exist?

We first need to determine where this view will exist. Early proposals are considering Admin > Monitor > Data management. We should consider if this is the best place or if there is a potential better place for this view to exist. While there is Geo functionality to be added here ideally this exists outside Geo as even without Geo configured there are use cases for this view.

The expected routes should be something like:

  • Default: admin/data_management REDIRECT admin/data_management/${model[0]}
  • List: admin/data_management/:model_name
  • Details: admin/data_management/:model_name/:id

Relevant links

Implementation plan

Detailed implementation plan still needed

  • Will need need a rails route added
    • index and show routes
  • Will need a rails controller added
    • index and show actions
    • Should 404 if geo_primary_verification_view is false
  • Will need HAML files to render at these routes
    • Simple index.html.haml and show.html.haml views with a page_title will suffice for MVC
  • Will need to add this route to the admin super sidebar
Edited by 🤖 GitLab Bot 🤖