-
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
Upgraded EUI to v29.3.0 #78870
Upgraded EUI to v29.3.0 #78870
Conversation
Putting back in draft while I make this actually an upgrade. |
32d3033
to
d0e2358
Compare
I don’t think this was intended to change when I ran the updater
Test looks flakey. One last time for the night. Whelp, I tried. Jenkins ain't listening to me |
We're getting pretty close to implementing limits for bundle size increases in #78205 starting with limits that prevent increasing any bundle more than 5kb above its current size. This upgrade increases the size of the shared-ui-deps bundle by 500kb. Is this an expected or understood increase? I don't see anything in the changelog that would justify a size increase like that. |
That is quite the jump. I'll take a look into what's causing it. |
I checked the existing uses of data grid in the ML/Transform plugin. Everything works well, we'll just need to adjust the design of the custom headers with the histogram charts, I created an issue here to follow up once this PR in (#79066). Great update with the new actions for data grid columns! |
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.
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.
Design 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.
Canvas 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.
Looks like the size increase is caused by some new proptypes being automatically generated from TypeScript types, which are pretty massive in the uncompressed code but the 500kb increase is reduced to about 3kb with brotoli compression and 15kb with gzip compression. I think that's still pretty high, and something that I highly doubt provides any benefit to Kibana as we already validate against the TypeScript types these are derived from.
Just pushed a commit that will strip the proptypes from eui when building the ui-shared-deps bundle for production. Since these prop-types are added in a build step there's little-to-no risk that the propTypes are actually required for EUI to function correctly. In my testing locally this actually causes a reduction in the |
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.
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.
SIEM/Endpoint 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.
Doesn't seem that any KibanaApp code was modified by this update, but I've quickly checked the KibanaApp owned apps, and they are still alive and flourishing. Looking forward to used the features of this update!
💛 Build succeeded, but was flaky
Test FailuresCreates and activates a new EQL rule with a sequence.Detection rules, EQL Creates and activates a new EQL rule with a sequenceStack Trace
Metrics [docs]@kbn/ui-shared-deps asset size
async chunks size
distributable file count
page load bundle size
History
To update your PR or re-run it, just comment with: |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
29.3.0
both
option toflush
prop ofEuiButtonEmpty
(#4084)Bug fixes
EuiRange
andEuiDualRange
display of internal spacer (#4084)EuiFieldSearch
padding for the different states (#4084)EuiCheckableCard
disabled but checked styles (#4084)Theme: Amsterdam
line-height
onEuiTitle
(#4079)29.2.0
EuiIcon
andEuiButtonIcon
named colors. This affectsEuiHealth
which uses theEuiIcon
colors. (#4049)accent
toEuiButtonIcon
(#4049)Theme: Amsterdam
border-radius
fromEuiCallout
(#4066)EuiToast
(#4076)29.1.0
EuiDataGrid
via therenderFooterCellValue
prop (#3770)EuiDataGrid
(#3087)EuiContextMenu
(#4018)EuiInMemoryTablee
(#4038)gutterSize
,popoverBreakpoints
,popoverButtonProps
, andpopoverProps
props toEuiHeaderLinks
(#4046)'all'
and'none'
options to thesizes
prop ofEuiHideFor
andEuiShowFor
(#4046)Bug fixes
EuiTextColor
playground error due tocolor
prop not getting captured by the documentation generator (#4058)