From 7d062c5de1173b69b2b6849910fcbe83b5f33fb0 Mon Sep 17 00:00:00 2001 From: Sean Li Date: Wed, 4 Oct 2023 18:44:00 -0700 Subject: [PATCH] Remove Experimental Tag (#302) * removing experimental tag Signed-off-by: Sean Li * changing components to match mockups Signed-off-by: Sean Li * removing unused imports Signed-off-by: Sean Li --------- Signed-off-by: Sean Li --- .../__snapshots__/header.test.tsx.snap | 292 ++++-------------- public/components/common/header.tsx | 42 +-- .../__snapshots__/create_index.test.tsx.snap | 292 ++++-------------- 3 files changed, 144 insertions(+), 482 deletions(-) diff --git a/public/components/common/__test__/__snapshots__/header.test.tsx.snap b/public/components/common/__test__/__snapshots__/header.test.tsx.snap index dda8e87..e24d651 100644 --- a/public/components/common/__test__/__snapshots__/header.test.tsx.snap +++ b/public/components/common/__test__/__snapshots__/header.test.tsx.snap @@ -21,240 +21,76 @@ exports[`Header component Renders header component 1`] = ` } } > - -
+

- -
+ + +
+

+ Compare results using the same search text with different queries. + + - -

- -
- -

- Compare search results -

-
-
-
-
- -
- -
- - -
-
- - - Experimental Feature - -
- + + + + + -
- -
- -
-

- Compare results using the same search text with different queries. For more information, see the - - - - Compare Search Results Documentation - - - - - - - - - (opens in a new tab or window) - - - - - - . To leave feedback, visit - - - - forums.opensearch.com - - - - - - - - - (opens in a new tab or window) - - - - - - . -

-
-
-
-
-
-
-
-
-
-
- -

-
+ (opens in a new tab or window) + + + + + +

+ + diff --git a/public/components/common/header.tsx b/public/components/common/header.tsx index 0069d11..fe4633c 100644 --- a/public/components/common/header.tsx +++ b/public/components/common/header.tsx @@ -4,7 +4,7 @@ */ import React from 'react'; -import { EuiPageHeader, EuiCallOut, EuiText, EuiLink, EuiPanel } from '@elastic/eui'; +import { EuiText, EuiLink, EuiPanel, EuiTitle } from '@elastic/eui'; interface HeaderProps { children?: React.ReactNode; @@ -19,31 +19,21 @@ export const Header = ({ children }: HeaderProps) => { borderRadius="none" style={{ borderBottom: '1px solid #D3DAE6' }} > - - - -

- Compare results using the same search text with different queries. For more - information, see the{' '} - - Compare Search Results Documentation - - . To leave feedback, visit{' '} - - forums.opensearch.com - - . -

-
-
- {children} -
+ +

Compare search results

+
+ +

+ Compare results using the same search text with different queries.{' '} + + Learn more + +

+
+ {children} ); }; diff --git a/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap b/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap index 6eca3ff..0db4cbd 100644 --- a/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap +++ b/public/components/query_compare/__test__/__snapshots__/create_index.test.tsx.snap @@ -22,240 +22,76 @@ exports[`Create index component Renders create index component 1`] = ` } } > - -
+

- -
+ + +
+

+ Compare results using the same search text with different queries. + + - -

- -
- -

- Compare search results -

-
-
-
-
- -
- -
- - -
-
- - - Experimental Feature - -
- + + + + + -
- -
- -
-

- Compare results using the same search text with different queries. For more information, see the - - - - Compare Search Results Documentation - - - - - - - - - (opens in a new tab or window) - - - - - - . To leave feedback, visit - - - - forums.opensearch.com - - - - - - - - - (opens in a new tab or window) - - - - - - . -

-
-
-
-
-
-
-
-
-
-
- -

-
+ (opens in a new tab or window) + + + + + +

+ +