Add display options to Child and Linked items widgets
## Summary There is currently no way to limit what meta-data shows on the **Child items** and **Linked items** widgets based on various user needs and scenarios. This can make it difficult for users to parse/scan for the information they care most about. ## Proposal Similar to what we have done for the List pages (https://gitlab.com/gitlab-org/gitlab/-/work_items/393559), we should add in display options that a user can configure for the Child items & Linked items widgets. For now, this should follow the same rules we have for the `Show labels` and `Show closed items` toggles on those widgets, where the configuration is the same across all instances of the widgets and stored in localstorage (this is different than how we are handling it on the List, where it is being stored in the DB per namespace/view). We may consider modifying how this is stored/persisted in the future. Additionally, we would also like to update the design/appearance of the headers between Child items & Linked items to be the same, while also updating the current "More actions" menu to be aligned to the "Display options" menu we have on Lists. ### Acceptance criteria ##### Display Options - The following display options should be available for both the Child items and Linked items widgets: * [x] Status * [x] Assignee * [x] Labels * [x] Weight * [x] Milestone * [x] Iteration * [x] Dates * [x] Health * [x] Blocked/Blocking - These options/configurations should persist across all instances of the Child items and Linked items widgets (like the current options do today for Labels and Closed items) ##### Updated design - Update the current "More options" menu to read "Display options" as the tooltip. - Update the current "More options" menu to use the [`preferences`](https://design.gitlab.com/svgs/?q=%7Epreferences) icon - Update the current "Add" button to be an icon button, using the [`plus`](https://design.gitlab.com/svgs/?q=%7Eplus) icon - Add a tooltip to the "Add" button that reads "Add item" - Modify the ordering of the buttons in the header so that the "Add item" button is **after** the "Display options" button. ## Resources #### :construction_site: Engineering **Previous MRs that included changes to Child/Linked items configurations:** - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157084+ - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/163814+ **Previous MR that added display options to the Lists:** - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/196127+ #### :art: Design - [Figma designs](https://www.figma.com/design/vWC7AWGxGOIwlOC0BKy8vx/%F0%9F%93%98-Plan-UI-Kit?m=auto&node-id=1025-6940&t=SOIC24KJU49dkODO-1)
issue