Skip to content

Commit

Permalink
Compress data source selector on
Browse files Browse the repository at this point in the history
* management's data sources page
* dev tools
* home
* query enhancements
* saved object mgmt
* time series

Signed-off-by: Miki <miki@amazon.com>
  • Loading branch information
AMoo-Miki committed Jul 22, 2024
1 parent e64de15 commit c2eb135
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/7329.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Use compressed DataSourceSelector ([#7329](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7329))

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export const ManageDirectQueryDataConnectionsTable: React.FC<ManageDirectQueryDa
fullWidth={true}
uiSettings={uiSettings}
disabled={false}
compressed={true}
/>
</EuiFlexItem>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/dev_tools/public/application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function DevToolsWrapper({
onSelectedDataSource={onChange}
disabled={!dataSourceEnabled}
fullWidth={false}
compressed
compressed={true}
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ class TutorialDirectoryUi extends React.Component {
disabled={!isDataSourceEnabled}
hideLocalCluster={isLocalClusterHidden}
uiSettings={getServices().uiSettings}
compressed={true}
/>
</div>
) : null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const ConnectionsBar: React.FC<ConnectionsProps> = ({ connectionsService,
notifications={toasts}
disabled={false}
fullWidth={false}
compressed={true}
removePrepend={true}
isClearable={false}
onSelectedDataSource={(dataSource) =>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ export class Flyout extends Component<FlyoutProps, FlyoutState> {
disabled={!this.props.dataSourceEnabled}
fullWidth={true}
isClearable={false}
compressed={true}
/>
</EuiFormFieldset>
<EuiSpacer />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export const IndexPattern = ({ fields, prefix, onChange, disabled, model: _model
}
disabled={false}
fullWidth={false}
compressed={true}
removePrepend={true}
isClearable={false}
/>
Expand Down

0 comments on commit c2eb135

Please sign in to comment.