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

Remove Spinner component button variant #183

Merged
merged 2 commits into from
Jan 27, 2021
Merged

Conversation

aduth
Copy link
Member

@aduth aduth commented Jan 26, 2021

Why: This is out of sync with current guidance, where buttons which trigger a waiting experience have since been refined within the IdP to display with a pulsing dot animation.

See: LG-3730, LG-3787, 18F/identity-idp#4517

Future considerations:

  • Consider backporting spinner button implementation from IdP to design system.

**Why**: This is out of sync with current guidance, where buttons which trigger a waiting experience have since been refined within the IdP to display with a pulsing dot animation.

See: LG-3730, LG-3787, 18F/identity-idp#4517
A 3.0.1 hasn't yet been published
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

<div class="lg-spinner lg-spinner--hidden" id="spinner-id">
<div>
<img
src="{{ site.baseurl }}/assets/img/spinner.gif"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we remove the spinner.gif and @2x files from this repo as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we remove the spinner.gif and @2x files from this repo as well?

The spinner component itself will continue to exist after this, just not the button variant. We're still using the spinner in at least one place in the IdP (IAL2 Acuant modal overlay loading state).

@aduth
Copy link
Member Author

aduth commented Jan 27, 2021

Visual regression is expected for removed content from Spinner page.

@aduth aduth merged commit d5e886e into main Jan 27, 2021
@aduth aduth deleted the aduth-remove-spinner-button branch January 27, 2021 13:43
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.

None yet

2 participants