Auto-expand work item description on link navigation

What does this MR do and why?

Expands work item description when user navigates to a local hash present within the description.

References

Screenshots or screen recordings

Screen_Recording_2025-04-22_at_8.09.58_PM

How to set up and validate locally

  1. Go to any issue or an epic (both should have Work Items UI).
  2. Add a long description with some headers in between such that description truncates automatically.
  3. Add a link pointing to one of the sections (particularly the one that is behind truncation) from description in a comment as well as in description body at the top.
  4. Load work item without any hash present in URL.
    • Clicking the link from comment or from description should expand the description fully and then scroll to that section.

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.

Related to #526063 (closed)

Edited by Kushal Pandya

Merge request reports

Loading