-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Upgrade EUI to 14.7.0 #49110
Upgrade EUI to 14.7.0 #49110
Conversation
💔 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.
ML changes LGTM
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.
APM changes LGTM
@@ -43,7 +43,7 @@ export function infra(kibana: any) { | |||
defaultMessage: 'Explore your metrics', | |||
}), | |||
icon: 'plugins/infra/images/infra_mono_white.svg', |
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.
[nitpicking] should we rename the SVGs as well to keep the naming consistent?
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.
I'll leave that decision up to you all; I'm not sure how much infra-to-metrics language conversion is planned for the app. The underlying image actually changed during the switch from infraApp
to metricsApp
. Plus, that name is part of the EUI API, so there is some necessity for EUI to align with the direction.
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.
Code, package, and yarn.lock changes LGTM
* eui 14.7.0 * icon updates * snapshot updates * storyshot updates * remove config addition
@thompsongl @chandlerprall Bummer... this change ended up breaking Canvas assets. (#50733) The Storybook Jest tests caught the change, but the snapshots were simply regenerated, rather than confirmed through the Storybook tool. I'm also a bit concerned this PR was only open for a day, and Canvas isn't a sign-off on the PR...? It's awesome that #43529 is coming, which will make Storybook more mainstream, so it'll be easy to visually confirm changes. Aside from that, how can we prevent this kind of issue moving forward? cc: @poffdeluxe |
Thank you for bringing this up! I want to shed a little light on what happened & our process, and then go from there.
Given 1&2, we had a couple points in time where we could have caught this but didn't, and I think this has to be expected in any manual process - though we can and should take steps to limit it further. Some further thoughts/questions:
|
@chandlerprall Gotcha... given the constraints/considerations, I think integrating Percy into our Storybook setup(s) will make this a ton easier to confirm moving forward. I also think encouraging snapshot tests be generated via Storybook examples, (using #43529), rather than in pure code, we can make it much easier for EUI and others to visually confirm passive changes. In the short term, I think if |
Apologies for the misstep here, @clintandrewhall. Definitely some boxes left unchecked in this particular PR when it came to preventing breaks. Percy integration would be hugely helpful for EUI upgrade PRs. In the meantime, delaying the merge for a while and making sure your team has a chance to review is the minimum we can do. |
Most of the changes are from updated icons:
ifraApp
becamemetricsApp
, andloggingApp
becamelogsApp
.14.7.0
EuiRadio
andEuiRadioGroup
to TypeScript (#2438)EuiImage
(#2447)EuiColorStops
to accept user-defined range bounds (#2396)external
prop toEuiLink
(#2442)EuiBadge
(#2440)EuiLink
to appear non interactive when passed thedisabled
prop and anonClick
handler (#2423)minimize
glyph toEuiIcon
(#2457)Bug fixes
width
property forEuiTable
cell components (#2452)EuiNavDrawer
collapse/expand button height issue(#2463)
14.6.0
infraApp
andlogsApp
icons. (#2430)Bug fixes
EuiSideNav
(#2429)