Skip to content

Commit

Permalink
Compress data source selector on (opensearch-project#7329) (opensearc…
Browse files Browse the repository at this point in the history
…h-project#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 <[email protected]>
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 <[email protected]>
  • Loading branch information
3 people authored Jul 24, 2024
1 parent 5e9e300 commit f2803b1
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 @@ -234,6 +234,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 f2803b1

Please sign in to comment.