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 39.0.0 #113633

Merged
merged 22 commits into from
Oct 12, 2021
Merged

Bumping EUI to 39.0.0 #113633

merged 22 commits into from
Oct 12, 2021

Conversation

breehall
Copy link
Contributor

@breehall breehall commented Oct 1, 2021

Summary

eui@38.0.1 ⏩ eui@38.2.0 eui@39.0.0

39.0.0

  • Added maxWidth prop to EuiTour, made subtitle optional, and fixed heading levels and footer background (#5225)
  • Updated tint, shade, saturate, desaturate, and makeHighContrastColor utility functions to maintain color format supplied (#5230)
  • Converted generated icon files to Typescript, eliminating the last .js files in our source files (#5212)

Bug fixes

  • Fixed tick and level alignment in Eui[Dual]Range (#5181)
  • Fixed multiple accessibility issues in EuiBasicTable and EuiInMemoryTable (#5237, #5241)
  • Fixed missing i18n token in EuiBasicTable's no items message (#5242)

Breaking changes

  • Removed boolean from EuiTour's minWidth type (#5225)

38.2.0

  • Updated EuiRangeLevel color property to accept CSS color values (#5171)

Bug fixes

  • Fixed logo icons with static SVG IDs causing accessibility errors when multiples of the same logo were present (#5204)
  • Fixed several EuiDataGrid console errors that occur on column drag/drop reorder (#5209)

Reverts

  • Reverted EuiScreenReaderOnly left positioning change due to Selenium issues (#5215)

38.1.0

  • Fixed the title prop EuiButtonGroup to automatically display the label provided (#5199)
  • Updated barSeriesStyle.displayValue of the elastic-charts Theme for better default styles (#4845)
  • Added a configuration parameter to the EuiMarkdownEditor plugin functions to exclude custom plugins (#5147)
  • Added auto as value for defaultHeight in prop rowHeightsOptions in EuiDataGrid that allows to content auto-fit to row (#4958)
  • Updated titleProps and descriptionProps on EuiDescriptionList to extend CommonProps (#5166)
  • Added the ability to return visibleOptions from EuiSelectable by using onSearch (#5178)

Bug fixes

  • Fixed EuiDataGrid focus ring to be contained in the cell (#5194)
  • Fixed EuiDataGrid cells when focused getting a higher z-index which was causing long content to overlap surrounding cells (#5194)
  • Replaced the EuiMarkdownEditor help syntax modal with a popover when no custom plugins are available (#5147)
  • Fixed multiple components unnecessarily rerendering generated IDs on every update (#5195, #5196, #5197, #5200, #5201)

Theme: Amsterdam

  • Fixed border-radius and increased font-weight for EuiButtonGroup (#4993)
  • Increased contrast of text color for text colored EuiButton and EuiButtonIcon (#5177)

@breehall breehall added auto-backport Deprecated - use backport:version if exact versions are needed EUI release_note:skip Skip the PR/issue when compiling release notes v8.0.0 v7.16.0 labels Oct 1, 2021
Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains an mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts
@breehall breehall force-pushed the eui-upgrade-38.2.0 branch from bfd7d5f to 8a29a96 Compare October 4, 2021 17:26
Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains a mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts
…pgrade-38.2.0

Merging in the latest code from the Master branch
…ndle an issue found with a functional test during the original upgrade
@breehall breehall changed the title Bumping EUI to 38.2.0 Bumping EUI to ~38.2.0~ 39.0.0 Oct 6, 2021
@breehall breehall changed the title Bumping EUI to ~38.2.0~ 39.0.0 Bumping EUI to 39.0.0 Oct 6, 2021
@breehall
Copy link
Contributor Author

breehall commented Oct 7, 2021

@elasticmachine merge upstream

@breehall breehall marked this pull request as ready for review October 7, 2021 22:03
@breehall breehall requested review from a team as code owners October 7, 2021 22:03
Copy link
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

stack management changes LGTM 🚀 didn't test locally

Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

license checker config LGTM

Copy link
Contributor

@smith smith left a comment

Choose a reason for hiding this comment

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

APM changes look good

@thompsongl
Copy link
Contributor

@elasticmachine merge upstream

@thompsongl
Copy link
Contributor

@elasticmachine merge upstream

@cee-chen
Copy link
Contributor

@elasticmachine merge upstream

@thompsongl
Copy link
Contributor

@elasticmachine merge upstream

@VladLasitsa
Copy link
Contributor

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

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 2.7MB 2.7MB -1.0B
canvas 1.0MB 1.0MB -1.0B
cloud 12.3KB 12.3KB -1.0B
enterpriseSearch 1.4MB 1.4MB -1.0B
fileUpload 673.4KB 673.4KB -1.0B
graph 403.3KB 403.3KB -1.0B
infra 938.4KB 938.4KB -1.0B
ingestPipelines 453.1KB 453.1KB -1.0B
kibanaReact 203.5KB 203.5KB -2.0B
lens 1.0MB 1.0MB -1.0B
maps 2.7MB 2.7MB -1.0B
mapsEms 174.0KB 174.0KB -1.0B
ml 3.6MB 3.6MB -1.0B
reporting 43.9KB 43.9KB -1.0B
security 514.6KB 514.6KB -1.0B
securitySolution 4.6MB 4.6MB -1.0B
uiActionsEnhanced 128.8KB 128.8KB -1.0B
uptime 568.6KB 568.6KB -1.0B
visTypeTimeseries 485.8KB 485.8KB -1.0B
visTypeVega 1.9MB 1.9MB -2.0B
visTypeVislib 373.7KB 373.7KB -1.0B
total -23.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 300.5KB 301.0KB +468.0B
fieldFormats 49.0KB 49.0KB -1.0B
fleet 104.7KB 104.7KB -1.0B
kbnUiSharedDeps-css 596.7KB 597.0KB +321.0B
kbnUiSharedDeps-npmDll 5.1MB 5.1MB +18.3KB
kbnUiSharedDeps-srcJs 3.8MB 3.8MB -1.0B
kibanaUtils 85.8KB 85.7KB -1.0B
share 54.0KB 54.0KB -1.0B
total +19.1KB

History

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

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.

Uptime LGTM

@breehall
Copy link
Contributor Author

breehall commented Oct 12, 2021

Hey @elastic/kibana-presentation, @elastic/kibana-reporting-services, @pzl
Do you mind reviewing this PR to see if there are any concerns or questions with the upgrade of EUI in Kibana? I'd be happy to answer any questions you have. 😄

@breehall
Copy link
Contributor Author

Merging this PR as the remaining reviews are snapshot related

@breehall breehall merged commit a51545e into master Oct 12, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Oct 12, 2021
* Upgraded the version of EUI to 38.2.0 from 38.0.1

* Updated the i18n mappings required for EUI v.38.2.0

* Update i18n snapshots and resolve linting error

* Removed html_id_generator mocks.

Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains an mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts

* Resolve linting error in i18n mapping file

* Removed html_id_generator mocks.

Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains a mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts

* Update plugin snapshots

* Resolve merge conflict in license_checker config.ts file

* Upgrade EUI to version 39.0.0 from the original target (38.2.0) to handle an issue found with a functional test during the original upgrade

* Updated the i18n mapping for EUI v.39.0.0

* Update various snapshots to account for the an i18n translation token addition in EUI v. 39.0.0

* Updated test cases marked as obsolete by CI

* Update src/dev/license_checker/config.ts

Removing TODO comments from src/dev/license_checker/config.ts as they are no longer needed.

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Oct 12, 2021
* Upgraded the version of EUI to 38.2.0 from 38.0.1

* Updated the i18n mappings required for EUI v.38.2.0

* Update i18n snapshots and resolve linting error

* Removed html_id_generator mocks.

Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains an mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts

* Resolve linting error in i18n mapping file

* Removed html_id_generator mocks.

Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains a mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts

* Update plugin snapshots

* Resolve merge conflict in license_checker config.ts file

* Upgrade EUI to version 39.0.0 from the original target (38.2.0) to handle an issue found with a functional test during the original upgrade

* Updated the i18n mapping for EUI v.39.0.0

* Update various snapshots to account for the an i18n translation token addition in EUI v. 39.0.0

* Updated test cases marked as obsolete by CI

* Update src/dev/license_checker/config.ts

Removing TODO comments from src/dev/license_checker/config.ts as they are no longer needed.

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Bree Hall <40739624+breehall@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
@spalger spalger deleted the eui-upgrade-38.2.0 branch May 8, 2022 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed 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 v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.