Skip to content

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)
image image
Reopened
(no change)
image image
Closed
(no change)
image image
Closed (duplicate) image image
Closed (moved) image image
Closed (promoted) image image

How to set up and validate locally

  1. Check out this branch
  2. DUPLICATE
    1. Create an issue in the GDK
    2. use a slash command in a comment on the issue to close it as a duplicate of another existing issue
    3. Refresh the page
    4. Scroll down so that the sticky header shows
    5. The status will show Closed (duplicate) and duplicate will be a link to the issue indicated in the slash command
  3. MOVE
    1. Create an issue in the GDK
    2. Copy the issue URL
    3. Move the issue to a different project
    4. Go back to the original URL
    5. Scroll down so that the sticky header shows
    6. The status will show Closed (moved) and moved will be a link to the moved issue
  4. PROMOTE
    1. Create an issue in the GDK
    2. Copy the issue URL
    3. Use the action menu on the issue to promote the issue to an epic
    4. after being navigated to the new epic, go back to the copied issue URL
    5. Scroll down so that the sticky header shows
    6. The status will show Closed (promoted) and promoted will be a link to the epic

Related to #230406 (closed), #469616 (closed)

Edited by Chad Lavimoniere

Merge request reports

Loading