Skip to content

[Emotion][perf] Remaining unmemoized button styles #7634

Merged
cee-chen merged 2 commits intoelastic:mainfrom
cee-chen:emotion/memoization-buttons-remaining
Apr 1, 2024
Merged

[Emotion][perf] Remaining unmemoized button styles #7634
cee-chen merged 2 commits intoelastic:mainfrom
cee-chen:emotion/memoization-buttons-remaining

Conversation

@cee-chen
Copy link
Copy Markdown
Contributor

@cee-chen cee-chen commented Mar 29, 2024

Summary

I missed these in #7541!

QA

  • EuiButton loading spinner + icons look the same as before
  • EuiButtonGroup compressed focus colors work as before

General checklist

  • Browser QA
    • Checked in both light and dark modes
    • Checked in Chrome, Safari, Edge, and Firefox
      - [ ] Checked in mobile
      - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • Docs site QA - N/A
  • Code quality checklist - N/A
  • Release checklist - N/A, skipping changelog due to this being perf tech debt that shouldn't impact consumers
  • Designer checklist - N/A

- requires creating a new map for compressed focus colors

- move uncompressed focus color to base styles, makes more sense there anyway
@cee-chen cee-chen added skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) tech debt emotion performance labels Mar 29, 2024
@kibanamachine
Copy link
Copy Markdown

Preview staging links for this PR:

@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

@cee-chen cee-chen marked this pull request as ready for review March 29, 2024 17:29
@cee-chen cee-chen requested a review from a team as a code owner March 29, 2024 17:29
Copy link
Copy Markdown
Member

@JasonStoltz JasonStoltz left a comment

Choose a reason for hiding this comment

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

These changes look good to me. I think the refactor for uncompressed button styles makes sense, and all of the tests are passing.

@cee-chen cee-chen merged commit 49d13e4 into elastic:main Apr 1, 2024
@cee-chen cee-chen deleted the emotion/memoization-buttons-remaining branch April 1, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emotion performance skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants