Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUT-3407: Add spinner dependency #1917

Merged
merged 6 commits into from
Aug 19, 2024

Conversation

gtvj
Copy link
Collaborator

@gtvj gtvj commented Aug 5, 2024

What

Adds JavaScript and Sass to enable the new spinner. This includes:

  • Adding the NPM package as a dependency
  • Updating the copy-assets task to bring spinner-app.js across the the scripts directory
  • Updating the Nunjucks template to include the script
  • Adding the Sass for the spinner to application.sass for inclusion in bundled CSS.

Once merged the spinner page will be enabled in environments where the feature flag is enabled, allowing for testing in staging.

How to review

Code Review commit-by-commit. Two commits are prefixed with "BAU" because they relate to a formatting change.

Related PRs

This is necessary so that the script can be available to
HTML pages requesting it.
@gtvj gtvj requested review from a team as code owners August 5, 2024 17:02
@gtvj gtvj force-pushed the AUT-3407/add-spinner-dependency-and-enable-for-testing branch 5 times, most recently from d83fa6f to 6795199 Compare August 6, 2024 11:34
Necessary to address issued identified by SonarCloud (that
have come to light when amending the file).
@gtvj gtvj force-pushed the AUT-3407/add-spinner-dependency-and-enable-for-testing branch from 6795199 to 6e3fa12 Compare August 6, 2024 11:47
Reformatting was necessary because changes to application.scss
caused the GitHub pre-commit step to fail
@gtvj gtvj force-pushed the AUT-3407/add-spinner-dependency-and-enable-for-testing branch from 77a353d to 975d372 Compare August 6, 2024 12:02
This is so that the styles for the spinner will be included
in the distributed CSS.
@gtvj gtvj force-pushed the AUT-3407/add-spinner-dependency-and-enable-for-testing branch from 975d372 to e3d125b Compare August 6, 2024 12:11
Copy link

sonarcloud bot commented Aug 6, 2024

@gtvj gtvj changed the title AUT-3407: Add spinner dependency and enable for testing AUT-3407: Add spinner dependency Aug 6, 2024
@gtvj gtvj merged commit 95e06ce into main Aug 19, 2024
7 checks passed
@gtvj gtvj deleted the AUT-3407/add-spinner-dependency-and-enable-for-testing branch August 19, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants