-
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 v93.1.1 #176762
Upgrade EUI to v93.1.1 #176762
Conversation
0f0b282
to
a9f7324
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.
@opauloh Please feel free to pull down and QA this component locally. I'm fairly sure with the local data given that this still looks/works as expected, but would appreciate someone more familiar with production end-usage testing it!
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.
Hi @cee-chen
Tested the Kubernetes TreeView with more data and the functionality looks good. There are two clusters with data from other integrations and it now shows the no data available message, thanks for adding that!
I only found one bug, when there were a lot of nested children it gets oddly positioned among the other elements of the tree, here's the screen recording:
Screen.Recording.2024-02-15.at.4.28.21.PM.mov
Tried to quickly figure out what was possibly causing the issue, looks like there's a max block size set to 100vh, and removing it seems to fix the issue.
Screen.Recording.2024-02-15.at.4.29.02.PM.mov
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.
Pinging @elastic/eui-team (EUI) |
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.
APM LGTM
- also removed in EUI and doesn't really enhance SR experience (reviewed by a11y engineer)
…ation - remove usages of EUI classNames, which no longer have any attached styles - clean up/as many unecessary styles as possible in favor of using component instead + clean up loading UI in favor of using existing `icon` props on components
- put the `onKeyDown` on the text wrapper instead, since that already exists
- have a single expand/select action instead, which is more correct from an a11y perspective
…ems with arrow toggles but no children + remove hover/focus state for loading & empy messages
c09b006
to
740a1fb
Compare
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
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 🚀 thanks @cee-chen !
`v93.0.0` ⏩ `v93.1.1` --- ## [`v93.1.1`](https://github.com/elastic/eui/releases/v93.2.0) **This is a patch release primarily intended for use by Kibana.** - Added top-level `EuiTreeView.Item` export ([elastic#7526](elastic/eui#7526)) ## [`v93.1.0`](https://github.com/elastic/eui/releases/v93.1.0) - Added `index` glyph to `EuiIcon` ([elastic#7498](elastic/eui#7498)) - Updated `EuiHighlight` to accept an array of `search` strings, which allows highlighting multiple, separate words within its children. This new type and behavior *only* works if `highlightAll` is also set to true. ([elastic#7496](elastic/eui#7496)) - Updated `EuiContextMenu` with a new `panels.items.renderItem` property, which allows rendering completely custom items next to standard `EuiContextMenuItem` objects ([elastic#7510](elastic/eui#7510)) - `EuiSuperDatePicker` updates: - Updated `EuiSuperDatePicker` with a new `refreshIntervalUnits` prop. Passing this prop allows controlling and overriding the default unit rounding behavior. ([elastic#7501](elastic/eui#7501)) - Updated `EuiAutoRefresh` and `EuiRefreshInterval` with a new `intervalUnits` prop. Passing this prop allows controlling and overriding the default unit rounding behavior. ([elastic#7501](elastic/eui#7501)) - Updated `onRefreshChange` to pass back a new `intervalUnits` key that contains the current interval unit format (seconds, minutes, or hours). ([elastic#7501](elastic/eui#7501)) - Updated `EuiSuperDatePicker` with a new `canRoundRelativeUnits` prop, which defaults to true (current behavior). To preserve displaying the unit that users select for relative time, set this to false. ([elastic#7502](elastic/eui#7502)) - Updated `EuiSuperDatePicker` with a new `refreshMinInterval` prop, which accepts a minimum number in milliseconds ([elastic#7516](elastic/eui#7516)) - Updated `EuiAutoRefresh` and `EuiRefreshInterval` with a new `minInterval` prop, which accepts a minimum number in milliseconds ([elastic#7516](elastic/eui#7516)) **Bug fixes** - Fixed `EuiHighlight` to not parse `search` strings as regexes ([elastic#7496](elastic/eui#7496)) - Fixed `EuiSuperDatePicker` submit bug when used within `<form>` elements ([elastic#7504](elastic/eui#7504)) - Fixed an `EuiTreeView` bug where `aria-expanded` was being applied to items without expandable children ([elastic#7513](elastic/eui#7513)) **CSS-in-JS conversions** - Converted `EuiTreeView` to Emotion. Updates as part of the conversion: ([elastic#7513](elastic/eui#7513)) - Removed `.euiTreeView__wrapper` div node - Enforced consistent `icon` size based on `display` size
v93.0.0
⏩v93.1.1
v93.1.1
This is a patch release primarily intended for use by Kibana.
EuiTreeView.Item
export (#7526)v93.1.0
index
glyph toEuiIcon
(#7498)EuiHighlight
to accept an array ofsearch
strings, which allows highlighting multiple, separate words within its children. This new type and behavior only works ifhighlightAll
is also set to true. (#7496)EuiContextMenu
with a newpanels.items.renderItem
property, which allows rendering completely custom items next to standardEuiContextMenuItem
objects (#7510)EuiSuperDatePicker
updates:EuiSuperDatePicker
with a newrefreshIntervalUnits
prop. Passing this prop allows controlling and overriding the default unit rounding behavior. (#7501)EuiAutoRefresh
andEuiRefreshInterval
with a newintervalUnits
prop. Passing this prop allows controlling and overriding the default unit rounding behavior. (#7501)onRefreshChange
to pass back a newintervalUnits
key that contains the current interval unit format (seconds, minutes, or hours). (#7501)EuiSuperDatePicker
with a newcanRoundRelativeUnits
prop, which defaults to true (current behavior). To preserve displaying the unit that users select for relative time, set this to false. (#7502)EuiSuperDatePicker
with a newrefreshMinInterval
prop, which accepts a minimum number in milliseconds (#7516)EuiAutoRefresh
andEuiRefreshInterval
with a newminInterval
prop, which accepts a minimum number in milliseconds (#7516)Bug fixes
EuiHighlight
to not parsesearch
strings as regexes (#7496)EuiSuperDatePicker
submit bug when used within<form>
elements (#7504)EuiTreeView
bug wherearia-expanded
was being applied to items without expandable children (#7513)CSS-in-JS conversions
EuiTreeView
to Emotion. Updates as part of the conversion: (#7513).euiTreeView__wrapper
div nodeicon
size based ondisplay
size