Skip to content

Fix breadcrumbs for epic work items

Nicolas Dular requested to merge nd/fix-work-item-breadcrumb-iid into master

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
Screenshot_2024-06-27_at_10.26.09

How to set up and validate locally

Feature.enable(:namespace_level_work_items)
Feature.enable(:sync_work_item_to_epic)
  1. Go to the group's epics page
  2. Create an epic
  3. Go to the epic's detail page.
  4. It will link you to the legacy epic detail page /epics/. Change the path to /work_items/.
  5. Make sure the breadcrumb is correct and shows the IID instead of "Epics"
Edited by Nicolas Dular

Merge request reports