-
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
Upgrade EUI to v91.0.0 (with backports) #170716
Conversation
8a7a7d9
to
0e3ea13
Compare
- can be reverted once elastic#170716 merges
2c67880
to
977a4b4
Compare
3876821
to
53e6a31
Compare
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.
Changes to ML tests LGTM (code review only).
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.
Changes in Security/Spaces tests 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.
web_element_wrapper test service change 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.
Tested to ensure that the removal of anchorClassName
didn't impact anything visually + looked over test changes. LGTM 👍
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
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 LGTM, no smoke testing on my end
@elastic/security-detection-rule-management @elastic/security-threat-hunting-investigations @elastic/security-threat-hunting-explore @elastic/kibana-visualizations @elastic/kibana-data-discovery @elastic/response-ops @elastic/fleet @elastic/kibana-design - last ping for reviews. We'll be asking KibanaOps to admin merge on Monday. |
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.
Changes for the Rule Management page (x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/rules_table_filters/rule_search_field.tsx
) LGTM -- tested this locally.
As long as CI is happy with the rest of the changes in tests, I'm happy too 👍
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.
changes lgtm
/ci |
Wow I see some bundle sizes decrease 👏 |
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.
Visualizations team 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.
LGTM for explore team. thanks!
@elasticmachine merge upstream |
💔 Build FailedFailed CI Steps
Test Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @tkajtoch |
We just spoke to @jbudz and @kevinlog and received acknowledgement / approval that the failing Cypress Defend tests are not related to the EUI upgrade (thank you so much for merging in main to check however Stratoula/Steph, y'all are awesome)! As this PR has been open for a while now, and we've alerted multiple teams at various times, we'll be moving forward with asking for an admin merge on this PR shortly. |
v90.0.0
⏩v91.0.0-backport.0
The changes in EUI that required a large swathe of these updates are:
<div>
wrapper on its anchors, which affected many snapshots and a few CSS overrides, which should have been updated<button>
elements instead of<input type="radio">
elements for single selection, which affected both snapshots and E2E testsEnter
keypress when parsing dates (affected E2E tests)singleSelection={{ plainText: 'true' }}
, no longer renders a pill (i.e. text). This combobox type now behaves more like anEuiFieldText
, where the selection is rendered via inputvalue
instead. This affected a high amount of E2E tests (both FTR and Cypress), both in terms of updating assertions and changing selections, but should not significantly affect user experience - see [EuiComboBox] RefactorsingleSelection.asPlainText
to make greater use of the underlyinginput
element eui#7332 for more.v91.0.0-backport.0
This is a backport release only intended for use by Kibana.
esqlVis
,pipeBreaks
, andpipeNoBreaks
icon glyphs.EuiSelectable
now allows configurable text truncation vialistProps.truncationProps
(#7388)EuiTextTruncate
now supports a newcalculationDelayMs
prop for working around font loading or layout shifting scenarios (#7388)Bug fixes
EuiSelectable
s with customtruncationProps
, where scrollbar widths were not being accounted for (#7392)91.0.0
EuiPopover
s in dark mode to increase visibility & contrast against other page/panel backgrounds (#7310)EuiDataGrid
to prevent unneeded re-renders (#7324)role
prop toEuiAccordion
(#7326)role
prop toEuiGlobalToastList
(#7328)EuiSuperDatePicker
now allows users to paste ISO 8601, RFC 2822, and Unix timestamps in theAbsolute
tab input, in addition to timestamps in thedateFormat
prop (#7331)EuiComboBox
es now behave more like a normal text field/input. Backspacing will no longer delete the entire value, and selected values can now be double clicked and copied. (#7332)EuiDataGrid
's display settings popover now allows users to clear the "Lines per row" input before typing in a new number (#7338)EuiSuperDatePicker
's Absolute tab for users manually typing in timestamps (#7341)EuiI18n
s with multipletokens
to accept dynamicvalues
(#7341)Bug fixes
EuiComboBox
'sonSearchChange
callback to pass the correcthasMatchingOptions
value (#7334)EuiSelectableTemplateSitewide
bug where thepopoverButton
behavior would break if passed a non-DOM React wrapper (#7339)Deprecations
EuiPopover
: deprecatedanchorClassName
. UseclassName
instead (#7311)EuiPopover
: deprecatedbuttonRef
. UsepopoverRef
instead (#7311)EuiPopover
: removed extra.euiPopover__anchor
div wrapper. Target.euiPopover
instead if necessary (#7311)EuiButtonGroup
'sname
prop. This can safely be removed. (#7325)Breaking changes
euiPaletteComplimentary
- useeuiPaletteComplementary
Instead (#7333)Accessibility
type="single"
EuiButtonGroup
s to render standard buttons instead of radio buttons under the hood, per recent a11y recommendations (#7325)EuiAccordion
now defaults to a less screenreader-noisygroup
role instead ofregion
. If your accordion contains significant enough content to be a document landmark role, you may re-configure it back toregion
. (#7326)EuiDataGrid
columns via toolbar (#7327)EuiGlobalToastList
now defaults to alog
role. If your toasts will always require immediate user action, consider (with caution) using thealert
role instead. (#7328)CSS-in-JS conversions
$euiFontFamily
and$euiCodeFontFamily
to match Emotion fonts (#7332)