Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress data source selector on management's data sources page #7329

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading