Skip to content

Use spinner component for `gl_loading_icon` helper

What does this MR do and why?

This replaces the old custom code of our gl_loading_icon Rails helper with our new Pajamas::SpinnerComponent. Also it fixes a small bug I found in the component itself, where the inline option was implemented wrongly.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports