Skip to content

Merge Geo Replication Views

Zack Cuddy requested to merge 213219_05-merge-geo-replicables into master

What does this MR do?

Closes #213219 (closed)

Currently, everytime we add a new replicable type, we have to add yet another option to the Geo Admin Sidebar. This is quickly becoming a problem as Geo Self-Service is getting closer and closer to being a reality.

This MR updates the navigational design of the Geo Subpages into one centralized view under Geo Replication. This will allows us to continue to grow the supported replicables in Geo without an immediate threat to our UI.

This also provides a centralized place for our users to find replication information on their secondary nodes.

Important Notes

  • Based on our direction, the Projects and Uploads approach via HAML with controller based data is legacy. I will open up 2 issues (#216317 (closed), #216319 (closed)) to track the large effort moving them to Self-Service, Exposing a GraphQL Endpoint, and moving all their code into Vue. This will then allow us to remove the _replication_nav.html.haml and _filter_nav.html.haml file in this MR.

  • The routing for subpages has changed from admin/geo/* => admin/geo/replication/*. I added redirects to not send a user to a 404 if they come in from a bookmark/history.

Screenshots

Geo Replication
before JOld
after Screen_Shot_2020-05-07_at_10.40.43_AM

Gif

Functionality: Kapture_2020-05-07_at_10.41.46

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Zack Cuddy

Merge request reports