Hide child items and linked items widgets when empty and can't edit
What does this MR do and why?
Update both the Child items widget and the Linked items widget so that if the user does not have permission to update their contents and they are empty, they are not shown.
References
- internal slack thread at https://gitlab.slack.com/archives/C045MC3G8NL/p1745597331298489
- ✂️ UX Paper Cuts 18.0 → Package (#512695 - closed)
Screenshots or screen recordings
How to set up and validate locally
- Check out this branch
- Create a brand new work item in the GDK
- You will see that the empty Child items and Linked items widgets appear as normal, and you can edit them
- Copy the URL and open it in a new incognito tab
- You will see that as a user who does not have permission to edit the child items or linked items, the empty widgets do not appear in the UI
- Now visit a work item that does have child items or linked items in an incognito tab
- You will see that if there are child items, then the child items widget appears for users who do not have permission to edit
- You will see that if there are linked items, then the linked items widget appears for users who do not have permission to edit
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.




