Refactor todo buttons loading spinner logic
What does this MR do and why?
In order to remove btn-loading
from buttons.scss
this MR moves the logic for the loading spinner within "mark as complete" and similar buttons in todos to the js file that also handles the disabled attribute of the buttons.
No change in UX
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen Recording 2024-08-26 at 12.46.57.mov | Screen Recording 2024-08-26 at 12.46.19.mov |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #480532 (closed)