Fix breadcrumbs for epic work items
What does this MR do and why?
Fix breadcrumbs for epic work items
Since the last argument for page_title
is used for the
breadcrumb_title by default, we need to override the
breadcrumb_title
to make sure it's using the work item reference.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Feature.enable(:namespace_level_work_items)
Feature.enable(:sync_work_item_to_epic)
- Go to the group's epics page
- Create an epic
- Go to the epic's detail page.
- It will link you to the legacy epic detail page
/epics/
. Change the path to/work_items/
. - Make sure the breadcrumb is correct and shows the IID instead of "Epics"
Edited by Nicolas Dular