From 3ad74488b6179439a2794bd85773fcb7842b3294 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 19 Feb 2024 21:49:21 +0000 Subject: [PATCH] [BUG] Fixing style overriding issue in dashboards core vizBuilder (#1451) * rename class names causing style overriding on visbuilder core dashboards Signed-off-by: Eric * update snapshots Signed-off-by: Eric --------- Signed-off-by: Eric (cherry picked from commit 63a88069000555a1d8019c69e65207fc1d611b60) Signed-off-by: github-actions[bot] --- .../data_configurations_panel.scss | 4 ++-- .../data_configurations_panel.tsx | 12 ++++++------ ...ailable_integration_card_view.test.tsx.snap | 18 ++++++++++++++++++ ...ilable_integration_table_view.test.tsx.snap | 18 ++++++++++++++++++ 4 files changed, 44 insertions(+), 8 deletions(-) diff --git a/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.scss b/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.scss index 6ca8a2e84..952bd7516 100644 --- a/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.scss +++ b/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.scss @@ -41,7 +41,7 @@ } } -.vbConfig { +.logExplorerVisConfig { @include euiYScrollWithShadows; background: $euiColorLightestShade; @@ -82,7 +82,7 @@ } } - &.showSecondary > .vbConfig__section { + &.showSecondary > .logExplorerVisConfig__section { transform: translateX(-100%); } } \ No newline at end of file diff --git a/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx b/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx index d55fedc85..70c7975bd 100644 --- a/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx +++ b/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx @@ -343,7 +343,7 @@ export const DataConfigPanelItem = ({ const selectedObj = isTimeStampSelected ? configList[SPAN] : configList[name][index]; const isAggregations = name === AGGREGATIONS; return ( -
+
-
-
+ +
+
@@ -550,7 +550,7 @@ export const DataConfigPanelItem = ({
{visualizations.vis.name !== VIS_CHART_TYPES.Histogram ? ( -
+
{DataConfigPanelFields(getRenderFieldsObj(AGGREGATIONS))} @@ -577,7 +577,7 @@ export const DataConfigPanelItem = ({ {getNumberField('bucketOffset')} )} -
+
+ + list + @@ -384,6 +393,7 @@ exports[`Available Integration Card View Test Renders nginx integration card vie className="euiButtonContent__icon" color="inherit" size="m" + title="grid" type="grid" > + + grid + diff --git a/public/components/integrations/components/__tests__/__snapshots__/available_integration_table_view.test.tsx.snap b/public/components/integrations/components/__tests__/__snapshots__/available_integration_table_view.test.tsx.snap index 585228061..df6ce6851 100644 --- a/public/components/integrations/components/__tests__/__snapshots__/available_integration_table_view.test.tsx.snap +++ b/public/components/integrations/components/__tests__/__snapshots__/available_integration_table_view.test.tsx.snap @@ -473,6 +473,7 @@ exports[`Available Integration Table View Test Renders nginx integration table v className="euiButtonContent__icon" color="inherit" size="m" + title="list" type="list" > + + list + @@ -586,6 +595,7 @@ exports[`Available Integration Table View Test Renders nginx integration table v className="euiButtonContent__icon" color="inherit" size="m" + title="grid" type="grid" > + + grid +