Only link to top in work item sticky header when not in a drawer

What does this MR do and why?

The link to #top in a work item sticky header will break drawer functionality and also won't actually scroll the user back to the top of the work item drawer. This MR removes that link while preserving styling and preserving the link to top behavior when the work item is not opened in a drawer.

References

Screenshots or screen recordings

Before After
Screen_Recording_2025-08-12_at_12.13.11 Screen_Recording_2025-08-12_at_12.12.29

How to set up and validate locally

  1. Check out this branch
  2. Visit a work item list page or board -- any page where a work item can be opened in a drawer.
  3. Open a work item in a drawer.
  4. Scroll down so that the sticky header appears on the work item drawer
  5. hover over the work item title in the sticky header
  6. You will see that it is not a link
  7. Click the expand button to open the work item in a full page view
  8. scroll down so that the sticky header appears
  9. hover over the title in the sticky header
  10. you will see that it is a link, and clicking on it will scroll back to the top of the work item page (this is current prod behavior)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading