Skip to content

Adds pulse loader component#9259

Merged
danjm merged 2 commits intodevelopfrom
pulse-loader
Aug 18, 2020
Merged

Adds pulse loader component#9259
danjm merged 2 commits intodevelopfrom
pulse-loader

Conversation

@danjm
Copy link
Copy Markdown
Contributor

@danjm danjm commented Aug 18, 2020

This PR adds a new type of loading spinner and a storybook story.

Demo gif:
pulseloader

@danjm danjm requested a review from a team as a code owner August 18, 2020 12:54
@danjm danjm requested review from Gudahtt, brad-decker and jakehaugen and removed request for Gudahtt August 18, 2020 12:54
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [81ef344]
Page Load Metrics (576 ± 43 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint288238115
domContentLoaded3486525738842
load3496535768943
domInteractive3476525738842

Copy link
Copy Markdown
Contributor

@brad-decker brad-decker left a comment

Choose a reason for hiding this comment

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

This looks great, probably will see additional usage in the future. Could we bite the bullet and move this to the components/ui folder instead of inside the page?

@danjm
Copy link
Copy Markdown
Contributor Author

danjm commented Aug 18, 2020

@brad-decker good suggestion on moving the directory. Done in fc995463e

brad-decker
brad-decker previously approved these changes Aug 18, 2020
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [0430da0]
Page Load Metrics (617 ± 74 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint319944157
domContentLoaded32998761615474
load33098961715474
domInteractive32898761515474

Copy link
Copy Markdown
Contributor

@brad-decker brad-decker left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@danjm danjm merged commit 09e7f24 into develop Aug 18, 2020
@danjm danjm deleted the pulse-loader branch August 18, 2020 19:23
Gudahtt added a commit that referenced this pull request Aug 19, 2020
* origin/develop: (137 commits)
  Use @metamask/eslint-config@3.1.0 (#9275)
  Standardize scss import practices (#9183)
  Update ESLint shared config to v3 (#9274)
  Add lock icon to default networks (#9269)
  Adds toPrecisionWithoutTrailingZeros utility (#9270)
  Hide gas estimate on non-main network (#9189)
  Move the mascot component to its own directory (#9272)
  Use @metamask/controllers@2.0.5 (#9266)
  Fix padding, alignment of actionable-message; add left aligned story
  Code cleanup and simplification for actionable-message component
  Adds actionable message component and stories
  Fix lint issues (#9265)
  Fix prefer-destructuring issues (#9263)
  colocate confirm-decrypt-message page styles (#9252)
  Tidy up Migrator tests (#9264)
  Adds pulse loader component (#9259)
  Fix import/order issues (#9239)
  Fix radix issues (#9247)
  New info tooltip component (#9180)
  Improve scss naming
  ...
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