Skip to content

Auto-fix violations of the @elastic/eui/consistent-is-invalid-props ESLint rule#226787

Merged
alexwizp merged 24 commits intoelastic:mainfrom
alexwizp:fix-consistent-is-invalid-props
Jul 18, 2025
Merged

Auto-fix violations of the @elastic/eui/consistent-is-invalid-props ESLint rule#226787
alexwizp merged 24 commits intoelastic:mainfrom
alexwizp:fix-consistent-is-invalid-props

Conversation

@alexwizp
Copy link
Contributor

@alexwizp alexwizp commented Jul 7, 2025

Summary

This PR applies the auto-fix for the newly introduced @elastic/eui/consistent-is-invalid-props ESLint rule across the codebase. The rule ensures consistent validation state handling between EuiFormRow components and their child form controls.

Changes

  • Auto-fixed instances where isInvalid prop values were inconsistent between parent EuiFormRow components and their form control children

Related

@alexwizp
Copy link
Contributor Author

alexwizp commented Jul 7, 2025

/ci

describedByIds={idAria ? [idAria] : undefined}
{...rest}
>
<EuiComboBox<PackOption>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@elastic/security-defend-workflows please review

@alexwizp alexwizp marked this pull request as ready for review July 7, 2025 19:26
@alexwizp alexwizp requested review from a team as code owners July 7, 2025 19:26
@alexwizp alexwizp requested a review from a team July 7, 2025 19:27
@alexwizp alexwizp requested review from a team as code owners July 7, 2025 19:27
@alexwizp
Copy link
Contributor Author

@elastic/obs-ux-management-team, @elastic/stack-monitoring please review

…alid-props

# Conflicts:
#	x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx
Copy link
Member

@pickypg pickypg left a comment

Choose a reason for hiding this comment

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

LGT Stack Monitoring

Copy link
Contributor

@parkiino parkiino left a comment

Choose a reason for hiding this comment

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

defend workflow changes 👍

@elasticmachine
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.6MB 2.6MB +147.0B
automaticImport 1.1MB 1.1MB +5.0B
cases 1.3MB 1.3MB +24.0B
contentConnectors 470.1KB 470.1KB +28.0B
datasetQuality 418.3KB 418.5KB +134.0B
dataViewFieldEditor 99.5KB 99.6KB +28.0B
dataVisualizer 681.0KB 681.0KB +38.0B
discover 1.1MB 1.1MB +134.0B
enterpriseSearch 1.1MB 1.1MB +40.0B
fileUpload 644.6KB 644.6KB +29.0B
fleet 2.1MB 2.1MB +283.0B
imageEmbeddable 111.3KB 111.3KB +14.0B
indexLifecycleManagement 161.9KB 161.9KB +14.0B
indexManagement 678.0KB 678.1KB +96.0B
infra 1.0MB 1.0MB +268.0B
ingestPipelines 361.4KB 361.5KB +12.0B
lens 1.5MB 1.5MB +37.0B
lists 124.7KB 124.7KB +27.0B
ml 5.4MB 5.4MB +918.0B
monitoring 630.4KB 630.7KB +252.0B
observability 1.3MB 1.3MB +134.0B
osquery 1.0MB 1.0MB +121.0B
searchInferenceEndpoints 96.7KB 96.7KB +12.0B
searchQueryRules 121.2KB 121.3KB +78.0B
securitySolution 9.8MB 9.8MB +427.0B
serverlessSearch 323.0KB 323.0KB +21.0B
slo 975.2KB 975.3KB +177.0B
snapshotRestore 249.2KB 249.9KB +662.0B
stackConnectors 617.7KB 618.1KB +367.0B
streamsApp 592.6KB 592.6KB +12.0B
synthetics 1.0MB 1.0MB +564.0B
transform 621.6KB 621.8KB +198.0B
triggersActionsUi 1.5MB 1.5MB +173.0B
uptime 490.9KB 491.1KB +176.0B
total +5.5KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
esUiShared 89.4KB 89.5KB +12.0B
fleet 166.9KB 166.9KB +14.0B
indexLifecycleManagement 26.5KB 26.5KB +14.0B
visDefaultEditor 31.2KB 31.1KB -11.0B
total +29.0B

History

@alexwizp
Copy link
Contributor Author

@elastic/obs-ux-management-team please review

Copy link
Member

@maryam-saeidi maryam-saeidi left a comment

Choose a reason for hiding this comment

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

LGTM!

@alexwizp alexwizp merged commit 00082ef into elastic:main Jul 18, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1

