From 93424f903bc8069bc2cfa609905051dec4f43273 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:02:33 -0700 Subject: [PATCH] Fix (styles): Make ace editor theme consistent for Search Relevance plugin (#300) (#327) * Update code editor theme to textmate * Update theme in testing file --------- (cherry picked from commit 0b5d9f3b67961d0473497f062a6874eb0d39ee6b) Signed-off-by: Nicholas Ung <37952714+nung22@users.noreply.github.com> Signed-off-by: Nicholas Ung Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../__tests__/__snapshots__/search_configs.test.tsx.snap | 8 ++++---- .../search_components/search_configs/search_config.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap b/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap index a8ecc3f..163ffbb 100644 --- a/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap +++ b/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap @@ -362,7 +362,7 @@ exports[`Flyout component Renders flyout component 1`] = ` } showPrintMargin={false} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" > @@ -464,7 +464,7 @@ exports[`Flyout component Renders flyout component 1`] = ` showPrintMargin={false} style={Object {}} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" wrapEnabled={false} @@ -826,7 +826,7 @@ exports[`Flyout component Renders flyout component 1`] = ` } showPrintMargin={false} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" > @@ -928,7 +928,7 @@ exports[`Flyout component Renders flyout component 1`] = ` showPrintMargin={false} style={Object {}} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" wrapEnabled={false} diff --git a/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx b/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx index 391699c..58180d0 100644 --- a/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx +++ b/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx @@ -128,7 +128,7 @@ export const SearchConfig: FunctionComponent = ({ >