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

Bumping EUI to v60.1.2. #135373

Merged
merged 25 commits into from
Jul 11, 2022
Merged

Bumping EUI to v60.1.2. #135373

merged 25 commits into from
Jul 11, 2022

Conversation

1Copenut
Copy link
Contributor

@1Copenut 1Copenut commented Jun 28, 2022

Summary

eui@60.0.0 ⏩ eui@60.1.2

  • In this PR we've added a prop to the EuiScreenReaderLive component to allow it to receive keyboard focus. This is useful for situations like announcing route changes to screen readers.
  • Skip link overrideLinkBehavior handles focus halo on containers (sets the halo on initial focus, removes it when the container loses focus).

60.1.2

Bug fixes

  • Fixed EuiSelectable's onChange callback not passing back a persisted event on React 16 (#6026)
  • Fixed EuiText not correctly inheriting classNames when both the color and textAlign props were passed (#6027)

60.1.1

Bug fixes

Fixed issue with EuiPanel where the Emotion styles were not being passed when it was rendered as a button (#6010)

60.1.0

  • Added focusRegionOnTextChange prop to EuiScreenReaderLive (#5995)
  • Enhanced EuiSkipLink's overrideLinkBehavior scroll and focus UX (#5996)

Bug fixes

  • Fixed EuiAccordion props type not being correctly inferred (#5974)

CSS-in-JS conversions

  • Converted EuiScreenReaderOnly to Emotion (#5846)
  • Converted EuiIcon to Emotion; removed $euiIconLoadingOpacity, $euiIconColors, and $euiIconSizes (#5967)
  • Converted EuiProgress to Emotion and removed $euiProgressColors and $euiProgressSizes (#5986)

@1Copenut 1Copenut added release_note:skip Skip the PR/issue when compiling release notes EUI backport:skip This commit does not require backporting ci:deploy-cloud v8.4.0 labels Jun 28, 2022
@1Copenut 1Copenut self-assigned this Jun 28, 2022
@1Copenut 1Copenut changed the title Bumping EUI to v60.1.0. Bumping EUI to v60.1.1. Jun 29, 2022
* Updating Lens drag and drop to account for Emotion wrapper.
* Updating icon size in EUI theme object for test.
* Updating Lens Editor Frame test to assert 1 click instead of 2.
1Copenut and others added 8 commits July 5, 2022 10:08
-isLoaded was deprecated in favor of data-attrs - hook should still work
- these classNames no longer output meaningful CSS and should not be used
- (which will soon be deprecated by Emotion conversion)
- use the generic euiSizes instead, which will likely be the last to be deprecated
- we should be using the `data-is-loaded` attribute that it was switched to
@1Copenut 1Copenut changed the title Bumping EUI to v60.1.1. Bumping EUI to v60.1.2. Jul 5, 2022
@1Copenut 1Copenut marked this pull request as ready for review July 6, 2022 17:08
@1Copenut 1Copenut requested a review from a team July 6, 2022 17:08
@1Copenut 1Copenut requested a review from a team as a code owner July 6, 2022 17:08
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.

LGTM

Copy link
Member

@joeypoon joeypoon left a comment

Choose a reason for hiding this comment

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

🚀

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.

LGTM

Copy link
Contributor

@mattkime mattkime left a comment

Choose a reason for hiding this comment

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

app services changes lgtm

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

VisEditors changes LGTM, I also tested it locally and everything seems to work fine

}
}
/>
<legend
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't seem right. Looks like there are two legend html tags now (the other one on line 159). The other seems redundant.

@1Copenut
Copy link
Contributor Author

1Copenut commented Jul 8, 2022

@elasticmachine merge upstream

@1Copenut
Copy link
Contributor Author

1Copenut commented Jul 8, 2022

buildkite test this

@1Copenut 1Copenut requested a review from majagrubic July 8, 2022 20:12
@1Copenut
Copy link
Contributor Author

1Copenut commented Jul 8, 2022

@elasticmachine merge upstream

@1Copenut
Copy link
Contributor Author

@elasticmachine merge upstream

@1Copenut
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

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
apm 3.0MB 3.0MB -68.0B
ml 3.4MB 3.4MB +14.0B
securitySolution 5.2MB 5.2MB -40.0B
total -94.0B

Canvas Sharable Runtime

The Canvas "shareable runtime" is an bundle produced to enable running Canvas workpads outside of Kibana. This bundle is included in third-party webpages that embed canvas and therefor should be as slim as possible.

id before after diff
module count 4967 4970 +3
total size 7.7MB 7.7MB -11.3KB

Page load bundle

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

id before after diff
kbnUiSharedDeps-css 543.5KB 533.7KB -9.8KB
kbnUiSharedDeps-npmDll 5.0MB 5.0MB +5.4KB
total -4.4KB

History

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

cc @1Copenut

Copy link
Contributor

@clintandrewhall clintandrewhall left a comment

Choose a reason for hiding this comment

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

LGTM. We'll follow up with a switch to render for our snapshots, to reduce bloat.

@1Copenut 1Copenut merged commit e21e506 into elastic:main Jul 11, 2022
@1Copenut 1Copenut deleted the eui/60.1.0 branch July 11, 2022 21:33
justinkambic pushed a commit to justinkambic/kibana that referenced this pull request Jul 13, 2022
* Bumping EUI to v60.1.0.

* Bumping to bugfixed v60.1.1.

* Updating snapshots for EUI Emotion changes.

* Updating a theme icon size declaration.

* Updating tests for Emotion and new EUI theme objects.

* Updating Lens drag and drop to account for Emotion wrapper.
* Updating icon size in EUI theme object for test.
* Updating Lens Editor Frame test to assert 1 click instead of 2.

* Updating two Jest tests for Emotion extra wrapper.

* Changing a Cypress selector for Emotion classnames.

* Update removed EuiIcon classes

-isLoaded was deprecated in favor of data-attrs - hook should still work

* Remove static EuiIcon classes from static SVG

- these classNames no longer output meaningful CSS and should not be used

* Fix theme JSON imports not to rely on any iconSizes keys

- (which will soon be deprecated by Emotion conversion)
- use the generic euiSizes instead, which will likely be the last to be deprecated

* Fix one more euiIcon-isLoaded className change

- we should be using the `data-is-loaded` attribute that it was switched to

* Bumping EUI to 60.1.2 patch release.

* Updating Storyshots for EUI 60.1.2.

* Removing two assertions from instances_table.spec to match localhost instance UI.

Co-authored-by: Constance Chen <constance.chen@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@tylersmalley tylersmalley added ci:cloud-deploy Create or update a Cloud deployment and removed ci:deploy-cloud labels Aug 17, 2022
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 ci:cloud-deploy Create or update a Cloud deployment 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.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.