Conversation
…umeric popover content instead of `renderCellPopover` - since no especially custom popover rendering is occuring, just conditional content
estermv
left a comment
There was a problem hiding this comment.
Unified Observability changes LGTM
YulNaumenko
left a comment
There was a problem hiding this comment.
Security Solution changes LGTM
walterra
left a comment
There was a problem hiding this comment.
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. |
💚 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 <constance.chen@elastic.co>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
eui@48.1.1⏩eui@51.1.0All breaking changes have been accounted for
51.1.0testenvmock forEuiFlyoutto include defaultaria-labelon the close button (#5702)euiDataGridToolbar.fullScreenButtontoeuiFullscreenSelector.fullscreenButton, and its text toEnter fullscreen(with no space) (#5680)euiDataGridToolbar.fullScreenButtonActivetoeuiFullscreenSelector.fullscreenButtonActive, and its text toExit fullscreen(with no space) (#5680)Bug fixes
SharedRenderCellElementProps.schemato be optional (#5704)51.0.0EuiSuggestto fire theonItemClickcallback on Enter key press as well as clicks (#5693)Bug fixes
EuiSelectables not selecting items with the Enter & Space keys (#5693)Breaking changes
'all'option inEuiTablePagination.itemsPerPageanditemsPerPageOptionsinEuiBasicTableandEuiDataGriddue to Typescript issues. Use0instead to represent a "Show all" option (#5699)50.0.0EuiComboBoxto WAI-ARIA 1.2 pattern and improved keyboard navigation (#5636)readOnlyprop toEuiMarkdownEditor(#5627)breadcrumbsandbreadcrumbPropsdirectly toEuiPageHeader(#5634)EuiBreadcrumbto includeHTMLElementandcolorinherited fromEuiLink(#5634)"xxl"size toEuiLoadingSpinner(#5668)isLoadingprop toEuiButtonIcon(#5668)EuiDataGridto allow setting individual cellisExpandablestate viasetCellProps(#5667)EuiSelectableandEuiSuggestto accept controlledvalueprops (#5658)textWraptoEuiSelectableListItem,EuiSelectableList, andEuiSelectable.listOptions(#5679)truncationonEuiSuggestitems whenisVirtualize(#5679)horizontalEuiEmptyPromptand added spacing between (#5663)powimplementation (#5674)Bug fixes
EuiDataGridcell props not resetting on column sort (#5665)EuiDataGridnot correctly closing cell popovers when the originating cell is clicked (#5681)EuiSuggestnot correctly passing props to the search input (#5658)EuiSelectableincorrectly rendering the passedidprop on the listbox instead of the parent wrapper (#5658)EuiSelectableto no longer callsearchProps.onChangewhen list items are clicked (#5658)EuiSelectablenot respectingsearchProps.inputRef(#5658)EuiSelectableListItemwhen no icons are present (#5679)EuiSelectableTemplateSitewideitems when no icons are present (#5679)Breaking changes
incrementalprop fromEuiSuggestandEuiSelectable'ssearchProps(#5658)EuiSelectable'ssearchProps.onSearchprop (since Enter keypresses do not trigger a search callback) - usesearchProps.onChangeinstead (#5658)EuiSuggest'sonInputChangeandonSearchChangecallbacks toonInput/onSearchrespectively, for consistency with our existing callback naming conventions (#5658)EuiSuggest'sisLoadingprop - usestatus.loadinginstead (#5658)49.0.0renderCellPopoverprop toEuiDataGrid(#5640)schemainfo toEuiDataGrid'srenderCellValueprops (#5640)isLoadingprop toEuiDualRange(#5648)'all'option toEuiTablePagination.itemsPerPageanditemsPerPageOptionsto render a "Show all" option and updatedEuiBasicTableandEuiDataGridusages (#5547)Bug fixes
EuiImageimages' width in small containers by addingmax-width: 100%(#5547)EuiTablePaginationlayout in small containers by addingwrap(#5547)EuiDataGridthrowing a console error when grids without trailing control columns are sorted and then all columns are hidden (#5635)Breaking changes
popoverContentsprops fromEuiDataGrid(use newrenderCellPopoverinstead) (#5640)EuiTablePaginationprophidePerPageOptionsto the positive formshowPerPageOptions(#5547)