-
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
Upgrade EUI to v14.9.0 #49678
Upgrade EUI to v14.9.0 #49678
Conversation
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
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! Test & snapshot changes regarding EuiSwitch look sane
.../legacy/plugins/spaces/public/views/management/edit_space/enabled_features/feature_table.tsx
Outdated
Show resolved
Hide resolved
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.
Spaces changes LGTM!
💚 Build Succeeded |
💚 Build Succeeded |
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
💔 Build Failed |
.../legacy/plugins/spaces/public/views/management/edit_space/enabled_features/feature_table.tsx
Outdated
Show resolved
Hide resolved
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 assuming appropriate strings are added to the switches where I added comments (approving now to not be a bottleneck)
@@ -59,6 +59,8 @@ export const JobSwitch = React.memo<JobSwitchProps>( | |||
setIsLoading(true); | |||
onJobStateChange(job, job.latestTimestampMs || 0, e.target.checked); | |||
}} | |||
showLabel={false} | |||
label="" // TODO: Add label for a11y |
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.
Flagging this TODO as something to be resolved before merge
@@ -247,6 +247,8 @@ export const JobSettingsForm: FC<JobSettingsFormProps> = ({ | |||
useDedicatedIndex: checked, | |||
}); | |||
}} | |||
showLabel={false} | |||
label="" // TODO: Add label for a11y |
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.
Flagging this TODO as something to be resolved before merge
@@ -43,6 +43,8 @@ export const SparseDataSwitch: FC = () => { | |||
checked={sparseData} | |||
onChange={toggleSparseData} | |||
data-test-subj="mlJobWizardSwitchSparseData" | |||
showLabel={false} | |||
label="" // TODO: Add label for a11y |
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.
Flagging this TODO as something to be resolved before merge
@@ -29,6 +29,8 @@ export const ModelPlotSwitch: FC = () => { | |||
checked={modelPlotEnabled} | |||
onChange={toggleModelPlot} | |||
data-test-subj="mlJobWizardSwitchModelPlot" | |||
showLabel={false} | |||
label="" // TODO: Add label for a11y |
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.
Flagging this TODO as something to be resolved before merge
@@ -29,6 +29,8 @@ export const DedicatedIndexSwitch: FC = () => { | |||
checked={useDedicatedIndex} | |||
onChange={toggleModelPlot} | |||
data-test-subj="mlJobWizardSwitchUseDedicatedIndex" | |||
showLabel={false} | |||
label="" // TODO: Add label for a11y |
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.
Flagging this TODO as something to be resolved before merge
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
💔 Build Failed |
💚 Build Succeeded |
💚 Build Succeeded |
* eui to 14.9.0 * euiswitch updtates * misc snapshot * x-pack functional fixes * more euiswitch functional test fixes * label-less switches for spaces management * more euiswitch fixes * telemetry form a11y * snapshot update * label updates * more switch updates * lint
* 'master' of github.com:elastic/kibana: (27 commits) [Rollup] Fix for clone job workflow (elastic#50501) Empty message "No data available" for Labels and User metadata sections missing (elastic#49846) [APM] Duration by Country map doesn't take `transactionName` into account (elastic#50315) Remove react references from core `Notifications` apis (elastic#49573) Updated APM Indices endpoints to use the SavedObjectsClient from the legacy request context, and set the apm-indices schema object to be namspace-agnostic [Metrics UI] Calculate interval based on the dataset's period (elastic#50194) chore(NA): add new platform discovered plugins as entry points to check for dependencies on clean dll tasks (elastic#50610) [Telemetry] change of optin status telemetry (elastic#50158) [SIEM][Detection Engine] REST API Additions (elastic#50514) [DOCS] Removes dashboard-only mode doc (elastic#50441) [Filters] Fix operator overflowing out popover (elastic#50030) Change telemetry optIn to default to true (elastic#50490) [Maps] make grid rectangles the default symbolization for geo grid source (elastic#50169) Allow registered applications to hide Kibana chrome (elastic#49795) Upgrade EUI to v14.9.0 (elastic#49678) [Metrics UI] Convert layouts to use React components (elastic#49134) [Search service] Add support for ES request preference (elastic#49424) [Newsfeed/Lint] fix chained fn lint (elastic#50515) [Monitoring] Fix logstash pipelines page in multi-cluster environment (elastic#50166) [SIEM] Events viewer fixes (elastic#50175) ...
* eui to 14.9.0 * euiswitch updtates * misc snapshot * x-pack functional fixes * more euiswitch functional test fixes * label-less switches for spaces management * more euiswitch fixes * telemetry form a11y * snapshot update * label updates * more switch updates * lint
Summary
Upgrade EUI from
14.8.0
to14.9.0
EuiSwitch
makes up most of the noise here. It changed from being aninput
to abutton
with a shimmed event. This was done for accessibility reasons, and should be generally unnoticeable to users. Functional test eventing, however, required quite a few updates.14.9.0
euiTreeView
component for rendering recursive objects such as folder structures. (#2409)euiXScrollWithShadows()
mixin and.eui-xScrollWithShadows
utility class (#2458)EuiColorStops
where empty string values would cause range min or max to be NaN (#2496)EuiSwitch
a11y by aligning to aria roles (#2491)EuiSwitch
to TypeScript (#2491)EuiSwitch
variation (#2491)Bug fixes
moz-focus-inner
(#2445)aria-modal
attribute inEuiPopover
(#2488)EuiCodeBlock
controls and added more tests (#2459)EuiCodeBlock
so thatoverflowHeight
now applies amaxHeight
instead of aheight
on the block (#2487)EuiSwitch
form behavior by adding a default buttontype
of 'button' (#2491)