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 v79.0.1 #156925

Merged
merged 15 commits into from
May 15, 2023
Merged

Upgrade EUI to v79.0.1 #156925

merged 15 commits into from
May 15, 2023

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented May 5, 2023

Summary

eui@77.2.2eui@79.0.1

🦴 The primary changes in this upgrade are around the deprecated EuiLoadingContent being removed in favor of EuiSkeletonText.


79.0.1

Bug fixes

  • Fixed broken push EuiFlyout behavior (#6764)

79.0.0

  • Updated all EuiSkeleton components with new props that allow for more control over screen reader live announcements: announceLoadingStatus, announceLoadedStatus, and ariaLiveProps (#6752)
  • Improved keyboard accessibility in EuiPageHeader by ensuring the right side menu items come into focus from left to right. (#6753)

Breaking changes

  • Removed deprecated EuiLoadingContent. Use the EuiSkeleton components instead. (#6754)

78.0.0

  • Improved the contrast ratio of EuiCheckbox, EuiRadio, and EuiSwitch in their unchecked states to meet WCAG AA guidelines. (#6729)
  • Added React Testing Library *ByTestSubject custom commands to within(). RTL utilities can be imported from @elastic/eui/lib/test/rtl. (#6737)
  • Updated EuiAvatar to support a new letter casing prop that allow customizing text capitalization (#6739)
  • Updated EuiFocusTrap to support the gapMode prop configuration (now defaults to padding) (#6744)

Bug fixes

  • Fixed inconsistency in EuiSearchBar's AND/OR semantics between DSL and query string generation (#6717)
  • Fixed EuiFieldNumber's native browser validity detection causing extra unnecessary rerenders (#6741)
  • Fixed the scrollLock property on EuiFocusTrap (and other components using EuiFocusTrap, such as EuiFlyout and EuiModal) to no longer block scrolling on nested portalled content, such as combobox dropdowns (#6744)

Breaking changes

  • EuiAvatars with the default user type will now default to capitalizing all initials in uppercase (#6739)

@cee-chen cee-chen added release_note:skip Skip the PR/issue when compiling release notes EUI v8.9.0 labels May 5, 2023
@cee-chen cee-chen changed the title Upgrade EUI v78.0.0 Upgrade EUI to v78.0.0 May 5, 2023
@JasonStoltz
Copy link
Member

JasonStoltz commented May 9, 2023

@cee-chen FYI, a couple of the changes you have listed in the description appear to be part of the last upgrade from Trevor (#155208):

@cee-chen
Copy link
Contributor Author

cee-chen commented May 9, 2023

Yes, that's part of the backport process. The commits are cherry-picked into a release that the current Kibana upgrade can use (without pulling in everything else in main) but still need to be released on main. The changelog should be left as-is for consumers that aren't Kibana and did not get the backport-specific releases.

@cee-chen cee-chen changed the title Upgrade EUI to v78.0.0 Upgrade EUI to v79.0.0 May 9, 2023
@cee-chen cee-chen force-pushed the eui-v78.0.x branch 2 times, most recently from 643e36b to c2f4824 Compare May 9, 2023 23:20
@cee-chen cee-chen changed the title Upgrade EUI to v79.0.0 Upgrade EUI to v79.0.1 May 10, 2023
@cee-chen
Copy link
Contributor Author

@elasticmachine merge upstream

@cee-chen cee-chen marked this pull request as ready for review May 12, 2023 04:34
@cee-chen cee-chen requested a review from a team as a code owner May 12, 2023 04:34
Copy link
Contributor

@jughosta jughosta 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 👍

@kc13greiner kc13greiner self-requested a review May 12, 2023 12:59
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.

kibana-gis changes LGTM

Copy link
Contributor

@kc13greiner kc13greiner 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
Member

@efegurkan efegurkan left a comment

Choose a reason for hiding this comment

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

Enterprise Search changes look good.

Locally checked all seems to be working.

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.

👍 LGTM! I viewed a number of pages with the network throttled to fast 3G so I could see the EuiSkeleton in action. Thanks Cee!

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.

Explore changes LGTM, thanks for the updates @cee-chen 🚀

Copy link
Contributor

@dominiqueclarke dominiqueclarke left a comment

Choose a reason for hiding this comment

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

Uptime changes LGTM! 🚢

Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

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

Detection Rules Area changes LGTM! Thanks for all the goodness here @cee-chen! 🙂

Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

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

Appex-SharedUX changes LGTM

Copy link
Contributor

@YulNaumenko YulNaumenko left a 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

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

@xcrzx xcrzx left a comment

Choose a reason for hiding this comment

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

Rules Area changes LGTM!

Copy link
Contributor

@mohamedhamed-ahmed mohamedhamed-ahmed left a comment

Choose a reason for hiding this comment

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

Infra changes LGTM! Thank you

Copy link
Contributor

@ogupte ogupte left a comment

Choose a reason for hiding this comment

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

Looks good for APM UI

@cee-chen
Copy link
Contributor Author

@elasticmachine merge upstream

@cee-chen
Copy link
Contributor Author

@elastic/security-solution-platform @elastic/ml-ui @dasansol92 @tomsonpl As a heads up, I'll be requesting that KibanaOps admin merge in this PR by EOD today. Please review/approve if you can before then!

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

@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

@cee-chen
Copy link
Contributor Author

@elasticmachine merge upstream

@jbudz jbudz merged commit b9ea4ce into elastic:main May 15, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label May 15, 2023
@cee-chen cee-chen deleted the eui-v78.0.x branch May 15, 2023 21:16
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Rules, Alerts and Exceptions ResponseOps Cypress Tests on Security Solution / Detections : Page Filters "after each" hook for "Changed banner should hide on Reset"
  • [job] [logs] Rules, Alerts and Exceptions ResponseOps Cypress Tests on Security Solution / Detections : Page Filters Changed banner should hide on Reset
  • [job] [logs] FTR Configs #1 / ObservabilityApp Observability alerts / Add to case > When user has all privileges for cases renders case options in the overflow menu

Metrics [docs]

Async chunks

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

id before after diff
aiops 794.1KB 794.1KB -2.0B
apm 3.5MB 3.5MB -16.0B
cases 374.5KB 374.5KB -6.0B
console 417.9KB 417.9KB -2.0B
dataViewManagement 118.6KB 118.6KB -2.0B
enterpriseSearch 2.4MB 2.4MB +18.0B
indexLifecycleManagement 157.8KB 157.8KB -2.0B
infra 2.0MB 2.0MB -4.0B
maps 2.7MB 2.7MB -2.0B
ml 3.4MB 3.4MB +10.0B
observability 971.5KB 971.5KB -2.0B
osquery 1.1MB 1.1MB -14.0B
security 565.8KB 565.8KB +13.0B
securitySolution 9.2MB 9.2MB -229.0B
snapshotRestore 266.8KB 266.8KB -2.0B
synthetics 1.2MB 1.2MB -301.0B
transform 386.6KB 386.6KB -2.0B
triggersActionsUi 1.4MB 1.4MB +5.0B
upgradeAssistant 152.3KB 152.3KB -6.0B
total -546.0B

Page load bundle

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

id before after diff
aiops 6.0KB 6.0KB -2.0B
cases 166.2KB 166.2KB +1.0B
dataViewFieldEditor 23.3KB 23.3KB -2.0B
discover 27.9KB 27.9KB -4.0B
esUiShared 152.4KB 152.4KB -2.0B
fileUpload 7.2KB 7.2KB -4.0B
kbnUiSharedDeps-css 313.2KB 313.2KB -28.0B
kbnUiSharedDeps-npmDll 5.9MB 5.9MB +1.2KB
maps 45.1KB 45.1KB -2.0B
savedObjectsFinder 3.2KB 3.2KB -2.0B
total +1.1KB
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 400 404 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 480 484 +4
total +6

History

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

dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request May 16, 2023
jasonrhodes pushed a commit that referenced this pull request May 17, 2023
## Summary

`eui@77.2.2` ⏩ `eui@79.0.1`

🦴 The primary changes in this upgrade are around the deprecated
`EuiLoadingContent` being removed in favor of `EuiSkeletonText`.
- Most instances have been a [direct swap of
usage](327626a),
but [some replacements were a bit more
opinionated](e6ceb36)
as I saw them as potential to take advantage of `EuiSkeletonText`'s
syntactical sugar and screen reader announcements for when state
switches to loaded.

---

## [`79.0.1`](https://github.com/elastic/eui/tree/v79.0.1)

**Bug fixes**

- Fixed broken push `EuiFlyout` behavior
([#6764](elastic/eui#6764))


## [`79.0.0`](https://github.com/elastic/eui/tree/v79.0.0)

- Updated all `EuiSkeleton` components with new props that allow for
more control over screen reader live announcements:
`announceLoadingStatus`, `announceLoadedStatus`, and `ariaLiveProps`
([#6752](elastic/eui#6752))
- Improved keyboard accessibility in `EuiPageHeader` by ensuring the
right side menu items come into focus from left to right.
([#6753](elastic/eui#6753))

**Breaking changes**

- Removed deprecated `EuiLoadingContent`. Use the `EuiSkeleton`
components instead. ([#6754](elastic/eui#6754))


## [`78.0.0`](https://github.com/elastic/eui/tree/v78.0.0)

- Improved the contrast ratio of `EuiCheckbox`, `EuiRadio`, and
`EuiSwitch` in their unchecked states to meet WCAG AA guidelines.
([#6729](elastic/eui#6729))
- Added React Testing Library `*ByTestSubject` custom commands to
`within()`. RTL utilities can be imported from
`@elastic/eui/lib/test/rtl`.
([#6737](elastic/eui#6737))
- Updated `EuiAvatar` to support a new letter `casing` prop that allow
customizing text capitalization
([#6739](elastic/eui#6739))
- Updated `EuiFocusTrap` to support the `gapMode` prop configuration
(now defaults to `padding`)
([#6744](elastic/eui#6744))

**Bug fixes**

- Fixed inconsistency in `EuiSearchBar`'s AND/OR semantics between DSL
and query string generation
([#6717](elastic/eui#6717))
- Fixed `EuiFieldNumber`'s native browser validity detection causing
extra unnecessary rerenders
([#6741](elastic/eui#6741))
- Fixed the `scrollLock` property on `EuiFocusTrap` (and other
components using `EuiFocusTrap`, such as `EuiFlyout` and `EuiModal`) to
no longer block scrolling on nested portalled content, such as combobox
dropdowns ([#6744](elastic/eui#6744))

**Breaking changes**

- `EuiAvatar`s with the default `user` type will now default to
capitalizing all initials in uppercase
([#6739](elastic/eui#6739))

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
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 Team:APM All issues that need APM UI Team support Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.