From 93f4198e521082a311acceb7b1f5e78506cdeb8c Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Thu, 31 Jul 2025 15:26:09 +0300 Subject: [PATCH 01/12] Fix violations of the @elastic/eui/no-unnamed-radio-group ESLint rule Closes: https://github.com/elastic/kibana/issues/212887 --- .../private/links/public/components/editor/link_editor.tsx | 3 ++- .../components/options_list_editor_options.tsx | 4 +++- .../static/forms/components/fields/radio_group_field.tsx | 6 +++++- .../objects_table/components/import_mode_control.tsx | 3 ++- .../shared/share/public/components/url_panel_content.tsx | 3 ++- .../date_picker/src/components/full_time_range_selector.tsx | 3 ++- .../components/phases/shared_fields/shrink_field.tsx | 1 + .../components/maintenance_window_category_selection.tsx | 3 ++- .../steps/confirm_settings_step/endpoint_selection.tsx | 3 ++- .../steps/connector_step/connector_selector.tsx | 3 ++- .../fleet_server_instructions/steps/set_deployment_mode.tsx | 4 ++-- .../components/agent_policy_advanced_fields/index.tsx | 4 ++-- .../steps/components/package_policy_input_stream.tsx | 3 ++- .../edit_output_flyout/output_form_kafka_authentication.tsx | 5 ++++- .../edit_output_flyout/output_form_kafka_partitioning.tsx | 3 ++- .../edit_output_flyout/output_form_kafka_topics.tsx | 3 ++- .../fleet_server_hosts_flyout/ssl_form_section.tsx | 3 ++- .../steps/installation_mode_selection_step.tsx | 4 ++-- .../pipelines_create_from_csv/pipelines_csv_uploader.tsx | 3 ++- .../wizards/choropleth_layer_wizard/layer_template.tsx | 5 ++++- .../classes/sources/es_search_source/util/scaling_form.tsx | 3 +++ .../map_settings_panel/navigation_panel.tsx | 3 ++- .../toolbar_overlay/set_view_control/set_view_form.tsx | 3 ++- .../custom_selection_table/custom_selection_table.js | 3 ++- .../components/custom_urls/custom_url_editor/editor.tsx | 3 ++- .../components/entity_control/entity_config.tsx | 4 +++- .../public/packs/form/shards/pack_type_selectable.tsx | 2 ++ .../components/copy_mode_control.tsx | 3 ++- .../es_query/expression/esql_query_expression.tsx | 3 ++- .../metrics/metrics_explorer/components/chart_options.tsx | 4 +++- .../purge_confirmation_modal/purge_confirmation_modal.tsx | 5 +++-- .../components/fleet_extensions/csp_boxed_radio_group.tsx | 1 + .../components/fleet_extensions/asset_boxed_radio_group.tsx | 3 ++- .../components/suppression_duration_selector.tsx | 3 ++- .../flyout_components/add_to_lists_options/index.tsx | 3 ++- .../flyout_components/add_to_rules_options/index.tsx | 2 +- .../bulk_actions/bulk_duplicate_exceptions_confirmation.tsx | 3 ++- .../components/endpoint_event_collection_preset.tsx | 3 ++- .../components/detect_prevent_protection_level.tsx | 4 ++++ 39 files changed, 89 insertions(+), 38 deletions(-) diff --git a/src/platform/plugins/private/links/public/components/editor/link_editor.tsx b/src/platform/plugins/private/links/public/components/editor/link_editor.tsx index 81e33ae847622..37388bd85ebba 100644 --- a/src/platform/plugins/private/links/public/components/editor/link_editor.tsx +++ b/src/platform/plugins/private/links/public/components/editor/link_editor.tsx @@ -122,6 +122,7 @@ export const LinkEditor = ({ } setSelectedLinkType(id as LinkType); }} + name="linkType" /> ); -}; +}; \ No newline at end of file diff --git a/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx index f07a7cc6c58bf..b9286649adc11 100644 --- a/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx +++ b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx @@ -139,6 +139,7 @@ export const OptionsListEditorOptions = ({ setSingleSelect(newSingleSelect); updateState({ singleSelect: newSingleSelect }); }} + name="selectionType" /> {allowExpensiveQueries && compatibleSearchTechniques.length > 1 && ( @@ -155,6 +156,7 @@ export const OptionsListEditorOptions = ({ setSearchTechnique(newSearchTechnique); updateState({ searchTechnique: newSearchTechnique }); }} + name="searchTechnique" /> )} @@ -178,4 +180,4 @@ export const OptionsListEditorOptions = ({ ); -}; +}; \ No newline at end of file diff --git a/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/radio_group_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/radio_group_field.tsx index 9f0fb7d2076f9..164166c52874b 100644 --- a/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/radio_group_field.tsx +++ b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/radio_group_field.tsx @@ -9,6 +9,7 @@ import React from 'react'; import { EuiFormRow, EuiRadioGroup } from '@elastic/eui'; +import camelCase from 'lodash/camelCase'; import { FieldHook, getFieldValidityAndErrorMessage } from '../../hook_form_lib'; @@ -16,11 +17,13 @@ interface Props { field: FieldHook; euiFieldProps?: Record; idAria?: string; + name?: string; [key: string]: any; } -export const RadioGroupField = ({ field, euiFieldProps = {}, idAria, ...rest }: Props) => { +export const RadioGroupField = ({ field, euiFieldProps = {}, idAria, name, ...rest }: Props) => { const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); + const radioGroupName = name || camelCase(field.label || 'optionsGroup'); return ( diff --git a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx index b5acbc88126a7..e9f2efd302dd4 100644 --- a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx +++ b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx @@ -117,6 +117,7 @@ export const ImportModeControl = ({ initialValues, updateSelection }: ImportMode onChange={() => onChange({ createNewCopies: false })} > onChange({ overwrite: id === overwriteEnabled.id })} @@ -135,4 +136,4 @@ export const ImportModeControl = ({ initialValues, updateSelection }: ImportMode /> ); -}; +}; \ No newline at end of file diff --git a/src/platform/plugins/shared/share/public/components/url_panel_content.tsx b/src/platform/plugins/shared/share/public/components/url_panel_content.tsx index 54c2eccf89c67..995f8c2f331c8 100644 --- a/src/platform/plugins/shared/share/public/components/url_panel_content.tsx +++ b/src/platform/plugins/shared/share/public/components/url_panel_content.tsx @@ -498,6 +498,7 @@ class UrlPanelContentComponent extends Component = (props) => idSelected={frozenDataPreference} onChange={setPreference} compressed + name="frozenDataPreference" /> ), @@ -263,4 +264,4 @@ export const FullTimeRangeSelector: FC = (props) => )} ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx index 6e85166fc55c3..fc90c47cb0de6 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx +++ b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx @@ -60,6 +60,7 @@ export const ShrinkField: FunctionComponent = ({ phase }) => { {isUsingShardSize === undefined ? null : ( <> ); }, [options, selectedSolution, onRadioChange]); @@ -121,4 +122,4 @@ export const MaintenanceWindowSolutionSelection = ( ) ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx index f327dda89e9ca..6933bc2c1f98c 100644 --- a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx +++ b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx @@ -81,6 +81,7 @@ export const EndpointSelection = React.memo( ( ); } ); -EndpointSelection.displayName = 'EndpointSelection'; +EndpointSelection.displayName = 'EndpointSelection'; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx index a5577ca961107..86a802aecf849 100644 --- a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx +++ b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx @@ -75,6 +75,7 @@ export const ConnectorSelector = React.memo( ( ); } ); -ConnectorSelector.displayName = 'ConnectorSelector'; +ConnectorSelector.displayName = 'ConnectorSelector'; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx index 9833fc1d4527f..fc909d04c17d2 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx @@ -110,8 +110,8 @@ const DeploymentModeStepContent = ({ ]} idSelected={`${deploymentMode}_${radioSuffix}`} onChange={onChangeCallback} - name={`radio group ${radioSuffix}`} + name="deploymentMode" /> ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx index 9262cc9c1ab10..e65d29efc4f4d 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx @@ -835,7 +835,7 @@ export const AgentPolicyAdvancedOptionsContent: React.FunctionComponent = agent_features: id === 'hostname' ? [] : [{ name: 'fqdn', enabled: true }], }); }} - name="radio group" + name="hostNameFormat" /> @@ -884,4 +884,4 @@ export const AgentPolicyAdvancedOptionsContent: React.FunctionComponent = ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx index 93dc188592000..5800055d9fd65 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx @@ -406,6 +406,7 @@ export const PackagePolicyInputStreamConfig = memo( }, }); }} + name="dataStreamType" /> @@ -469,4 +470,4 @@ export const PackagePolicyInputStreamConfig = memo( ); } -); +); \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx index 07c4d3e931ff5..ae5a3ee5e9fe0 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx @@ -160,6 +160,7 @@ export const OutputFormKafkaAuthentication: React.FunctionComponent<{ } > ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx index d5f7de712cd86..5591ecace67b8 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx @@ -144,10 +144,11 @@ export const OutputFormKafkaPartitioning: React.FunctionComponent<{ data-test-subj={'settingsOutputsFlyout.kafkaPartitioningRadioInput'} options={kafkaPartitioningOptions} compressed + name="kafkaPartitioningStrategy" {...inputs.kafkaPartitionTypeInput.props} /> {renderPartitioning()} ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx index 8b0589627ed9f..b42e48f7b864a 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx @@ -142,6 +142,7 @@ export const OutputFormKafkaTopics: React.FunctionComponent<{ inputs: OutputForm data-test-subj={'editOutputFlyout.kafkaTopicsRadioInput'} options={kafkaTopicsOptions} compressed + name="kafkaTopics" {...inputs.kafkaTopicsInput.props} /> @@ -150,4 +151,4 @@ export const OutputFormKafkaTopics: React.FunctionComponent<{ inputs: OutputForm ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx index 8b6be96c082fe..f10944fb0446f 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx @@ -292,6 +292,7 @@ export const SSLFormSection: React.FunctionComponent = (props) => { data-test-subj={'fleetServerHosts.clientAuthenticationRadioInput'} options={clientAuthenticationsOptions} compressed + name="clientAuth" {...inputs.sslClientAuthInput.props} /> @@ -299,4 +300,4 @@ export const SSLFormSection: React.FunctionComponent = (props) => { ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx index 8824534c6b080..2f8b7aeb0d401 100644 --- a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx @@ -111,10 +111,10 @@ export const InstallationModeSelectionStep = ({ ]} idSelected={`${mode}_${radioSuffix}`} onChange={onChangeCallback} - name={`radio group ${radioSuffix}`} + name="installationMode" /> ) : ( ), }; -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx b/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx index 7415db3e56ea4..323255bea37a6 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx +++ b/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx @@ -102,6 +102,7 @@ export const PipelinesCsvUploader: FC = ({ options={options} idSelected={action} onChange={(id) => setAction(id as FieldCopyAction)} + name="defaultAction" /> @@ -123,4 +124,4 @@ export const PipelinesCsvUploader: FC = ({ ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx index 923fd4d0741b3..ef1db218b7804 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx +++ b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx @@ -343,6 +343,7 @@ export class LayerTemplate extends Component { })} > { { })} > { ); } -} +} \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx index 1bc7465323505..ae32bfd5cb63c 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx +++ b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx @@ -221,6 +221,7 @@ export class ScalingForm extends Component { const clusteringRadio = ( this._onScalingTypeSelect(SCALING_TYPES.CLUSTERS)} @@ -275,6 +276,7 @@ export class ScalingForm extends Component {
this._onScalingTypeSelect(SCALING_TYPES.MVT)} @@ -282,6 +284,7 @@ export class ScalingForm extends Component { {this._renderClusteringRadio()} this._onScalingTypeSelect(SCALING_TYPES.LIMIT)} diff --git a/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx index 03dbc999874a2..c0ac656aab087 100644 --- a/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx +++ b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx @@ -262,9 +262,10 @@ export function NavigationPanel({ center, settings, updateMapSetting, zoom }: Pr options={initialLocationOptions} idSelected={settings.initialLocation} onChange={onInitialLocationChange} + name="initialMapLocation" /> {renderInitialLocationInputs()} ); -} +} \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx index 1a3025fb61094..1b60cacbaa844 100644 --- a/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx +++ b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx @@ -99,6 +99,7 @@ export const SetViewForm = React.memo(({ settings, zoom, cente `} > (({ settings, zoom, cente ); }); -SetViewForm.displayName = 'SetViewForm'; +SetViewForm.displayName = 'SetViewForm'; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js index c66196b82c6aa..c6744df73c4e7 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js +++ b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js @@ -291,6 +291,7 @@ export function CustomSelectionTable({ )} {singleSelection && ( = ({ display="rowCompressed" > = ({ ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx index 1c2781446d275..efc8089431c0f 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx @@ -112,6 +112,7 @@ export const EntityConfig: FC = ({ } > { @@ -132,6 +133,7 @@ export const EntityConfig: FC = ({ } > { @@ -227,4 +229,4 @@ export const EntityConfig: FC = ({
); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx b/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx index ce64d990a5dc7..d2156babf8622 100644 --- a/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx +++ b/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx @@ -84,6 +84,7 @@ const PackTypeSelectableComponent = ({ title={ onChange({ overwrite: id === overwriteEnabled.id })} disabled={createNewCopies} data-test-subj={'cts-copyModeControl-overwriteRadioGroup'} + name="overwriteOption" /> @@ -175,4 +176,4 @@ export const CopyModeControl = ({ initialValues, updateSelection }: CopyModeCont ); -}; +}; \ No newline at end of file diff --git a/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx index 5fc680190f15e..4a1d3e58c7bba 100644 --- a/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx @@ -308,6 +308,7 @@ export const EsqlQueryExpression: React.FC< setRadioIdSelected(optionId); setParam('groupBy', optionId); }} + name="alertGroup" />
@@ -356,4 +357,4 @@ export const EsqlQueryExpression: React.FC<
); -}; +}; \ No newline at end of file diff --git a/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx index 3951c8d442c89..b837d65e4f628 100644 --- a/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx +++ b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx @@ -142,6 +142,7 @@ export const MetricsExplorerChartOptions = ({ chartOptions, onChange }: Props) = options={typeRadios} idSelected={chartOptions.type} onChange={handleTypeChange} + name="chartStyle" /> ); -}; +}; \ No newline at end of file diff --git a/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx b/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx index 897636d3576d1..0404396864eaa 100644 --- a/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx +++ b/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx @@ -98,7 +98,7 @@ export function SloPurgeConfirmationModal({ onChange={(val: string) => { setPurgeType(val); }} - name="radio group" + name="purgeType" /> {purgeType === 'fixed_age' ? ( @@ -127,6 +127,7 @@ export function SloPurgeConfirmationModal({ ]} idSelected={age} onChange={setAge} + name="purgeAge" /> ) : ( @@ -161,4 +162,4 @@ export function SloPurgeConfirmationModal({ )} ); -} +} \ No newline at end of file diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx index 8975f3e967c5a..d9d49b38b8857 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx @@ -90,6 +90,7 @@ export const RadioGroup = ({ `} > ); -}; +}; \ No newline at end of file diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx index 88a04df986757..5c856ed1d598e 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx @@ -94,6 +94,7 @@ const SuppressionDurationSelectorFields = memo(function SuppressionDurationSelec return ( <> ); -}); +}); \ No newline at end of file diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx index 7ae1cf986bce8..291d09505a235 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx @@ -44,6 +44,7 @@ const ExceptionsAddToListsOptionsComponent: React.FC - + {selectedRadioOption === 'select_rules_to_add_to' && ( >; label: string; + name?: string; } const ProtectionRadio = React.memo( @@ -125,6 +127,7 @@ const ProtectionRadio = React.memo( onChange, policy, mode, + name, 'data-test-subj': dataTestSubj, }: ProtectionRadioProps) => { const selected = policy.windows[protection].mode; @@ -174,6 +177,7 @@ const ProtectionRadio = React.memo( return ( Date: Thu, 31 Jul 2025 15:30:09 +0300 Subject: [PATCH 02/12] Update pack_type_selectable.tsx --- .../osquery/public/packs/form/shards/pack_type_selectable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx b/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx index d2156babf8622..341c80055d701 100644 --- a/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx +++ b/x-pack/platform/plugins/shared/osquery/public/packs/form/shards/pack_type_selectable.tsx @@ -84,7 +84,7 @@ const PackTypeSelectableComponent = ({ title={ Date: Thu, 31 Jul 2025 15:42:31 +0300 Subject: [PATCH 03/12] Update scaling_form.tsx --- .../classes/sources/es_search_source/util/scaling_form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx index ae32bfd5cb63c..d3b9319814e35 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx +++ b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx @@ -276,7 +276,7 @@ export class ScalingForm extends Component {
this._onScalingTypeSelect(SCALING_TYPES.MVT)} @@ -284,7 +284,7 @@ export class ScalingForm extends Component { {this._renderClusteringRadio()} this._onScalingTypeSelect(SCALING_TYPES.LIMIT)} From 46cddccde3e11c602578525185c70cd0e64ff7cf Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Thu, 31 Jul 2025 15:43:31 +0300 Subject: [PATCH 04/12] Update layer_template.tsx --- .../layers/wizards/choropleth_layer_wizard/layer_template.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx index ef1db218b7804..9e074688c684d 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx +++ b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx @@ -343,7 +343,6 @@ export class LayerTemplate extends Component { })} > { })} > { ); } -} \ No newline at end of file +} From e64975c93b434c93ca91a60ed73a80addcc17223 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 31 Jul 2025 13:15:58 +0000 Subject: [PATCH 05/12] [CI] Auto-commit changed files from 'node scripts/eslint_all_files --no-cache --fix' --- .../private/links/public/components/editor/link_editor.tsx | 2 +- .../components/options_list_editor_options.tsx | 2 +- .../objects_table/components/import_mode_control.tsx | 2 +- .../shared/share/public/components/url_panel_content.tsx | 2 +- .../ml/date_picker/src/components/full_time_range_selector.tsx | 2 +- .../components/maintenance_window_category_selection.tsx | 2 +- .../steps/confirm_settings_step/endpoint_selection.tsx | 2 +- .../steps/connector_step/connector_selector.tsx | 2 +- .../fleet_server_instructions/steps/set_deployment_mode.tsx | 2 +- .../components/agent_policy_advanced_fields/index.tsx | 2 +- .../components/steps/components/package_policy_input_stream.tsx | 2 +- .../edit_output_flyout/output_form_kafka_authentication.tsx | 2 +- .../edit_output_flyout/output_form_kafka_partitioning.tsx | 2 +- .../components/edit_output_flyout/output_form_kafka_topics.tsx | 2 +- .../components/fleet_server_hosts_flyout/ssl_form_section.tsx | 2 +- .../steps/installation_mode_selection_step.tsx | 2 +- .../pipelines_create_from_csv/pipelines_csv_uploader.tsx | 2 +- .../map_settings_panel/navigation_panel.tsx | 2 +- .../toolbar_overlay/set_view_control/set_view_form.tsx | 2 +- .../components/custom_selection_table/custom_selection_table.js | 2 +- .../components/custom_urls/custom_url_editor/editor.tsx | 2 +- .../components/entity_control/entity_config.tsx | 2 +- .../components/copy_mode_control.tsx | 2 +- .../rule_types/es_query/expression/esql_query_expression.tsx | 2 +- .../pages/metrics/metrics_explorer/components/chart_options.tsx | 2 +- .../slo/purge_confirmation_modal/purge_confirmation_modal.tsx | 2 +- .../components/fleet_extensions/asset_boxed_radio_group.tsx | 2 +- .../components/suppression_duration_selector.tsx | 2 +- .../components/flyout_components/add_to_lists_options/index.tsx | 2 +- .../bulk_actions/bulk_duplicate_exceptions_confirmation.tsx | 2 +- .../components/endpoint_event_collection_preset.tsx | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/platform/plugins/private/links/public/components/editor/link_editor.tsx b/src/platform/plugins/private/links/public/components/editor/link_editor.tsx index 37388bd85ebba..146cd534cf83f 100644 --- a/src/platform/plugins/private/links/public/components/editor/link_editor.tsx +++ b/src/platform/plugins/private/links/public/components/editor/link_editor.tsx @@ -192,4 +192,4 @@ export const LinkEditor = ({ ); -}; \ No newline at end of file +}; diff --git a/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx index b9286649adc11..51777e52e0460 100644 --- a/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx +++ b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx @@ -180,4 +180,4 @@ export const OptionsListEditorOptions = ({ ); -}; \ No newline at end of file +}; diff --git a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx index e9f2efd302dd4..efbe237f93d21 100644 --- a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx +++ b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx @@ -136,4 +136,4 @@ export const ImportModeControl = ({ initialValues, updateSelection }: ImportMode /> ); -}; \ No newline at end of file +}; diff --git a/src/platform/plugins/shared/share/public/components/url_panel_content.tsx b/src/platform/plugins/shared/share/public/components/url_panel_content.tsx index 995f8c2f331c8..cd9ee36328fd3 100644 --- a/src/platform/plugins/shared/share/public/components/url_panel_content.tsx +++ b/src/platform/plugins/shared/share/public/components/url_panel_content.tsx @@ -619,4 +619,4 @@ class UrlPanelContentComponent extends Component = (props) => )} ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx index 14c7f84bf42f7..43ec2459067e1 100644 --- a/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx +++ b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx @@ -122,4 +122,4 @@ export const MaintenanceWindowSolutionSelection = ( ) ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx index 6933bc2c1f98c..806b1c6c8d1e8 100644 --- a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx +++ b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/confirm_settings_step/endpoint_selection.tsx @@ -119,4 +119,4 @@ export const EndpointSelection = React.memo( ); } ); -EndpointSelection.displayName = 'EndpointSelection'; \ No newline at end of file +EndpointSelection.displayName = 'EndpointSelection'; diff --git a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx index 86a802aecf849..5f7e5251b7728 100644 --- a/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx +++ b/x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/steps/connector_step/connector_selector.tsx @@ -100,4 +100,4 @@ export const ConnectorSelector = React.memo( ); } ); -ConnectorSelector.displayName = 'ConnectorSelector'; \ No newline at end of file +ConnectorSelector.displayName = 'ConnectorSelector'; diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx index fc909d04c17d2..98c0fad6a3d35 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx @@ -114,4 +114,4 @@ const DeploymentModeStepContent = ({ /> ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx index e65d29efc4f4d..87a871bd880f0 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx @@ -884,4 +884,4 @@ export const AgentPolicyAdvancedOptionsContent: React.FunctionComponent = ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx index 5800055d9fd65..2817bc49fc04d 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx @@ -470,4 +470,4 @@ export const PackagePolicyInputStreamConfig = memo( ); } -); \ No newline at end of file +); diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx index ae5a3ee5e9fe0..ba2d02b9de2f4 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx @@ -420,4 +420,4 @@ export const OutputFormKafkaAuthentication: React.FunctionComponent<{ {renderEncryptionSection()} ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx index 5591ecace67b8..42978e0a64aef 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx @@ -151,4 +151,4 @@ export const OutputFormKafkaPartitioning: React.FunctionComponent<{ {renderPartitioning()} ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx index b42e48f7b864a..1015f1c11a327 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx @@ -151,4 +151,4 @@ export const OutputFormKafkaTopics: React.FunctionComponent<{ inputs: OutputForm ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx index f10944fb0446f..53957678042cb 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/ssl_form_section.tsx @@ -300,4 +300,4 @@ export const SSLFormSection: React.FunctionComponent = (props) => { ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx index 2f8b7aeb0d401..94715bb0f93bc 100644 --- a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx @@ -117,4 +117,4 @@ export const InstallationModeSelectionStep = ({ ), }; -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx b/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx index 323255bea37a6..d3728f61c0290 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx +++ b/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx @@ -124,4 +124,4 @@ export const PipelinesCsvUploader: FC = ({
); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx index c0ac656aab087..ba91724c8fd81 100644 --- a/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx +++ b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx @@ -268,4 +268,4 @@ export function NavigationPanel({ center, settings, updateMapSetting, zoom }: Pr {renderInitialLocationInputs()} ); -} \ No newline at end of file +} diff --git a/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx index 1b60cacbaa844..aec30e8041bfc 100644 --- a/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx +++ b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx @@ -110,4 +110,4 @@ export const SetViewForm = React.memo(({ settings, zoom, cente ); }); -SetViewForm.displayName = 'SetViewForm'; \ No newline at end of file +SetViewForm.displayName = 'SetViewForm'; diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js index c6744df73c4e7..8a372343919fa 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js +++ b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js @@ -428,4 +428,4 @@ CustomSelectionTable.propTypes = { singleSelection: PropTypes.bool, sortableProperties: PropTypes.object, tableItemId: PropTypes.string, -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx index 634c233966c12..7a3a2cd8d88b1 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx @@ -502,4 +502,4 @@ export const CustomUrlEditor: FC = ({ ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx index efc8089431c0f..76630bf72a9ed 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx @@ -229,4 +229,4 @@ export const EntityConfig: FC = ({ ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_mode_control.tsx b/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_mode_control.tsx index cf1489b14c10b..b6558b6814b2e 100644 --- a/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_mode_control.tsx +++ b/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_mode_control.tsx @@ -176,4 +176,4 @@ export const CopyModeControl = ({ initialValues, updateSelection }: CopyModeCont ); -}; \ No newline at end of file +}; diff --git a/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx index 4a1d3e58c7bba..37ccd9bf78e9e 100644 --- a/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx @@ -357,4 +357,4 @@ export const EsqlQueryExpression: React.FC< ); -}; \ No newline at end of file +}; diff --git a/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx index b837d65e4f628..98e45bd2d0d53 100644 --- a/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx +++ b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx @@ -177,4 +177,4 @@ export const MetricsExplorerChartOptions = ({ chartOptions, onChange }: Props) = ); -}; \ No newline at end of file +}; diff --git a/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx b/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx index 0404396864eaa..f245f62a858b4 100644 --- a/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx +++ b/x-pack/solutions/observability/plugins/slo/public/components/slo/purge_confirmation_modal/purge_confirmation_modal.tsx @@ -162,4 +162,4 @@ export function SloPurgeConfirmationModal({ )} ); -} \ No newline at end of file +} diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx index 7478ac9b7ef41..e26528380365b 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx @@ -112,4 +112,4 @@ export const RadioGroup = ({ })} ); -}; \ No newline at end of file +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx index 5c856ed1d598e..200d162705bbd 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_creation/components/alert_suppression_edit/components/suppression_duration_selector.tsx @@ -139,4 +139,4 @@ const SuppressionDurationSelectorFields = memo(function SuppressionDurationSelec ); -}); \ No newline at end of file +}); diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx index 291d09505a235..4dcc1df2ad7d2 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx @@ -113,4 +113,4 @@ const ExceptionsAddToListsOptionsComponent: React.FC Date: Thu, 31 Jul 2025 18:41:31 +0300 Subject: [PATCH 06/12] fix jest --- .../__snapshots__/layer_template.test.tsx.snap | 2 ++ .../util/__snapshots__/scaling_form.test.tsx.snap | 6 ++++++ .../__snapshots__/navigation_panel.test.tsx.snap | 3 +++ .../aws_credentials_form/aws_credentials_form.tsx | 1 + .../azure_credentials_form/azure_credentials_form.tsx | 1 + .../components/fleet_extensions/csp_boxed_radio_group.tsx | 5 ++++- .../components/fleet_extensions/eks_credentials_form.tsx | 1 + .../gcp_credentials_form/gcp_credential_form.tsx | 1 + .../components/fleet_extensions/policy_template_form.tsx | 3 +++ .../fleet_extensions/policy_template_selectors.tsx | 2 ++ .../components/fleet_extensions/asset_boxed_radio_group.tsx | 5 ++++- .../aws_credentials_form/aws_account_type_select.tsx | 1 + .../aws_credentials_form/aws_credentials_form.tsx | 1 + .../azure_credentials_form/azure_account_type_select.tsx | 1 + .../azure_credentials_form/azure_credentials_form.tsx | 1 + .../gcp_credentials_form/gcp_account_type_select.tsx | 1 + .../gcp_credentials_form/gcp_credential_form.tsx | 1 + .../fleet_extensions/policy_template_selectors.tsx | 1 + 18 files changed, 35 insertions(+), 2 deletions(-) diff --git a/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap index 3cdfc359f5834..c61bb65da7bd0 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap +++ b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap @@ -19,6 +19,7 @@ exports[`should render EMS UI when left source is BOUNDARIES_SOURCE.EMS 1`] = ` @@ -49,6 +51,7 @@ exports[`scaling form should disable clusters option when clustering is not supp checked={true} id="LIMIT" label="Limit results to 10,000" + name="scalingType" onChange={[Function]} /> @@ -92,6 +95,7 @@ exports[`scaling form should render 1`] = ` checked={false} id="MVT" label="Use vector tiles" + name="scalingType" onChange={[Function]} /> diff --git a/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap index bf3d79c55247a..ba4f7ae5beb4a 100644 --- a/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap +++ b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap @@ -54,6 +54,7 @@ exports[`should render 1`] = ` > idSelected !== setupFormat && onSetupFormatChange(idSelected) } + name="setupFormat" /> {setupFormat === AWS_SETUP_FORMAT.CLOUD_FORMATION && ( diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx index 558a23b77fdc0..82f02f9eec662 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx @@ -441,6 +441,7 @@ export const AzureCredentialsForm = ({ onChange={(idSelected: SetupFormat) => idSelected !== setupFormat && onSetupFormatChange(idSelected) } + name="setupFormat" /> {setupFormat === AZURE_SETUP_FORMAT.ARM_TEMPLATE && ( diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx index d9d49b38b8857..7a4cb4c874d3b 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx @@ -8,6 +8,7 @@ import React from 'react'; import { useEuiTheme, EuiButton, EuiRadio, EuiToolTip, EuiBetaBadge } from '@elastic/eui'; import { css } from '@emotion/react'; +import camelCase from 'lodash/camelCase'; export interface CspRadioGroupProps { disabled?: boolean; @@ -25,6 +26,7 @@ export interface CspRadioOption { tooltip?: string; isBeta?: boolean; testId?: string; + name?: string; } export const RadioGroup = ({ @@ -33,6 +35,7 @@ export const RadioGroup = ({ options, disabled, onChange, + name, }: CspRadioGroupProps) => { const { euiTheme } = useEuiTheme(); return ( @@ -90,7 +93,7 @@ export const RadioGroup = ({ `} > onChange(id as AwsCredentialsType)} + name="awsCredentialType" /> ); diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx index e996e08cfb5da..b02b703a7db66 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx @@ -522,6 +522,7 @@ export const GcpCredentialsForm = ({ onChange={(idSelected: SetupFormatGCP) => idSelected !== setupFormat && onSetupFormatChange(idSelected) } + name="setupFormat" /> {setupFormat === GCP_SETUP_ACCESS.CLOUD_SHELL ? ( diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx index 6d47298da5ac9..45cbae0efe635 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx @@ -268,6 +268,7 @@ const AwsAccountTypeSelect = ({ ); }} size="m" + name="awsAccountType" /> {getAwsAccountType(input) === AWS_ORGANIZATION_ACCOUNT && ( <> @@ -407,6 +408,7 @@ const GcpAccountTypeSelect = ({ accountType !== getGcpAccountType(input) && onSetupFormatChange(accountType) } size="m" + name="gcpAccountType" /> {getGcpAccountType(input) === GCP_ORGANIZATION_ACCOUNT && ( <> @@ -506,6 +508,7 @@ const AzureAccountTypeSelect = ({ ); }} size="m" + name="azureAccount" /> {getAzureAccountType(input) === AZURE_ORGANIZATION_ACCOUNT && ( <> diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx index 70eb9a661f6a7..1a5e39e38fe30 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx @@ -65,6 +65,7 @@ export const PolicyTemplateSelector = ({ idSelected={selectedTemplate} onChange={(id: CloudSecurityPolicyTemplate) => setPolicyTemplate(id)} disabled={disabled} + name="policyTemplate" /> ); @@ -205,6 +206,7 @@ export const PolicyTemplateInputSelector = ({ input, disabled, setInput }: Props options={options} onChange={(inputType) => setInput(inputType as PostureInput)} size="m" + name="policyTemplate" /> ); }; diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx index e26528380365b..788d945d2f176 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx @@ -6,6 +6,7 @@ */ import React from 'react'; +import camelCase from 'lodash/camelCase'; import { useEuiTheme, EuiButton, EuiRadio, EuiToolTip, EuiBetaBadge } from '@elastic/eui'; import { css } from '@emotion/react'; @@ -25,6 +26,7 @@ export interface AssetRadioOption { tooltip?: string; isBeta?: boolean; testId?: string; + name?: string; } export const RadioGroup = ({ @@ -33,6 +35,7 @@ export const RadioGroup = ({ options, disabled, onChange, + name, }: AssetRadioGroupProps) => { const { euiTheme } = useEuiTheme(); return ( @@ -91,7 +94,7 @@ export const RadioGroup = ({ > {getAwsAccountType(input) === AWS_ORGANIZATION_ACCOUNT && ( <> diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx index a95cb3569d5d4..917852c6b5835 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx @@ -263,6 +263,7 @@ export const AwsCredentialsForm = ({ onChange={(selectedSetupFormat: AwsSetupFormat) => selectedSetupFormat !== setupFormat && onSetupFormatChange(selectedSetupFormat) } + name="setupFormat" /> {setupFormat === AWS_SETUP_FORMAT.CLOUD_FORMATION && ( diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_account_type_select.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_account_type_select.tsx index c8d97bf957b3e..3d3f503502d37 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_account_type_select.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_account_type_select.tsx @@ -106,6 +106,7 @@ export const AzureAccountTypeSelect = ({ ); }} size="m" + name="azureAccountType" /> {getAzureAccountType(input) === AZURE_ORGANIZATION_ACCOUNT && ( <> diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx index e07c7a646ebbd..4dd00eda53b8a 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx @@ -302,6 +302,7 @@ export const AzureCredentialsForm = ({ onChange={(idSelected: AzureSetupFormat) => idSelected !== setupFormat && onSetupFormatChange(idSelected) } + name="setupFormat" /> {setupFormat === AZURE_SETUP_FORMAT.ARM_TEMPLATE && } diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_account_type_select.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_account_type_select.tsx index 9dffcc54e4af7..0733b5e942277 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_account_type_select.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_account_type_select.tsx @@ -130,6 +130,7 @@ export const GcpAccountTypeSelect = ({ accountType !== getGcpAccountType(input) && onSetupFormatChange(accountType) } size="m" + name="gcpAccountType" /> {getGcpAccountType(input) === GCP_ORGANIZATION_ACCOUNT && ( <> diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx index 18ab381c01bcf..7aaa4c7695e30 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx @@ -490,6 +490,7 @@ export const GcpCredentialsForm = ({ onChange={(idSelected: SetupFormatGCP) => idSelected !== setupFormat && onSetupFormatChange(idSelected) } + name="setupFormat" /> {setupFormat === GCP_SETUP_ACCESS.CLOUD_SHELL ? ( diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/policy_template_selectors.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/policy_template_selectors.tsx index 45b25fddf7b4f..86c68a9414f30 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/policy_template_selectors.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/policy_template_selectors.tsx @@ -151,6 +151,7 @@ export const PolicyTemplateInputSelector = ({ options={options} onChange={(inputType) => setInput(inputType as AssetInput)} size="m" + name="policyTemplateInput" /> ); }; From 56bf94d938de1c772762e8ca86727e5985d65a9c Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Thu, 31 Jul 2025 21:26:53 +0300 Subject: [PATCH 07/12] fix typo --- .../components/fleet_extensions/csp_boxed_radio_group.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx index 7a4cb4c874d3b..c45ad11609f58 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx @@ -16,6 +16,7 @@ export interface CspRadioGroupProps { onChange(id: string): void; idSelected: string; size?: 's' | 'm'; + name?: string; } export interface CspRadioOption { @@ -26,7 +27,6 @@ export interface CspRadioOption { tooltip?: string; isBeta?: boolean; testId?: string; - name?: string; } export const RadioGroup = ({ From 81c32a2733219b010db1bb3d907426a8f4617711 Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Fri, 1 Aug 2025 11:59:48 +0300 Subject: [PATCH 08/12] fix types --- .../components/fleet_extensions/asset_boxed_radio_group.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx index 788d945d2f176..3aef6d45e1ac3 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/fleet_extensions/asset_boxed_radio_group.tsx @@ -16,6 +16,7 @@ export interface AssetRadioGroupProps { onChange(id: string): void; idSelected: string; size?: 's' | 'm'; + name?: string; } export interface AssetRadioOption { @@ -26,7 +27,6 @@ export interface AssetRadioOption { tooltip?: string; isBeta?: boolean; testId?: string; - name?: string; } export const RadioGroup = ({ From ebb667f61f8a82cc1984c4f274a4ef654d8b6ece Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Fri, 1 Aug 2025 13:08:16 +0300 Subject: [PATCH 09/12] Update installation_mode_selection_step.tsx --- .../steps/installation_mode_selection_step.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx index 94715bb0f93bc..e4db2fa0cf09f 100644 --- a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx @@ -111,7 +111,7 @@ export const InstallationModeSelectionStep = ({ ]} idSelected={`${mode}_${radioSuffix}`} onChange={onChangeCallback} - name="installationMode" + name=`installationMode${radioSuffix}` /> ) : ( From 8d08c50ef50b0d31e86bda5544d103ad76d8dc89 Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Fri, 1 Aug 2025 13:09:12 +0300 Subject: [PATCH 10/12] Update set_deployment_mode.tsx --- .../fleet_server_instructions/steps/set_deployment_mode.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx index 98c0fad6a3d35..93afb3c7828a8 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx @@ -110,7 +110,7 @@ const DeploymentModeStepContent = ({ ]} idSelected={`${deploymentMode}_${radioSuffix}`} onChange={onChangeCallback} - name="deploymentMode" + name=`deploymentMode${radioSuffix}` /> ); From d7dbc0d4384bed9dd449b480bf45c36439ac1243 Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Fri, 1 Aug 2025 13:44:22 +0300 Subject: [PATCH 11/12] fix typo --- .../fleet_server_instructions/steps/set_deployment_mode.tsx | 2 +- .../steps/installation_mode_selection_step.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx index 93afb3c7828a8..89bb35fb1e1f9 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx @@ -110,7 +110,7 @@ const DeploymentModeStepContent = ({ ]} idSelected={`${deploymentMode}_${radioSuffix}`} onChange={onChangeCallback} - name=`deploymentMode${radioSuffix}` + name={`deploymentMode${radioSuffix}`} /> ); diff --git a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx index e4db2fa0cf09f..67222c88f58de 100644 --- a/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx @@ -111,7 +111,7 @@ export const InstallationModeSelectionStep = ({ ]} idSelected={`${mode}_${radioSuffix}`} onChange={onChangeCallback} - name=`installationMode${radioSuffix}` + name={`installationMode${radioSuffix}`} /> ) : ( From f9af868a67c5d432af2771d8cf1e1a4c278b0753 Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Tue, 12 Aug 2025 13:49:50 +0300 Subject: [PATCH 12/12] Update x-pack/solutions/security/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/detect_prevent_protection_level.tsx Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com> --- .../components/detect_prevent_protection_level.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/detect_prevent_protection_level.tsx b/x-pack/solutions/security/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/detect_prevent_protection_level.tsx index 95863b83925b3..4b069a3339387 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/detect_prevent_protection_level.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/detect_prevent_protection_level.tsx @@ -115,7 +115,7 @@ interface ProtectionRadioProps extends PolicyFormComponentCommonProps { protectionMode: ProtectionModes; osList: ImmutableArray>; label: string; - name?: string; + name: string; } const ProtectionRadio = React.memo(