-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Upgrades EUI to 9.x #32009
Upgrades EUI to 9.x #32009
Conversation
@@ -31,9 +31,7 @@ exports[`Home component should render 1`] = ` | |||
<SetupInstructionsLink /> | |||
</EuiFlexItem> | |||
</EuiFlexGroup> | |||
<EuiSpacer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chandlerprall see comments from @sqren and @nreese here: #31935 (comment)
Has the default size for this component changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default size remains the same, but has been moved from defaultProps
to being applied at destructuring in the function component's signature, so React is not aware of the default.
💔 Build Failed |
💔 Build Failed |
Have you seen #32291? Looks like there is another PR attempting to bump EUI to 9.0.1 |
dbbd646
to
1a08a78
Compare
@chandlerprall @thompsongl I've removed all of the infra duplicates and it seems like the only error left has to do with some EuiProgress component wrapped in a styled-components wrapper here: ping @skh @elastic/infrastructure-ui |
@maryia-lapata @jasonrhodes Whoever drags this over a finish line, please don't forget to create follow-up PR to cover #31480 (comment) (this time it'd be better to have a separate follow-up so that we can easily backport a part of it to 6.7 and 7.0 as well). It's something that should always come with EUI upgrades now. I'm not sure if we have "tokens changelog" section in the main EUI change logs already, but if not we should rely on https://elastic.github.io/eui/#/package/i18n-tokens for this particular upgrade. Feel free to reach out if you have any questions. |
💔 Build Failed |
Not yet |
Update: I've read through styled-components docs and have thus far not been able to figure out how to get around the problem mentioned here: #32009 (comment) We may need to use |
💔 Build Failed |
💔 Build Failed |
Now we're getting snapshot failures, which probably explains why the other 9.x PR had about 40-50 more file changes than this one. Heading out for the weekend, will check back on what's going on Monday. |
I've updated snapshots. Here are the main updates:
|
There are a few failing tests in x-pack, that I didn't feel comfortable updating. It seems like the EuiInMemoryTable is preprending "Field" to the field items? Not sure.
|
💔 Build Failed |
Checked on a few of Jason's noted changes to be safe -
Same as |
The |
I have a commit (chandlerprall@2ea1362) that fixes the test. Seems I can't push to Jason's branch, nor make a PR against his branch (?) |
d88e311
to
5ae2259
Compare
💔 Build Failed |
jenkins test this |
💔 Build Failed |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGREATTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ML related changes LGTM.
* Fixed a simple argument bug and removed infra date picker EUI types * Fixes for EUI date picker types * eui_8.0.0 * fix type errors in query_bar * Small changes for EUI types * Updates EUI to 9.0.0 and removes @types/react-datepicker as it now ships with EUI * Updates to EUI 9.0.1 and removes duplicate types in infra eui.d.ts * ts-ignore applied to ongoing type error with styled components and EUI * Changes EuiProgress props to avoid TS errors * Updates EUI 9.0 snapshots * Updates kibana root snapshots for EUI 9.0 upgrade * Update detail_panel.test.js for EUI changes * Updated functioanl and unit tests to properly inspect EuiTableRowCell rendered values * Fix docs_level_security_roles.js func tests * Update EUI to 9.0.2 * Fixed failing snapshot for EUI icon default prop
* Fixed a simple argument bug and removed infra date picker EUI types * Fixes for EUI date picker types * eui_8.0.0 * fix type errors in query_bar * Small changes for EUI types * Updates EUI to 9.0.0 and removes @types/react-datepicker as it now ships with EUI * Updates to EUI 9.0.1 and removes duplicate types in infra eui.d.ts * ts-ignore applied to ongoing type error with styled components and EUI * Changes EuiProgress props to avoid TS errors * Updates EUI 9.0 snapshots * Updates kibana root snapshots for EUI 9.0 upgrade * Update detail_panel.test.js for EUI changes * Updated functioanl and unit tests to properly inspect EuiTableRowCell rendered values * Fix docs_level_security_roles.js func tests * Update EUI to 9.0.2 * Fixed failing snapshot for EUI icon default prop
…ic#33152) This fixes a problem introduced with elastic#32009, in which the meaning of the `isLoading` property for the `<ProgressEntry>` component was inverted.
This fixes a problem introduced with #32009, in which the meaning of the `isLoading` property for the `<ProgressEntry>` component was inverted.
Summary
This PR replaces #31935 and #31801
UPDATE: The latest EUI is now at 9.x, so this PR upgrades to 9.0.x