diff --git a/changelogs/fragments/7329.yml b/changelogs/fragments/7329.yml new file mode 100644 index 000000000000..e30e73df5936 --- /dev/null +++ b/changelogs/fragments/7329.yml @@ -0,0 +1,2 @@ +feat: +- Use compressed DataSourceSelector ([#7329](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7329)) diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap index a429c9fbe2da..a796ab640a42 100644 --- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap +++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap @@ -107,6 +107,7 @@ exports[`ManageDirectQueryDataConnectionsTable renders correctly 1`] = ` } >
diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.tsx b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.tsx index 90746ed23e8e..e4bc27b7fa54 100644 --- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.tsx +++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.tsx @@ -229,6 +229,7 @@ export const ManageDirectQueryDataConnectionsTable: React.FC )} diff --git a/src/plugins/dev_tools/public/application.tsx b/src/plugins/dev_tools/public/application.tsx index 6c4cae6e18cf..38d444665852 100644 --- a/src/plugins/dev_tools/public/application.tsx +++ b/src/plugins/dev_tools/public/application.tsx @@ -124,7 +124,7 @@ function DevToolsWrapper({ onSelectedDataSource={onChange} disabled={!dataSourceEnabled} fullWidth={false} - compressed + compressed={true} />
); diff --git a/src/plugins/home/public/application/components/tutorial_directory.js b/src/plugins/home/public/application/components/tutorial_directory.js index 4d4cf4566d1f..d9ddcc167e05 100644 --- a/src/plugins/home/public/application/components/tutorial_directory.js +++ b/src/plugins/home/public/application/components/tutorial_directory.js @@ -240,6 +240,7 @@ class TutorialDirectoryUi extends React.Component { disabled={!isDataSourceEnabled} hideLocalCluster={isLocalClusterHidden} uiSettings={getServices().uiSettings} + compressed={true} />
) : null; diff --git a/src/plugins/query_enhancements/public/data_source_connection/components/connections_bar.tsx b/src/plugins/query_enhancements/public/data_source_connection/components/connections_bar.tsx index d7590b278220..3fd592e50b31 100644 --- a/src/plugins/query_enhancements/public/data_source_connection/components/connections_bar.tsx +++ b/src/plugins/query_enhancements/public/data_source_connection/components/connections_bar.tsx @@ -81,6 +81,7 @@ export const ConnectionsBar: React.FC = ({ connectionsService, notifications={toasts} disabled={false} fullWidth={false} + compressed={true} removePrepend={true} isClearable={false} onSelectedDataSource={(dataSource) => diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap index 094719482816..4329f6164ff8 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap @@ -598,6 +598,7 @@ exports[`Flyout should render cluster selector and import options when datasourc } > { disabled={!this.props.dataSourceEnabled} fullWidth={true} isClearable={false} + compressed={true} /> diff --git a/src/plugins/vis_type_timeseries/public/application/components/index_pattern.js b/src/plugins/vis_type_timeseries/public/application/components/index_pattern.js index f39771de11de..60f709b41c0c 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/index_pattern.js +++ b/src/plugins/vis_type_timeseries/public/application/components/index_pattern.js @@ -189,6 +189,7 @@ export const IndexPattern = ({ fields, prefix, onChange, disabled, model: _model } disabled={false} fullWidth={false} + compressed={true} removePrepend={true} isClearable={false} />