Resolve "Sticky header doesn't show Closed (promoted)"
What does this MR do and why?
Ensure that things like a promoted link, moved link, or duplicate link appear in the sticky header the same way they do in the regular issuable header.
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.
State | Before | After |
---|---|---|
Open (no change) |
![]() |
![]() |
Reopened (no change) |
![]() |
![]() |
Closed (no change) |
![]() |
![]() |
Closed (duplicate) |
![]() |
![]() |
Closed (moved) |
![]() |
![]() |
Closed (promoted) |
![]() |
![]() |
How to set up and validate locally
- Check out this branch
- DUPLICATE
- Create an issue in the GDK
- use a slash command in a comment on the issue to close it as a duplicate of another existing issue
- Refresh the page
- Scroll down so that the sticky header shows
- The status will show
Closed (duplicate)
andduplicate
will be a link to the issue indicated in the slash command
- MOVE
- Create an issue in the GDK
- Copy the issue URL
- Move the issue to a different project
- Go back to the original URL
- Scroll down so that the sticky header shows
- The status will show
Closed (moved)
andmoved
will be a link to the moved issue
- PROMOTE
- Create an issue in the GDK
- Copy the issue URL
- Use the action menu on the issue to promote the issue to an epic
- after being navigated to the new epic, go back to the copied issue URL
- Scroll down so that the sticky header shows
- The status will show
Closed (promoted)
andpromoted
will be a link to the epic
Related to #230406 (closed), #469616 (closed)
Edited by Chad Lavimoniere