Make spinner pajamas compliant for new branch

What does this MR do and why?

In this spinner, I updated the spinner to be PJ compliant per the instructions outlined in this Epic > &7628 (closed).

Since I had to remove the gl-spinner class and there were js specific logic attached to it:

  • I also created a new specific class and updated the logic to point to that instead -> js-create-mr-spinner.
  • In addition, I notice the use of our old style class hide, so I updated that to use our new PJ compliant style class instead -> gl-display-none.

Screenshots or screen recordings

Before After (same as before)
before-new-branch after-new-branch

How to set up and validate locally

  1. Navigate to the issues page
  2. Select an issue
  3. You may want to refresh the page to see the spinner in action
  4. You will notice the spinner performs the same as before
On refresh (no spinner) Loading (spinner) Done (no spinner)
Screen_Shot_2022-03-22_at_7.52.19_AM Screen_Shot_2022-03-22_at_7.52.33_AM Screen_Shot_2022-03-22_at_7.52.46_AM

MR acceptance checklist

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

Related to #353743 (closed)

Edited by Samantha Ming

Merge request reports

Loading