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

Add loading variant for Snaps UI Button #2930

Merged
merged 4 commits into from
Dec 9, 2024
Merged

Conversation

david0xd
Copy link
Contributor

@david0xd david0xd commented Dec 6, 2024

This PR adds loading variant for Snap UI button. This button shows loading icon with an infinite animation.

Related ticket: #2694
Related extension PR: MetaMask/metamask-extension#28997

Loading button in action:

Screen.Recording.2024-12-09.at.16.26.44.mov

@david0xd david0xd self-assigned this Dec 6, 2024
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.49%. Comparing base (9d8915b) to head (ec4a744).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2930   +/-   ##
=======================================
  Coverage   94.49%   94.49%           
=======================================
  Files         487      487           
  Lines       10442    10442           
  Branches     1600     1600           
=======================================
  Hits         9867     9867           
  Misses        575      575           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@david0xd david0xd marked this pull request as ready for review December 9, 2024 17:04
@david0xd david0xd requested a review from a team as a code owner December 9, 2024 17:04
@david0xd david0xd force-pushed the dd/add-loading-btn-state branch from 390db87 to ec4a744 Compare December 9, 2024 17:04
@david0xd david0xd merged commit 90b2e39 into main Dec 9, 2024
166 checks passed
@david0xd david0xd deleted the dd/add-loading-btn-state branch December 9, 2024 17:14
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.

4 participants