Add Display Options to Child and Linked Work Items Widgets
What does this MR do and why?
This MR implements metadata display options for Child & Linked widget headers in work items, allowing users to toggle the visibility of metadata fields (labels, assignees, milestones, weight, etc.).
Key Changes:
- Added a settings dropdown in widget headers to control metadata visibility
- User preferences are saved and restored across browser sessions
- Converted
Addbutton to aplusicon with tooltips - Reordered buttons for consistency (Display options before Add item)
- Added proper tooltip positioning
- Works across both
Child items(hierarchy) andLinked items(relationships) widgets
Screen recording
How to set up and validate locally
- Check out this branch.
- Open an issue in the GDK that has tasks (or add tasks to an existing issue).
- Ensure at least one task has
labels,assignees,milestones,weight, and any other relevant fields applied. - On the issue page, in the
Child itemssection, turn off theLabelstoggle in the display options. - Verify that the labels are no longer visible on the
task cards. - Refresh the page, the labels should remain
hidden, and the Labels toggle should stay off. - Turn the Labels toggle back on and refresh the page again.
- Confirm that the
labelsare now visible on page load. - Repeat the same process for the other fields in the
Child itemsandLinked itemswidgets to ensure all display options work as expected.
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 #551231