Skip to content

Commit f2803b1

Browse files
opensearch-trigger-bot[bot]github-actions[bot]ZilongX
authored
Compress data source selector on (#7329) (#7412)
* management's data sources page * dev tools * home * query enhancements * saved object mgmt * time series (cherry picked from commit 3526f96) Signed-off-by: Miki <miki@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: ZilongX <99905560+ZilongX@users.noreply.github.com>
1 parent 5e9e300 commit f2803b1

File tree

9 files changed

+22
-13
lines changed

9 files changed

+22
-13
lines changed

changelogs/fragments/7329.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
feat:
2+
- Use compressed DataSourceSelector ([#7329](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7329))

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

+13-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ export const ManageDirectQueryDataConnectionsTable: React.FC<ManageDirectQueryDa
234234
fullWidth={true}
235235
uiSettings={uiSettings}
236236
disabled={false}
237+
compressed={true}
237238
/>
238239
</EuiFlexItem>
239240
)}

src/plugins/dev_tools/public/application.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function DevToolsWrapper({
124124
onSelectedDataSource={onChange}
125125
disabled={!dataSourceEnabled}
126126
fullWidth={false}
127-
compressed
127+
compressed={true}
128128
/>
129129
</div>
130130
);

src/plugins/home/public/application/components/tutorial_directory.js

+1
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ class TutorialDirectoryUi extends React.Component {
240240
disabled={!isDataSourceEnabled}
241241
hideLocalCluster={isLocalClusterHidden}
242242
uiSettings={getServices().uiSettings}
243+
compressed={true}
243244
/>
244245
</div>
245246
) : null;

src/plugins/query_enhancements/public/data_source_connection/components/connections_bar.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export const ConnectionsBar: React.FC<ConnectionsProps> = ({ connectionsService,
8181
notifications={toasts}
8282
disabled={false}
8383
fullWidth={false}
84+
compressed={true}
8485
removePrepend={true}
8586
isClearable={false}
8687
onSelectedDataSource={(dataSource) =>

src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ export class Flyout extends Component<FlyoutProps, FlyoutState> {
837837
disabled={!this.props.dataSourceEnabled}
838838
fullWidth={true}
839839
isClearable={false}
840+
compressed={true}
840841
/>
841842
</EuiFormFieldset>
842843
<EuiSpacer />

src/plugins/vis_type_timeseries/public/application/components/index_pattern.js

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export const IndexPattern = ({ fields, prefix, onChange, disabled, model: _model
189189
}
190190
disabled={false}
191191
fullWidth={false}
192+
compressed={true}
192193
removePrepend={true}
193194
isClearable={false}
194195
/>

0 commit comments

Comments
 (0)