Geo Replication - Update breadcrumbs to match tabs and view
Why are we doing this work
Breadcrumbs should be intuitive and a way for users at a glance to have confidence in where they are in the application and how to navigate back.
Relevant links
Follow up from conversation here: !178032 (comment 2308400280)
Screenshots
| Current | Suggested | |
|---|---|---|
| List View | ![]() |
![]() |
| Details View (this MR) | ![]() |
![]() |
Implementation plan
-
Remove
page_titlefrom _replication_nav.haml -
Add
page_titleto replicables/index.html.haml
- page_title @replicator_class.replicable_title_plural
- Add
:set_replicator_classto the:showaction in replicables_controller.rb
before_action :set_replicator_class, only: [:index, :show]
- Update
add_to_breadcrumbsandpage_titleingeo/replicables/show.html.haml(added in !178032 (merged))
- add_to_breadcrumbs _('Geo Sites'), admin_geo_nodes_path
- add_to_breadcrumbs @replicator_class.replicable_title_plural, site_replicables_admin_geo_node_path
- page_title @replicator.model_record_id
Edited by Zack Cuddy



