diff --git a/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap b/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap index 3d8134d0c..a82756a37 100644 --- a/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap +++ b/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap @@ -16,11 +16,13 @@ exports[`Panels Table Component render dashboard table container with panels 1`]
-

- Observability dashboards -

+

+ Observability dashboards +

+
-

- Observability dashboards -

+

+ Observability dashboards +

+
-

- Observability dashboards -

+

+ Observability dashboards +

+
-

+
+

+

@@ -446,10 +449,13 @@ exports[`Panels View Component render panel view so container and reload dashboa
-

+
+

+

@@ -1354,14 +1360,17 @@ exports[`Panels View Component renders panel view container with visualizations
- -

- +
+

+

+
- -

- +
+

+

+
-

+
+

+

@@ -446,10 +449,13 @@ exports[`Panels View SO Component render panel view so container and reload dash
-

+
+

+

@@ -879,10 +885,13 @@ exports[`Panels View SO Component renders panels view SO container with visualiz
-

+
+

+

diff --git a/public/components/custom_panels/custom_panel_table.tsx b/public/components/custom_panels/custom_panel_table.tsx index 5ea33c9ed..fda2e077a 100644 --- a/public/components/custom_panels/custom_panel_table.tsx +++ b/public/components/custom_panels/custom_panel_table.tsx @@ -342,9 +342,9 @@ export const CustomPanelTable = ({ - +

Observability dashboards

-
+
@@ -374,11 +374,15 @@ export const CustomPanelTable = ({ isOpen={isActionsPopoverOpen} closePopover={() => setIsActionsPopoverOpen(false)} > - + - + Create Dashboard diff --git a/public/components/custom_panels/custom_panel_view.tsx b/public/components/custom_panels/custom_panel_view.tsx index 5b74bc055..5be181009 100644 --- a/public/components/custom_panels/custom_panel_view.tsx +++ b/public/components/custom_panels/custom_panel_view.tsx @@ -21,7 +21,7 @@ import { EuiPopover, EuiSpacer, EuiCompressedSuperDatePicker, - EuiTitle, + EuiText, OnTimeChangeProps, ShortDate, } from '@elastic/eui'; @@ -465,7 +465,11 @@ export const CustomPanelView = (props: CustomPanelViewProps) => { ); const saveButton = ( - editPanel('save')}> + editPanel('save')} + > Save ); @@ -612,9 +616,9 @@ export const CustomPanelView = (props: CustomPanelViewProps) => { {appPanel || ( <> - +

{openPanelName}

-
+ @@ -638,7 +642,7 @@ export const CustomPanelView = (props: CustomPanelViewProps) => { isOpen={panelsMenuPopover} closePopover={() => setPanelsMenuPopover(false)} > - + diff --git a/public/components/custom_panels/custom_panel_view_so.tsx b/public/components/custom_panels/custom_panel_view_so.tsx index 62f4efde0..e4d7f28d3 100644 --- a/public/components/custom_panels/custom_panel_view_so.tsx +++ b/public/components/custom_panels/custom_panel_view_so.tsx @@ -22,7 +22,7 @@ import { EuiPopover, EuiSpacer, EuiCompressedSuperDatePicker, - EuiTitle, + EuiText, OnTimeChangeProps, ShortDate, } from '@elastic/eui'; @@ -375,7 +375,11 @@ export const CustomPanelViewSO = (props: CustomPanelViewProps) => { ); const saveButton = ( - editPanel('save')}> + editPanel('save')} + > Save ); @@ -562,9 +566,9 @@ export const CustomPanelViewSO = (props: CustomPanelViewProps) => { {appPanel || ( <> - +

{panel?.title}

-
+ @@ -587,7 +591,7 @@ export const CustomPanelViewSO = (props: CustomPanelViewProps) => { isOpen={panelsMenuPopover} closePopover={() => setPanelsMenuPopover(false)} > - +
diff --git a/public/components/custom_panels/helpers/__tests__/__snapshots__/custom_input_model.test.tsx.snap b/public/components/custom_panels/helpers/__tests__/__snapshots__/custom_input_model.test.tsx.snap index 7399b3e41..a14594c28 100644 --- a/public/components/custom_panels/helpers/__tests__/__snapshots__/custom_input_model.test.tsx.snap +++ b/public/components/custom_panels/helpers/__tests__/__snapshots__/custom_input_model.test.tsx.snap @@ -8,7 +8,13 @@ exports[`Custom Input Model component renders custom input modal with multiple a > - Input test + +

+ Input test +

+
@@ -58,7 +64,13 @@ exports[`Custom Input Model component renders custom input modal with single arg > - Input test + +

+ Input test +

+
diff --git a/public/components/custom_panels/helpers/add_visualization_popover.tsx b/public/components/custom_panels/helpers/add_visualization_popover.tsx index 6772cfce7..8b2b78d6c 100644 --- a/public/components/custom_panels/helpers/add_visualization_popover.tsx +++ b/public/components/custom_panels/helpers/add_visualization_popover.tsx @@ -86,7 +86,7 @@ export const AddVisualizationPopover = ({ panelPaddingSize="none" anchorPosition="downLeft" > - + ); }; diff --git a/public/components/custom_panels/helpers/custom_input_modal.tsx b/public/components/custom_panels/helpers/custom_input_modal.tsx index dd073eb7b..38970bdb5 100644 --- a/public/components/custom_panels/helpers/custom_input_modal.tsx +++ b/public/components/custom_panels/helpers/custom_input_modal.tsx @@ -16,6 +16,7 @@ import { EuiCompressedFormRow, EuiCompressedFieldText, EuiSmallButton, + EuiText, } from '@elastic/eui'; /* @@ -71,7 +72,11 @@ export const CustomInputModal = (props: CustomInputModalProps) => { - {titletxt} + + +

{titletxt}

+
+
diff --git a/public/components/custom_panels/panel_modules/visualization_container/visualization_container.tsx b/public/components/custom_panels/panel_modules/visualization_container/visualization_container.tsx index a8895d4a0..669eee906 100644 --- a/public/components/custom_panels/panel_modules/visualization_container/visualization_container.tsx +++ b/public/components/custom_panels/panel_modules/visualization_container/visualization_container.tsx @@ -132,12 +132,16 @@ export const VisualizationContainer = ({ -

{visualizationMetaData.name}

+ +

{visualizationMetaData.name}

+
- This PPL Query is generated in runtime from selected data source + + This PPL Query is generated in runtime from selected data source + {visualizationMetaData.query} @@ -156,12 +160,14 @@ export const VisualizationContainer = ({ -

{isError.errorMessage}

+ +

{isError.errorMessage}

+
- Error Details + Error Details {isError.errorDetails} @@ -388,10 +394,12 @@ export const VisualizationContainer = ({ isOpen={isPopoverOpen} closePopover={closeActionsMenu} anchorPosition="downLeft" + panelPaddingSize="none" > )} diff --git a/public/components/custom_panels/panel_modules/visualization_flyout/__tests__/__snapshots__/visualization_flyout.test.tsx.snap b/public/components/custom_panels/panel_modules/visualization_flyout/__tests__/__snapshots__/visualization_flyout.test.tsx.snap index ca1020676..3e040c5d6 100644 --- a/public/components/custom_panels/panel_modules/visualization_flyout/__tests__/__snapshots__/visualization_flyout.test.tsx.snap +++ b/public/components/custom_panels/panel_modules/visualization_flyout/__tests__/__snapshots__/visualization_flyout.test.tsx.snap @@ -74,15 +74,15 @@ exports[`Visualization Flyout Component renders add visualization Flyout 1`] = ` -

Select existing visualization

-
+
} > @@ -142,12 +142,15 @@ exports[`Visualization Flyout Component renders add visualization Flyout 1`] = `
-

- Select existing visualization -

+

+ Select existing visualization +

+
-

- Select existing visualization -

+

+ Select existing visualization +

+

-

- Select existing visualization -

+

+ Select existing visualization +

+
-

- Select existing visualization -

+

+ Select existing visualization +

+

-

- Select existing visualization -

+

+ Select existing visualization +

+
- -

- Select existing visualization -

-
+

+ Select existing visualization +

+
+

-

Replace visualization

-
+ } > @@ -1443,12 +1461,15 @@ exports[`Visualization Flyout Component renders replace visualization Flyout 1`]
-

- Replace visualization -

+

+ Replace visualization +

+

-

- Replace visualization -

+

+ Replace visualization +

+

-

- Replace visualization -

+

+ Replace visualization +

+
-

- Replace visualization -

+

+ Replace visualization +

+

-

- Replace visualization -

+

+ Replace visualization +

+
- -

- Replace visualization -

-
+

+ Replace visualization +

+
+

-

Select existing visualization

-
+ } > @@ -153,12 +153,15 @@ exports[`Visualization Flyout Component renders add visualization Flyout 1`] = `
-

- Select existing visualization -

+

+ Select existing visualization +

+
-

- Select existing visualization -

+

+ Select existing visualization +

+
-

- Select existing visualization -

+

+ Select existing visualization +

+
-

- Select existing visualization -

+

+ Select existing visualization +

+
-

- Select existing visualization -

+

+ Select existing visualization +

+
- -

- Select existing visualization -

-
+

+ Select existing visualization +

+
+ -

Replace visualization

-
+ } > @@ -1449,12 +1467,15 @@ exports[`Visualization Flyout Component renders replace visualization Flyout 1`]
-

- Replace visualization -

+

+ Replace visualization +

+
-

- Replace visualization -

+

+ Replace visualization +

+
-

- Replace visualization -

+

+ Replace visualization +

+
-

- Replace visualization -

+

+ Replace visualization +

+
-

- Replace visualization -

+

+ Replace visualization +

+
- -

- Replace visualization -

-
+

+ Replace visualization +

+
+ -

{isPreviewError.errorMessage}

+ +

{isPreviewError.errorMessage}

+
- Error Details + Error Details {isPreviewError.errorDetails} @@ -267,11 +268,11 @@ export const VisaulizationFlyout = ({ const flyoutHeader = ( - +

{isFlyoutReplacement ? 'Replace visualization' : 'Select existing visualization'}

-
+
); diff --git a/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx b/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx index 691f89c99..7c7e86441 100644 --- a/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx +++ b/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx @@ -28,7 +28,6 @@ import { EuiSelectOption, EuiSpacer, EuiText, - EuiTitle, EuiToolTip, ShortDate, } from '@elastic/eui'; @@ -133,12 +132,14 @@ export const VisaulizationFlyoutSO = ({ -

{isPreviewError.errorMessage}

+ +

{isPreviewError.errorMessage}

+
- Error Details + Error Details {isPreviewError.errorDetails} @@ -249,11 +250,11 @@ export const VisaulizationFlyoutSO = ({ const flyoutHeader = ( - +

{isFlyoutReplacement ? 'Replace visualization' : 'Select existing visualization'}

-
+
);