-
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 v51.1.0 #126926
Upgrade EUI to v51.1.0 #126926
Conversation
…umeric popover content instead of `renderCellPopover` - since no especially custom popover rendering is occuring, just conditional content
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.
Unified Observability 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.
Response Ops changes 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.
Security Solution 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.
ML/Transform changes LGTM, also did a local test. Thanks for the popover refactor!!
All remaining codeowner reviews are for snapshot updates or |
@elastic/kibana-reporting-services @elastic/security-onboarding-and-lifecycle-mgt @elastic/uptime @elastic/apm-ui @elastic/kibana-vis-editors @joeypoon @dasansol92 🙏 Still looking for reviews; I'd like to get this merged this week. |
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.
👌 for OLM
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.
Uptime changes LGTM.
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Merging early without the last few reviews, but we're pretty sure this won't be a problem and there have been tons of eyes on this already. |
* eui to v50.0.0 * i18n tokens * Deprecate EuiDataGrid's `popoverContents` prop for `renderCellPopover` * [optional ML refactor] Use `renderCellValue.isDetails` to customize numeric popover content instead of `renderCellPopover` - since no especially custom popover rendering is occuring, just conditional content * onChangeItemsPerPage update * storyshots updates * snapshot updates * snapshot updates * snapshot updates * snapshot updates * EuiComboBox listbox -> combobox * remove invalid combobox aria attr * Revert "onChangeItemsPerPage update" This reverts commit 127c9e5. * eui to v51.0.0 * WIP: schema * WIP: schema * EuiSelectable API changes * WIP: schema * hidePerPageOptions -> showPerpageOptions * WIP: schema * hidePerPageOptions -> showPerpageOptions * WIP: schema * breadcrumbs type * clean up * snapshot updates * Fix E2E datagrid cell filter action test - This changed in 50.0.0 because of elastic/eui#5681 - `await testSubjects.click('filterForButton')` applies to both the cell action button icon and the cell popover button - The test was trying to click the cell action button icon and not the popover button, which closed the popover and caused nothing to actually get clicked - the solution I went with was to simply avoid opening the cell popover but instead click the cell action icon directly * WIP: selectable search * clean up * eui to v51.1.0 * i18n tokens * resolve SharedRenderCellElementProps.schema optionality * i18n, snapshot updates * shapshot update * consolidate url-parse Co-authored-by: Constance Chen <[email protected]>
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
[email protected]
⏩[email protected]
All breaking changes have been accounted for
51.1.0
testenv
mock forEuiFlyout
to include defaultaria-label
on the close button (#5702)euiDataGridToolbar.fullScreenButton
toeuiFullscreenSelector.fullscreenButton
, and its text toEnter fullscreen
(with no space) (#5680)euiDataGridToolbar.fullScreenButtonActive
toeuiFullscreenSelector.fullscreenButtonActive
, and its text toExit fullscreen
(with no space) (#5680)Bug fixes
SharedRenderCellElementProps.schema
to be optional (#5704)51.0.0
EuiSuggest
to fire theonItemClick
callback on Enter key press as well as clicks (#5693)Bug fixes
EuiSelectable
s not selecting items with the Enter & Space keys (#5693)Breaking changes
'all'
option inEuiTablePagination.itemsPerPage
anditemsPerPageOptions
inEuiBasicTable
andEuiDataGrid
due to Typescript issues. Use0
instead to represent a "Show all" option (#5699)50.0.0
EuiComboBox
to WAI-ARIA 1.2 pattern and improved keyboard navigation (#5636)readOnly
prop toEuiMarkdownEditor
(#5627)breadcrumbs
andbreadcrumbProps
directly toEuiPageHeader
(#5634)EuiBreadcrumb
to includeHTMLElement
andcolor
inherited fromEuiLink
(#5634)"xxl"
size toEuiLoadingSpinner
(#5668)isLoading
prop toEuiButtonIcon
(#5668)EuiDataGrid
to allow setting individual cellisExpandable
state viasetCellProps
(#5667)EuiSelectable
andEuiSuggest
to accept controlledvalue
props (#5658)textWrap
toEuiSelectableListItem
,EuiSelectableList
, andEuiSelectable.listOptions
(#5679)truncation
onEuiSuggest
items whenisVirtualize
(#5679)horizontal
EuiEmptyPrompt
and added spacing between (#5663)pow
implementation (#5674)Bug fixes
EuiDataGrid
cell props not resetting on column sort (#5665)EuiDataGrid
not correctly closing cell popovers when the originating cell is clicked (#5681)EuiSuggest
not correctly passing props to the search input (#5658)EuiSelectable
incorrectly rendering the passedid
prop on the listbox instead of the parent wrapper (#5658)EuiSelectable
to no longer callsearchProps.onChange
when list items are clicked (#5658)EuiSelectable
not respectingsearchProps.inputRef
(#5658)EuiSelectableListItem
when no icons are present (#5679)EuiSelectableTemplateSitewide
items when no icons are present (#5679)Breaking changes
incremental
prop fromEuiSuggest
andEuiSelectable
'ssearchProps
(#5658)EuiSelectable
'ssearchProps.onSearch
prop (since Enter keypresses do not trigger a search callback) - usesearchProps.onChange
instead (#5658)EuiSuggest
'sonInputChange
andonSearchChange
callbacks toonInput
/onSearch
respectively, for consistency with our existing callback naming conventions (#5658)EuiSuggest
'sisLoading
prop - usestatus.loading
instead (#5658)49.0.0
renderCellPopover
prop toEuiDataGrid
(#5640)schema
info toEuiDataGrid
'srenderCellValue
props (#5640)isLoading
prop toEuiDualRange
(#5648)'all'
option toEuiTablePagination.itemsPerPage
anditemsPerPageOptions
to render a "Show all" option and updatedEuiBasicTable
andEuiDataGrid
usages (#5547)Bug fixes
EuiImage
images' width in small containers by addingmax-width: 100%
(#5547)EuiTablePagination
layout in small containers by addingwrap
(#5547)EuiDataGrid
throwing a console error when grids without trailing control columns are sorted and then all columns are hidden (#5635)Breaking changes
popoverContents
props fromEuiDataGrid
(use newrenderCellPopover
instead) (#5640)EuiTablePagination
prophidePerPageOptions
to the positive formshowPerPageOptions
(#5547)