Skip to content
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 v90.0.0 #170179

Merged
merged 16 commits into from
Nov 3, 2023
Merged

Upgrade EUI to v90.0.0 #170179

merged 16 commits into from
Nov 3, 2023

Conversation

cee-chen
Copy link
Member

@cee-chen cee-chen commented Oct 30, 2023

v89.1.0v90.0.0

The majority of changes in this PR come from:

Commits have been broken up by component changes as well as types of changes.


90.0.0

  • Updated the eventColor prop on EuiCommentEvent to apply the color to the entire comment header. (#7288)
  • Updated EuiBasicTable and EuiInMemoryTable to support a new controlled selection API: selection.selected (#7321)

Bug fixes

  • Fixed controlled EuiFieldNumbers not correctly updating native validity state (#7291)
  • Fixed EuiListGroupItem to pass style props to the wrapping <li> element alongside className and css. All other props will be passed to the underlying content. (#7298)
  • Fixed EuiListGroupItem's non-transitioned transform on hover/focus (#7298)
  • Fixed EuiDataGrids with gridStyle.stripes sometimes showing buggy row striping after being sorted (#7301)
  • Fixed EuiDataGrid's gridStyle.rowClasses API to not conflict with gridStyle.stripes if dynamically updated (#7301)
  • Fixed EuiDataGrid's gridStyle.rowClasses API to support multiple space-separated classes (#7301)
  • Fixed EuiInputPopover not calling onPanelResize callback prop (#7305)
  • Fixed EuiDualRange incorrectly positioning highlights when rendered with showInput="inputWithPopover" (#7305)
  • Fixed EuiTabs incorrectly wrapping text when it should instead either scroll or truncate (#7309)
  • EuiContextMenu now renders text colors correctly when used within an EuiBottomBar (#7312)
  • Fixed the width of EuiSuperDatePicker's Absolute date picker (#7313)
  • Fixed EuiDataGrid cells visually cutting off overflowing content a little too quickly (#7320)

Deprecations

  • Deprecated EuiBasicTable and EuiInMemoryTable's ref setSelection API. Use the new selection.selected API instead. (#7321)

Breaking changes

  • Removed EuiPageTemplate_Deprecated, EuiPageSideBar_Deprecated, and EuiPageContent*_Deprecated (#7265)
  • Removed the ghost color option from EuiButton, EuiButtonEmpty, and EuiButtonIcon. Use an <EuiThemeProvider colorMode="dark"> wrapper and color="text" instead. (#7296)

Dependency updates

  • Updated refractor to v3.6.0 (#7127)
  • Updated rehype-raw to v5.1.0 (#7127)
  • Updated vfile to v4.2.1 (#7127)

Accessibility

  • EuiContextMenu now correctly respects reduced motion preferences (#7312)
  • EuiAccordions no longer attempt to focus child content when the accordion is externally opened via forceState, but will continue to focus expanded content when users click the toggle button. (#7314)

CSS-in-JS conversions

  • Converted EuiContextMenu, EuiContextMenuPanel, and EuiContextMenuItem to Emotion; Removed $euiContextMenuWidth (#7312)

@cee-chen cee-chen added release_note:skip Skip the PR/issue when compiling release notes EUI v8.12.0 labels Oct 30, 2023
@cee-chen
Copy link
Member Author

@elasticmachine merge upstream

@cee-chen cee-chen force-pushed the eui-v90.x branch 3 times, most recently from 5ad970d to 441d618 Compare October 31, 2023 04:19
`,
}
: {}),
eventColor: message.isError ? 'danger' : undefined,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stephmilovic FYI that EuiCommentEvent respecting eventColor for all types is now fixed in EUI, and the workaround you added in #167674 should no longer be necessary - but please feel free to QA and let us know if that's not the case!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing, thank you!!

@cee-chen cee-chen marked this pull request as ready for review October 31, 2023 21:45
@cee-chen cee-chen requested review from a team as code owners October 31, 2023 21:45
@cee-chen cee-chen requested a review from a team as a code owner October 31, 2023 21:45
Copy link
Contributor

@Ikuni17 Ikuni17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OPs changes lgtm

Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data Discovery changes LGTM. Tested the Unified Field List style change and it's working as expected 👍

Copy link
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

Copy link
Contributor

@dej611 dej611 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested Lens and could not find an issue 👍

Copy link
Member

@cnasikas cnasikas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ResponseOps changes LGTM!

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ML changes LGTM

Copy link
Contributor

@jeramysoucy jeramysoucy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kibana Security changes LGTM!

Copy link
Member

@nickpeihl nickpeihl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Canvas shareable runtime changes lgtm!

I did not review Maps changes since @nreese is doing that.

Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maps changes LGTM
code review, tested in chrome

Copy link
Contributor

@1Copenut 1Copenut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 EUI team looks good!

Copy link
Contributor

@mashhurs mashhurs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logstash pipeline related changes LGTM!

Copy link
Contributor

@maximpn maximpn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rule Management Area LGTM

Copy link
Contributor

@stephmilovic stephmilovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for explore changes, thanks for the updates!

@cee-chen cee-chen enabled auto-merge (squash) November 3, 2023 15:51
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #5 / visualize app annotation listing page edit individual annotations edits an existing annotation

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1505 1506 +1
console 200 201 +1
infra 1333 1334 +1
maps 930 1062 +132
observability 489 490 +1
securitySolution 4656 4657 +1
triggersActionsUi 599 600 +1
urlForwarding 8 9 +1
total +139

Any counts in public APIs

Total count of every any typed public API. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats any for more detailed information.

id before after diff
@kbn/user-profile-components 0 1 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.7MB 3.7MB +2.4KB
discover 587.2KB 587.2KB -22.0B
eventAnnotationListing 197.9KB 197.9KB +46.0B
infra 1.9MB 1.9MB +2.4KB
lens 1.4MB 1.4MB +24.0B
maps 2.7MB 2.9MB +171.6KB
observability 1.1MB 1.1MB +2.4KB
securitySolution 12.9MB 12.9MB +2.0KB
triggersActionsUi 1.4MB 1.4MB +2.4KB
total +183.2KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
console 26.8KB 29.2KB +2.4KB
core 372.0KB 372.3KB +279.0B
kbnUiSharedDeps-css 263.8KB 256.1KB -7.7KB
kbnUiSharedDeps-npmDll 6.2MB 6.2MB -5.2KB
maps 46.6KB 46.7KB +58.0B
urlForwarding 2.6KB 5.0KB +2.4KB
total -7.7KB
Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/visualization-ui-components 0 1 +1

Total ESLint disabled count

id before after diff
@kbn/visualization-ui-components 0 1 +1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cee-chen cee-chen merged commit d079e95 into elastic:main Nov 3, 2023
30 checks passed
@cee-chen cee-chen deleted the eui-v90.x branch November 3, 2023 17:19
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting EUI release_note:skip Skip the PR/issue when compiling release notes v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.