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

[regression] Fix Storybooks after #161914 #162757

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

clintandrewhall
Copy link
Contributor

Summary

As titled. This PR corrects a pair of mistakes I made before committing #161914 that @dgieselaar identified shortly thereafter.

  • I had tested Storybook extensively, but after I rebased, I changed the render context, and I forgot to update the decorator in Storybook. This meant Emotion styles worked, but the EUI styles were missing.
  • In addition, when I rebased, I missed the addition of the utils cache that had been added by EUI.
  • While creating the PR, I went ahead and addressed feedback from @cee-chen on the original PR./

Sorry if anyone was confused by the sudden drop in styles in their Storybooks. Should be resolved now. Thanks!

@clintandrewhall clintandrewhall added review loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) ci:build-storybooks v8.10.0 labels Jul 30, 2023
@clintandrewhall clintandrewhall requested review from a team as code owners July 30, 2023 02:31
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@clintandrewhall clintandrewhall merged commit 832aec0 into elastic:main Jul 31, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jul 31, 2023
cee-chen added a commit that referenced this pull request Aug 1, 2023
## Summary

I missed my opportunity to leave this comment in
#162757 before it merged 😅

EUI utilities should come after all other styles for CSS specificity
order.

### Checklist

N/A - internal infra change
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
## Summary

As titled. This PR corrects a pair of mistakes I made before committing
elastic#161914 that @dgieselaar identified shortly thereafter.

- I had tested Storybook extensively, but after I rebased, I changed the
render context, and I forgot to update the `decorator` in Storybook.
This meant Emotion styles worked, but the EUI styles were missing.
- In addition, when I rebased, I missed the addition of the utils cache
that had been added by EUI.
- Interestingly, elastic#162365 missed adding the cache `meta` tag to the
template. Emotion simply added the styles to the `head`, but it's best
to reproduce what we see in Kibana. So I've corrected that, as well.
- While creating the PR, I went ahead and addressed
[feedback](elastic#161914 (comment))
from @cee-chen on the original PR./

Sorry if anyone was confused by the sudden drop in styles in their
Storybooks. Should be resolved now. Thanks!

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
…#162855)

## Summary

I missed my opportunity to leave this comment in
elastic#162757 before it merged 😅

EUI utilities should come after all other styles for CSS specificity
order.

### Checklist

N/A - internal infra change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting ci:build-storybooks impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes review Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants