-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Upgrade EUI to v23.3.1 #65877
Upgrade EUI to v23.3.1 #65877
Conversation
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.
ES UI changes LGTM. Thanks for doing this!
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.
Operations: kbn-ui-shared update LGTM
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.
LGTM for platform changes
@@ -35,7 +35,7 @@ export function DocViewer(renderProps: DocViewRenderProps) { | |||
.getDocViewsSorted(renderProps.hit) | |||
.map(({ title, render, component }: DocView, idx: number) => { | |||
return { | |||
id: title, | |||
id: `kbn_doc_viewer_tab_${idx}`, |
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.
Why was this change introduced? Generally it's better to not use the array position for these kind of identifiers. They will be reused when the array changes which can cause unexpected behavior. If there are uniqueness-concerns we could use both (kbn_doc_viewer_tab_${idx}_${title}
)
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.
EUI now uses id
as a DOM selector and these titles are not valid. We could remove spaces or otherwise transform the title string. Would that be preferable?
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.
Makes sense, thanks for the explanation. I checked the code and it's not possible this particular array while change on the fly, so I think it's fine leaving it like this for now - no need to mess around with the title. If it would have been simple it would be preferable to not use the index, but no big deal.
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.
SIEM changes look good, Thank you!
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.
Kibana App changes LGTM, code review only
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.
For Fixed EuiFieldSearch clear button inconsistencies (#3270)
Seems like Clear button is displaying now, but it's position isn't alright, it's in the middle. see in below screen above table.
Pinging @elastic/uptime (Team:uptime) |
@shahzad31 I updated the search field using a different layout approach. |
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.
LGTM !!
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.
LGTM
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.
Endpoint changes look good.
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.
Looks good from Stack Monitoring pov 👍
Google Cloud Storage timeout jenkins test this |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
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.
Canvas lgtm
* eui to 23.2.0 * nav drawer ts updates * eui to 23.3.0 * src snapshot updates * makeId -> htmlIdGenerator mocks * EuiCodeBlock testenv element lookup * x-pack snapshot updates * remove obsolete EuiCode and EuiCodeBlock mocks * eui to 23.3.1 * patch updates * searchbar type update * docViewer tabs use valid DOMString id * docViewer snapshot * header updates * cert_search field wrapper update
* eui to 23.2.0 * nav drawer ts updates * eui to 23.3.0 * src snapshot updates * makeId -> htmlIdGenerator mocks * EuiCodeBlock testenv element lookup * x-pack snapshot updates * remove obsolete EuiCode and EuiCodeBlock mocks * eui to 23.3.1 * patch updates * searchbar type update * docViewer tabs use valid DOMString id * docViewer snapshot * header updates * cert_search field wrapper update
* eui to 23.2.0 * nav drawer ts updates * eui to 23.3.0 * src snapshot updates * makeId -> htmlIdGenerator mocks * EuiCodeBlock testenv element lookup * x-pack snapshot updates * remove obsolete EuiCode and EuiCodeBlock mocks * eui to 23.3.1 * patch updates * searchbar type update * docViewer tabs use valid DOMString id * docViewer snapshot * header updates * cert_search field wrapper update
Summary
v22.3.1
⏩v23.3.1
v3.7.2
htmlIdGenerator
utilhref
now also setrel
23.3.1
Bug Fixes
EuiSuperDatePicker
quick selection menu overriding specified time range with default values (#3446)EuiDatePopoverContent
onChange
event to only acceptstring
date input (#3460)23.3.0
aria-hidden = true
toEuiRangeSlider
andEuiRangeTrack
ifshowInput = true
(#3423)testenv
mock forEuiCode
andEuiCodeBlock
(#3405)displayName
to components usingReact.forwardRef
(#3440)Bug Fixes
EuiCode
andEuiCodeBlock
from erroring in environments without a DOM implementation (#3405)ApplyClassComponentDefaults
typescript utility to correctly determine defaulted properties' types (#3430)prettyDuration
return type to bestring
, use fallback value (#3438)23.2.0
iconType
prop toEuiDatePicker
(#3383)max-width: 100%
toEuiPageBody
so inner flex-based items don't overflow their containers (#3375)titleSize
prop toEuiStep
andEuiSteps
(#3340)ref
passed toEuiHeaderSectionItemButton
(#3378)iconProps
prop toEuiCollapsibleNavGroup
to extend the props passed to the renderedEuiIcon
(#3365)closeButtonProps
toEuiCollapsibleNav
(#3398)buffer
prop toEuiPopover
for altering minimum distance to container edges (#3398)search
prop changes to updateEuiInMemoryTable
internal query state (#3371)EuiResizableContainer
component (#2701)EuiIcon
to prevent delays and flickering when rendering an already fetched icon (#3404)Bug Fixes
EuiFieldSearch
to triggeronSearch
single time instead of two times (#3425)EuiBasicTable
item selection whenid
is0
(#3417)EuiNavDrawer
not closing on outside click after being unlocked (#3415)EuiBadge
iconOnClick
props makes badge text clickable (#3392)id
requirement iflabel
is used inEuiRadio
(#3382)EuiDatePicker
where it's popover would sit beneath other DOM siblings that had z-index applied (#3376)download
glyph toEuiIcon
(#3364)max-width: 100%
toEuiPageBody
so inner flex-based items don't overflow their containers (#3375)ReactElement
toEuiCard
image
prop type to allow custom component (#3370)EuiCollapsibleNavGroup
titleSize
prop type to properly excludel
andm
sizes (#3365)EuiDatePickerRange
start date popover to sit left under the icon (#3383)euiFormControlIsLoading
SASS mixin to prevent the loading icon from overlapping with the text when the form control iscompressed
and adjusted the amount of padding (#3401EuiHeader
z-index
issues with popovers and added body classes for the presence ofEuiFlyout
andEuiCollapsibleNav.isOpen
(#3398)EuiInMemoryTable
data reset when filter is set and item is selected (#3419)popoverPlacement
default value forEuiDatePicker
(#3427)23.1.0
$euiHeaderHeightCompensation
whenEuiHeader
is fixed (#3369)Bug Fixes
EuiDescribedFormGroup
issue that prevented it from shrinking down properly in smaller viewports (#3369)23.0.0
showCloseButton
anddockedBreakpoint
flexibility toEuiCollapsibleNav
(#3330)panelStyle
prop toEuiPopover
to distinguish style object configuration (#3329)popoverPlacement
prop inEuiDatePicker
(#3359)EuiDatePicker
'sstartDate
andendDate
types to acceptnull
values for better interoperability (#3343)EuiCommentList
component (#3344)EuiColorPicker
(#3336)Bug Fixes
EuiInMemoryTable
isClearable
property to initiate reset (#3328)schema
attribute form<input/>
inEuiInMemoryTable
(#3337)EuiCollapsibleNav
docked states on mobile (#3330)EuiPopover
positioning from being overridden bystyle
prop (#3329)EuiCodeBlock
not copying updated content (#3351)EuiDatePickerRange
(#3359)Breaking changes
TypeScript
to 3.7.2 (#3295)EuiCollapsibleNav
prop name fromhideButtonIfDocked
toshowButtonIfDocked
and flipped default (#3330)22.6.0
NavDrawer
,NavDrawerGroup
, andNavDrawerFlyout
to TypeScript (#3268)EuiDatePicker
,EuiDatePickerRange
,EuiSuperDatePicker
, andEuiSuperUpdateButton
to TypeScript (#2891)EuiTabs
focus states (#3299)EuiTour
,EuiTourStep
, anduseEuiTour
components (#2766)EuiBeacon
component (#2766)offset
andarrowChildren
props toEuiPopover
for anchor element customization (#2766)Bug Fixes
EuiProgress
max
property to allowundefined
(#3198)22.5.0
forceState
prop to controlEuiAccordion
state from outside (#3240)Bug Fixes
22.4.0
href
,onClick
, and related props inEuiBasicTable
default actions (#3115)EuiCodeEditor
to setreadonly
andid
on<textarea />
(#3212)EuiComment
component (#3179)Deprecation
Bug Fixes
EuiTabbedContent
focus discrepancy between selected and initialFocus tabs (#3285)initialSelectedTab
prop ofEuiTabbedContent
to not steal focus from content. Which fixed the bug inEuiSuperDatePicker
that required two clicks to focus input in relative tab (#3154)img
element inEuiIcon
using custom SVGs to have analt
attribute with an empty string, rather than noalt
attribute at all (#3245)EuiIcon
's icontype
definition to allow custom React components (#3252)initialSelectedTab
properties used inEuiDatePopoverContent
(#3254)EuiSideNavItem
overriding customclassName
of item and icon (#3283)EuiFieldSearch
clear button inconsistencies (#3270)href
usage ofrel
(#3258)