Implement loading icon JS helper
What does this MR do and why?
This fixes the loading spinner (or lack thereof) in the user activity calendar.
The loading icon/spinner wasn't visible, as the spinner
CSS class was
removed in !58706 (merged).
This helper should only be used in existing legacy areas of code where Vue is not in use, as part of the migration strategy for &7626.
Screenshots or screen recordings
Before | After |
---|---|
before | after |
How to set up and validate locally
- Visit a user's profile page
- Click on a day in the calendar with activity
- Observe the spinner
🎉
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #353728 (closed)
Edited by Mark Florian