Skip to content

Move work item confidentiality loading spinner to actions dropdown

What does this MR do and why?

Move work item confidentiality loading spinner to actions dropdown

  • Remove update in progress loading spinner from work item metadata and work item sticky header version of metadata
  • Add loading spinner to work item actions confidentiality toggle item
  • Add logic to wait for confidentiality update to resolve before closing dropdown and showing toast, with a max wait time of 5 seconds

References

Screenshots or screen recordings

Header type Before After
Normal Screen_Recording_2025-04-22_at_15.20.57 Screen_Recording_2025-04-22_at_15.19.17
Sticky Screen_Recording_2025-04-22_at_15.21.22 Screen_Recording_2025-04-22_at_15.20.24
N/A, in a drawer Screen_Recording_2025-04-22_at_15.25.34 Screen_Recording_2025-04-22_at_15.26.04

How to set up and validate locally

  1. Check out this branch
  2. Visit a work item in the GDK (not in a drawer)
  3. Ensure you are scrolled all the way to the top of the work item
  4. use the work item actions dropdown to change the work item's confidentiality
    • You will see that the dropdown does not close immediately. The confidentiality icon is replaced by a loading spinner. No other loading spinner appears on the page. When the loading spinner stops and confidentiality is updated, the dropdown will close and a toast will appear to show the success message.
  5. Scroll all the way to the bottom of the work item, so that the sticky header appears. Repeat step 4.
  6. Visit the issues list for the project and open a work item in a drawer, then repeat step 4.

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 #465898 (closed)

Merge request reports

Loading