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 38.0.1 #112462

Merged
merged 16 commits into from
Sep 29, 2021
Merged

Bumping EUI to 38.0.1 #112462

merged 16 commits into from
Sep 29, 2021

Conversation

1Copenut
Copy link
Contributor

@1Copenut 1Copenut commented Sep 16, 2021

Summary

eui@37.6.0eui@38.0.1


38.0.1

Reverts

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

38.0.0

  • Added optional line numbers to EuiCodeBlock (#4993)
  • Removed emoticon support and removed rendered <div> from EuiMarkdownFormat (#5176)
  • Moved EuiCheckbox and EuiRadio inputs to always float inline on top of the faux inputs (#5152)

Bug fixes

  • Fixed EuiDataGrid stripes not alternating as expected on sort/pagination (#5070)

Breaking changes

  • Upgraded TypeScript version to ~4.1.3 (#5182)
  • Added clip property to EuiScreenReaderOnly, to fix positioning issues within scrolling containers (#5152)

37.7.0

  • Added placeholder prop to EuiMarkdownEditor (#5151)
  • Added .eui-textNumber utility class to apply tnum font-feature setting (#5078)
  • Changed EuiPageHeader's tab implementation to use size xl when only content (#5135)
  • Added pageTitleProps prop to EuiPageHeader to pass through props to the EuiTitle (#5135)
  • Added screen-reader only <h1> to EuiPageHeader when tabs exist without a pageTitle (#5135)
  • Added bottomBorder prop and xl size to EuiTabs (#5135)
  • Added prepend and append props to EuiTab (#5135)
  • Refactored styles of EuiTabs (#5135)
  • Removed Sass variables for EuiTabs font size ($euiTabFontSize, $euiTabFontSizeS, $euiTabFontSizeL) (#5135)
  • Extended all EuiTabProps for each EuiTabbedContentTab (#5135)
  • Changed EuiPopover's repositionOnScroll function to prevent popover and input elements from separating on scroll when nested in EuiFlyout (#5155)
  • Added the repositionOnScroll prop to EuiSuperSelect (#5155)
  • Added useGeneratedHtmlId utility, which memoizes the randomly generated ID on mount and prevents regenerated IDs on component rerender (#5133)
  • Fixed z-index styles that were causing parts of EuiResizableContainer to overlap EuiHeader (#5164)

Bug fixes

  • Fixed [de]optimization bug in EuiDataGrid when cells are removed from the DOM via virtualization (#5163)

Theme: Amsterdam

  • Deprecated display prop of EuiTabs in favor of unified styles and bottomBorder (#5135)

37.6.2

Reverts

  • Reverted EuiScreenReaderOnly clip property (#5150)

37.6.1

Bug fixes

  • [REVERTED in 37.6.2] Fixed EuiScreenReaderOnly positioning issues within scrolling containers (#5130)
  • Fixed EuiDataGrid cell actions not unmounting from the DOM after mouse interaction (#5120)
  • Optimized EuiDataGrid cell interactions' performance (#5136)

@1Copenut 1Copenut added auto-backport Deprecated - use backport:version if exact versions are needed EUI release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0 labels Sep 16, 2021
@@ -40,7 +40,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.dashboard.loadSavedDashboard(clonedDashboardName);
await retry.try(async () => {
const panelTitles = await PageObjects.dashboard.getPanelTitles();
expect(panelTitles).to.eql(PageObjects.dashboard.getTestVisualizationNames());
const visiblePanelTitles = panelTitles.map((title) => title.split('\n')[1]);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@constancecchen I wrote a helper method called getVisiblePanelTitles() after I wrote this string split a second or third time. I think we can clean these up to use that method (assuming tests still pass) but I wanted to get to green before refactoring.

Copy link
Member

@cee-chen cee-chen Sep 27, 2021

Choose a reason for hiding this comment

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

Just a hunch, but I think many these issues/functional failures will go away if we backport a fix to our EuiScreenReaderOnly change: elastic/eui#5215

* Reverted the SR-only class behavior to use `left: -10000px;`
* Reverting tests to previous assertions
* package.json
* package-lock.json
* license-checker
@chandlerprall chandlerprall changed the title Bumping EUI to 38.0.0 Bumping EUI to 38.0.1 Sep 27, 2021
@1Copenut 1Copenut self-assigned this Sep 27, 2021
@1Copenut 1Copenut marked this pull request as ready for review September 27, 2021 22:33
@1Copenut 1Copenut requested review from a team as code owners September 27, 2021 22:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/eui-design (EUI)

@spalger
Copy link
Contributor

spalger commented Sep 27, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

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 593.1KB 596.7KB +3.6KB
kbnUiSharedDeps-npmDll 5.1MB 5.1MB +2.5KB
total +6.1KB

History

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

cc @1Copenut

Copy link
Contributor

@crob611 crob611 left a comment

Choose a reason for hiding this comment

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

Presentation changes LGTM

@1Copenut 1Copenut merged commit 7e0e8a4 into master Sep 29, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Sep 29, 2021
* Bumping EUI to 38.0.0

* Updating storyshots.test.tsx snapshot

* Removing unneeded ID mock and updating snapshot.

* Fixing panel titles by splitting visible labels.

* Updating one functional test for Discover > Data Grid

* Fixing one test on a Lens > Smokescreen accessible label

* Updating four tests to use visible labels only.

* Adding helper function to retrieve visual text only and fixing three tests.

* Dashboard > Panel Cloning all tests pass.

* Fixing accessible label test

* Fixing data_shared_attributes, two tests

* Updating tests for Discover > Data Grid

* Reverting tests ahead of EUI 38.0.1 backport
* Reverted the SR-only class behavior to use `left: -10000px;`
* Reverting tests to previous assertions

* Bumping configuration files to EUI 38.0.1
* package.json
* package-lock.json
* license-checker

Co-authored-by: Kibana Machine <42973632+kibanamachine@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 Sep 29, 2021
* Bumping EUI to 38.0.0

* Updating storyshots.test.tsx snapshot

* Removing unneeded ID mock and updating snapshot.

* Fixing panel titles by splitting visible labels.

* Updating one functional test for Discover > Data Grid

* Fixing one test on a Lens > Smokescreen accessible label

* Updating four tests to use visible labels only.

* Adding helper function to retrieve visual text only and fixing three tests.

* Dashboard > Panel Cloning all tests pass.

* Fixing accessible label test

* Fixing data_shared_attributes, two tests

* Updating tests for Discover > Data Grid

* Reverting tests ahead of EUI 38.0.1 backport
* Reverted the SR-only class behavior to use `left: -10000px;`
* Reverting tests to previous assertions

* Bumping configuration files to EUI 38.0.1
* package.json
* package-lock.json
* license-checker

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

Co-authored-by: Trevor Pierce <1Copenut@users.noreply.github.com>
@mshustov mshustov deleted the eui_38_0_0 branch September 29, 2021 19:40
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 v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants