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 v41.2.2 #119205

Merged
merged 33 commits into from
Dec 8, 2021
Merged

Bumping EUI to v41.2.2 #119205

merged 33 commits into from
Dec 8, 2021

Conversation

1Copenut
Copy link
Contributor

@1Copenut 1Copenut commented Nov 19, 2021

Summary

eui@41.0.0eui@41.2.2


41.2.0

  • Added aria-label and aria-labelledby props to EuiComboBox (#5360)
  • Updated EuiDatePicker to use EuiPopover, EuiFocusTrap, and EuiScreenReaderOnly (#5339)

Bug fixes

  • Fixed an EuiDataGrid row height bug for grids that set a default lineCount and also used rowHeights to set row-specific lineCounts (#5376)
  • Fixed EuiComboBox from allowing keyboard actions when isDisabled (#5373)
  • Fixed an accessibility issue where EuiSuperSelect was not creating accessible labels for its listbox (#5364)
  • Fixed an accessibility issue where EuiColorPalettePicker was not creating an accessible label for its button (#5364)
  • Fixed EuiDatePicker being constrained to its parent container by using React portal (#5339)

41.1.0

  • Added layout and footer props to EuiEmptyPrompt (#5275)
  • Updated EuiEmptyPrompt to extend EuiPanelProps (#5275)
  • Add data-icon-type to EuiIcon <svg> for easier debugging of iconType #5366)

Bug fixes

  • Fixed an EuiDataGrid race condition where grid rows had incorrect heights if loaded in before CSS (#5284)
  • Fixed an accessibility issue where EuiDataGrid cells weren't owned by role=row elements (#5285)
  • Fixed EuiErrorBoundary overflow scrolling by wrapping contents in EuiCodeBlock (#5359)
  • Fixed analyzeEvent icon to be horizontally centered #5365)

@1Copenut 1Copenut added release_note:skip Skip the PR/issue when compiling release notes EUI auto-backport Deprecated - use backport:version if exact versions are needed v8.1.0 labels Nov 19, 2021
@1Copenut 1Copenut self-assigned this Nov 19, 2021
@1Copenut
Copy link
Contributor Author

@elasticmachine merge upstream

@1Copenut 1Copenut changed the title Bumping EUI to v41.2.0 Bumping EUI to v41.2.1 Nov 19, 2021
@1Copenut 1Copenut changed the title Bumping EUI to v41.2.1 Bumping EUI to v41.2.2 Nov 24, 2021
@cee-chen
Copy link
Member

@elasticmachine merge upstream

@1Copenut 1Copenut marked this pull request as ready for review November 29, 2021 14:19
@1Copenut 1Copenut requested review from a team as code owners November 29, 2021 14:19
@1Copenut
Copy link
Contributor Author

1Copenut commented Dec 1, 2021

@elasticmachine merge upstream

@1Copenut
Copy link
Contributor Author

1Copenut commented Dec 1, 2021

@elasticmachine merge upstream

Copy link
Contributor

@watson watson left a comment

Choose a reason for hiding this comment

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

Besides the yarn.lock nit the changes to Kibana Platform Security LGTM 👍 I checked it out locally, ran Kibana and compared the screens with the same screens in main and couldn't see any differences.

yarn.lock Outdated
@@ -29915,6 +29916,19 @@ yargs@^17.0.1:
y18n "^5.0.5"
yargs-parser "^20.2.2"

yargs@^17.2.1:
Copy link
Contributor

Choose a reason for hiding this comment

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

We should consolidate this with the yargs@^17.0.1 dependency just above to avoid having too many versions of the same acceptable version range installed

Copy link
Contributor

@Dosant Dosant 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 src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap lgtm

@1Copenut
Copy link
Contributor Author

1Copenut commented Dec 2, 2021

@elasticmachine merge upstream

@thompsongl
Copy link
Contributor

elastic/eui#5441 will resolve the failing tests. We'll update this PR after making a backport release with the changes.

@1Copenut 1Copenut requested a review from a team as a code owner December 6, 2021 23:21
@@ -98,7 +98,7 @@ describe('Row renderers', () => {
expect(
elementsOverlap($googleLinkTooltip, $signatureTooltip),
'tooltips do not overlap'
).to.equal(false);
).to.equal(true);
Copy link
Contributor

Choose a reason for hiding this comment

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

Are the tool tips overlapping now with that change? Seems like you had to switch from false to true?

Copy link
Contributor

Choose a reason for hiding this comment

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

I ran the cypress tests in your fork locally and this test fails with to.equal(true) as it should. The test was created to make sure that the two tooltips on this link don't overlap:

Screenshot 2021-12-08 at 10 23 00

Changing it back to to.equal(false) fixes the tests for me locally. Does the test break on the CI with to.equal(false)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've been testing it locally (Cypress is awesome, and the docs are super helpful) with the same results you're getting. I'll change it back and update the three others that are failing. I'm also seeing those failures locally with a browser. I'll try them locally headless and hopefully get this finished up.

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Test Failures

  • [job] [logs] Security Solution Tests / Detection rules, machine learning Creates and activates a new ml rule

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 +1.0B
ml 3.5MB 3.5MB +1.0B
total +2.0B

Page load bundle

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

id before after diff
core 275.6KB 275.7KB +122.0B
kbnUiSharedDeps-css 587.4KB 590.8KB +3.4KB
kbnUiSharedDeps-npmDll 5.0MB 5.1MB +59.1KB
total +62.6KB

History

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

cc @1Copenut

@thompsongl thompsongl merged commit 34dd896 into elastic:main Dec 8, 2021
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Dec 8, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

The backport operation could not be completed due to the following error:
There are no branches to backport to. Aborting.

The backport PRs will be merged automatically after passing CI.

To backport manually run:
node scripts/backport --pr 119205

@1Copenut 1Copenut removed the auto-backport Deprecated - use backport:version if exact versions are needed label Dec 8, 2021
@1Copenut 1Copenut deleted the eui/41-2-0 branch December 8, 2021 20:25
TinLe pushed a commit to TinLe/kibana that referenced this pull request Dec 22, 2021
* Bumping EUI to v41.2.0

* Updating translations for EUI Super Select.

* Bumping to v41.2.1 for an EUI fix.

* Updating ten Jest snapshots

* Removing reference to packaged datepicker now in EUI.

* Final removal of packaged Datepicker reference.

* Updating snapshots and datagrid test defaults.

* Fixing last functional test for data grid

* Reverting data source to upstream example for one test.

* Adding a fix for _data_table.ts test.

* Adding a fix for _data_table)notimeindex_filters.ts

* Bumping to 41.2.2 patch fix

* Removing unneeded test code and updating comment

* Bumping to 41.2.3 for bug fix.

* Adding a missed file.

* Adjusting test for tooltip overlap assertion.

* Updating two tests in Security Solution Platform.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
gbamparop pushed a commit to gbamparop/kibana that referenced this pull request Jan 12, 2022
* Bumping EUI to v41.2.0

* Updating translations for EUI Super Select.

* Bumping to v41.2.1 for an EUI fix.

* Updating ten Jest snapshots

* Removing reference to packaged datepicker now in EUI.

* Final removal of packaged Datepicker reference.

* Updating snapshots and datagrid test defaults.

* Fixing last functional test for data grid

* Reverting data source to upstream example for one test.

* Adding a fix for _data_table.ts test.

* Adding a fix for _data_table)notimeindex_filters.ts

* Bumping to 41.2.2 patch fix

* Removing unneeded test code and updating comment

* Bumping to 41.2.3 for bug fix.

* Adding a missed file.

* Adjusting test for tooltip overlap assertion.

* Updating two tests in Security Solution Platform.

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 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.