forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move data source / advanced settings / saved objects management…
… out of Dashboard management Signed-off-by: SuZhou-Joe <[email protected]>
- Loading branch information
1 parent
5bc2ddf
commit 7c8b69c
Showing
34 changed files
with
359 additions
and
194 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
src/plugins/advanced_settings/public/management_app/components/page_wrapper/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
export { PageWrapper } from './page_wrapper'; |
21 changes: 21 additions & 0 deletions
21
src/plugins/advanced_settings/public/management_app/components/page_wrapper/page_wrapper.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import { EuiPageContent } from '@elastic/eui'; | ||
import React from 'react'; | ||
|
||
export const PageWrapper = (props: { fullWidth?: boolean; children?: React.ReactChild }) => { | ||
return ( | ||
<EuiPageContent | ||
style={props.fullWidth ? {} : { maxWidth: '75%', marginTop: '20px' }} | ||
hasShadow={false} | ||
hasBorder={false} | ||
panelPaddingSize="none" | ||
horizontalPosition="center" | ||
color="transparent" | ||
{...props} | ||
/> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/plugins/data_source_management/public/components/page_wrapper/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
export { PageWrapper } from './page_wrapper'; |
21 changes: 21 additions & 0 deletions
21
src/plugins/data_source_management/public/components/page_wrapper/page_wrapper.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import { EuiPageContent } from '@elastic/eui'; | ||
import React from 'react'; | ||
|
||
export const PageWrapper = (props: { fullWidth?: boolean; children?: React.ReactChild }) => { | ||
return ( | ||
<EuiPageContent | ||
style={props.fullWidth ? {} : { maxWidth: '75%', marginTop: '20px' }} | ||
hasShadow={false} | ||
hasBorder={false} | ||
panelPaddingSize="none" | ||
horizontalPosition="center" | ||
color="transparent" | ||
{...props} | ||
/> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.