-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Bumping EUI to 38.0.1 #112462
Conversation
@@ -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]); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Pinging @elastic/eui-design (EUI) |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: cc @1Copenut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Presentation changes LGTM
* 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 <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* 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 <[email protected]> Co-authored-by: Trevor Pierce <[email protected]>
Summary
[email protected]
⏩[email protected]
38.0.1
Reverts
EuiScreenReaderOnly
left positioning change due to Selenium issues (#5215)38.0.0
EuiCodeBlock
(#4993)emoticon
support and removed rendered<div>
fromEuiMarkdownFormat
(#5176)EuiCheckbox
andEuiRadio
inputs to always float inline on top of the faux inputs (#5152)Bug fixes
EuiDataGrid
stripes not alternating as expected on sort/pagination (#5070)Breaking changes
clip
property toEuiScreenReaderOnly
, to fix positioning issues within scrolling containers (#5152)37.7.0
placeholder
prop toEuiMarkdownEditor
(#5151).eui-textNumber
utility class to applytnum
font-feature setting (#5078)EuiPageHeader
's tab implementation to use sizexl
when only content (#5135)pageTitleProps
prop toEuiPageHeader
to pass through props to theEuiTitle
(#5135)<h1>
toEuiPageHeader
when tabs exist without apageTitle
(#5135)bottomBorder
prop andxl
size
toEuiTabs
(#5135)prepend
andappend
props toEuiTab
(#5135)EuiTabs
(#5135)EuiTabs
font size ($euiTabFontSize, $euiTabFontSizeS, $euiTabFontSizeL
) (#5135)EuiTabProps
for eachEuiTabbedContentTab
(#5135)EuiPopover
'srepositionOnScroll
function to prevent popover and input elements from separating on scroll when nested inEuiFlyout
(#5155)repositionOnScroll
prop toEuiSuperSelect
(#5155)useGeneratedHtmlId
utility, which memoizes the randomly generated ID on mount and prevents regenerated IDs on component rerender (#5133)z-index
styles that were causing parts ofEuiResizableContainer
to overlapEuiHeader
(#5164)Bug fixes
EuiDataGrid
when cells are removed from the DOM via virtualization (#5163)Theme: Amsterdam
display
prop ofEuiTabs
in favor of unified styles andbottomBorder
(#5135)37.6.2
Reverts
EuiScreenReaderOnly
clip property (#5150)37.6.1
Bug fixes
EuiScreenReaderOnly
positioning issues within scrolling containers (#5130)EuiDataGrid
cell actions not unmounting from the DOM after mouse interaction (#5120)EuiDataGrid
cell interactions' performance (#5136)