https://github.com/elastic/kibana/actions/runs/16365801395

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 18, 2025
…SLint rule (elastic#226787)

## Summary
This PR applies the auto-fix for the newly introduced
`@elastic/eui/consistent-is-invalid-props` ESLint rule across the
codebase. The rule ensures consistent validation state handling between
`EuiFormRow` components and their child form controls.

## Changes
- Auto-fixed instances where `isInvalid` prop values were inconsistent
between parent `EuiFormRow` components and their form control children

## Related
- elastic/eui#8843

---------

Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 00082ef)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 18, 2025
…rops ESLint rule (#226787) (#228557)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Auto-fix violations of the @elastic/eui/consistent-is-invalid-props
ESLint rule (#226787)](#226787)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2025-07-18T08:20:03Z","message":"Auto-fix
violations of the @elastic/eui/consistent-is-invalid-props ESLint rule
(#226787)\n\n## Summary\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/consistent-is-invalid-props` ESLint rule
across the\ncodebase. The rule ensures consistent validation state
handling between\n`EuiFormRow` components and their child form
controls.\n\n## Changes\n- Auto-fixed instances where `isInvalid` prop
values were inconsistent\nbetween parent `EuiFormRow` components and
their form control children\n\n## Related\n-
elastic/eui#8843\n\n---------\n\nCo-authored-by: Robert Jaszczurek
<92210485+rbrtj@users.noreply.github.com>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"00082ef4b2ad0fa144c3bc1f648da0b9dc15ca02","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","Team:Fleet","backport:prev-minor","Team:obs-ux-infra_services","Team:obs-ux-management","v9.2.0"],"title":"Auto-fix
violations of the @elastic/eui/consistent-is-invalid-props ESLint
rule","number":226787,"url":"https://github.com/elastic/kibana/pull/226787","mergeCommit":{"message":"Auto-fix
violations of the @elastic/eui/consistent-is-invalid-props ESLint rule
(#226787)\n\n## Summary\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/consistent-is-invalid-props` ESLint rule
across the\ncodebase. The rule ensures consistent validation state
handling between\n`EuiFormRow` components and their child form
controls.\n\n## Changes\n- Auto-fixed instances where `isInvalid` prop
values were inconsistent\nbetween parent `EuiFormRow` components and
their form control children\n\n## Related\n-
elastic/eui#8843\n\n---------\n\nCo-authored-by: Robert Jaszczurek
<92210485+rbrtj@users.noreply.github.com>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"00082ef4b2ad0fa144c3bc1f648da0b9dc15ca02"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226787","number":226787,"mergeCommit":{"message":"Auto-fix
violations of the @elastic/eui/consistent-is-invalid-props ESLint rule
(#226787)\n\n## Summary\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/consistent-is-invalid-props` ESLint rule
across the\ncodebase. The rule ensures consistent validation state
handling between\n`EuiFormRow` components and their child form
controls.\n\n## Changes\n- Auto-fixed instances where `isInvalid` prop
values were inconsistent\nbetween parent `EuiFormRow` components and
their form control children\n\n## Related\n-
elastic/eui#8843\n\n---------\n\nCo-authored-by: Robert Jaszczurek
<92210485+rbrtj@users.noreply.github.com>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"00082ef4b2ad0fa144c3bc1f648da0b9dc15ca02"}}]}]
BACKPORT-->

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
Bluefinger pushed a commit to Bluefinger/kibana that referenced this pull request Jul 22, 2025
…SLint rule (elastic#226787)

## Summary
This PR applies the auto-fix for the newly introduced
`@elastic/eui/consistent-is-invalid-props` ESLint rule across the
codebase. The rule ensures consistent validation state handling between
`EuiFormRow` components and their child form controls.

## Changes
- Auto-fixed instances where `isInvalid` prop values were inconsistent
between parent `EuiFormRow` components and their form control children

## Related
- elastic/eui#8843

---------

Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…SLint rule (elastic#226787)

## Summary
This PR applies the auto-fix for the newly introduced
`@elastic/eui/consistent-is-invalid-props` ESLint rule across the
codebase. The rule ensures consistent validation state handling between
`EuiFormRow` components and their child form controls.

## Changes
- Auto-fixed instances where `isInvalid` prop values were inconsistent
between parent `EuiFormRow` components and their form control children

## Related
- elastic/eui#8843

---------

Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
alexwizp added a commit that referenced this pull request Sep 30, 2025
…int rule (#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[#230068](#226787). This PR just
resolves two remaining cases that were missed.
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 30, 2025
…int rule (elastic#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[elastic#230068](elastic#226787). This PR just
resolves two remaining cases that were missed.

(cherry picked from commit 25b903b)
VladimirFilonov pushed a commit to VladimirFilonov/kibana that referenced this pull request Sep 30, 2025
…int rule (elastic#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[elastic#230068](elastic#226787). This PR just
resolves two remaining cases that were missed.
kibanamachine added a commit that referenced this pull request Sep 30, 2025
…s` eslint rule (#236763) (#236901)

# Backport

This will backport the following commits from `main` to `9.1`:
- [fix some voilations of `@elastic/eui/consistent-is-invalid-props`
eslint rule (#236763)](#236763)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2025-09-30T09:07:58Z","message":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule (#236763)\n\nMost violations of the
`@elastic/eui/consistent-is-invalid-props` ESLint\nrule were addressed
in\n[#230068](#226787). This PR
just\nresolves two remaining cases that were
missed.","sha":"25b903b9cc4a62dc3f12c6b97e9d736e84599466","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","backport:version","v9.2.0","v9.1.5"],"title":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule","number":236763,"url":"https://github.com/elastic/kibana/pull/236763","mergeCommit":{"message":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule (#236763)\n\nMost violations of the
`@elastic/eui/consistent-is-invalid-props` ESLint\nrule were addressed
in\n[#230068](#226787). This PR
just\nresolves two remaining cases that were
missed.","sha":"25b903b9cc4a62dc3f12c6b97e9d736e84599466"}},"sourceBranch":"main","suggestedTargetBranches":["9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236763","number":236763,"mergeCommit":{"message":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule (#236763)\n\nMost violations of the
`@elastic/eui/consistent-is-invalid-props` ESLint\nrule were addressed
in\n[#230068](#226787). This PR
just\nresolves two remaining cases that were
missed.","sha":"25b903b9cc4a62dc3f12c6b97e9d736e84599466"}},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
rylnd pushed a commit to rylnd/kibana that referenced this pull request Oct 17, 2025
…int rule (elastic#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[elastic#230068](elastic#226787). This PR just
resolves two remaining cases that were missed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.