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

[Package][Expandable flyout] - fix Storybook #185036

Merged

Conversation

PhilippeOberti
Copy link
Contributor

@PhilippeOberti PhilippeOberti commented Jun 7, 2024

Summary

This PR fixes the kbn-expandable-flyout package storybook.

There were 3 issues:

  • a first issue outside of the package's control, where we were getting a <i18nProvider> error, introduced by this PR and that will be fixed with this PR
  • a second issue, we were missing the usage of <i18nProvider> in our TestProvider file, which highlighted the prior point
  • a third issue that was introduced when we moved to a normalized redux state
Screen.Recording.2024-06-07.at.12.24.23.PM.mov

Notes

We need to wait for #185033 to be merged before testing this (I cherry picked the changes to test locally before opening the PR).

@PhilippeOberti PhilippeOberti requested a review from a team as a code owner June 7, 2024 16:59
@PhilippeOberti PhilippeOberti added release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team labels Jun 7, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

},
preview: [],
} as unknown as State;
Copy link
Contributor

Choose a reason for hiding this comment

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

should remove these as uknown as that are present throughout the tests, or else this is highly likely to happen again in the future

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for pointing this out, removed here

@PhilippeOberti PhilippeOberti force-pushed the expandable-flyout-package-storybook branch from a7c2048 to 8b8b3ac Compare June 7, 2024 17:26
@lgestc
Copy link
Contributor

lgestc commented Jun 11, 2024

🎊

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@PhilippeOberti PhilippeOberti merged commit 2ae94e8 into elastic:main Jun 12, 2024
19 checks passed
@kibanamachine kibanamachine added v8.15.0 backport:skip This commit does not require backporting labels Jun 12, 2024
@PhilippeOberti PhilippeOberti deleted the expandable-flyout-package-storybook branch June 25, 2024 20:48
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 release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants