From 611546a02f1cbca5c4c058f8d04412fdf83ca397 Mon Sep 17 00:00:00 2001 From: Nicholas Ung Date: Tue, 17 Oct 2023 10:11:15 -0700 Subject: [PATCH 1/4] Wrap user-facing strings in flyout.tsx for internalization Signed-off-by: Nicholas Ung --- .../__snapshots__/flyout.test.tsx.snap | 1152 +++++++++++++---- public/components/common/flyout.tsx | 189 ++- 2 files changed, 1091 insertions(+), 250 deletions(-) diff --git a/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap b/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap index 733aed3..b539464 100644 --- a/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap +++ b/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap @@ -62,7 +62,9 @@ exports[`Flyout component Renders flyout component 1`] = ` class="euiTitle euiTitle--medium" id="flyoutTitle" > - Help + + Help +

- Query format + + Query format +

- Enter a query in + + Enter a query in + - OpenSearch Query DSL + + OpenSearch Query DSL + - . Use the + + . Use the + - %SearchText% + + %SearchText% + - variable to refer to the text in the search bar. When you enter + + variable to refer to the text in the search bar. When you enter + + - Search + + Search + - , the queries are sent to the search engine using the + + , the queries are sent to the search engine using the + - GET + + GET + - HTTP method and the + + HTTP method and the + - _search + + _search + - endpoint. + + endpoint. +

- Example + + Example +


- 1. Enter the search text in the search bar. + + 1. Enter the search text in the search bar. +

- 2. Select an index for + + 2. Select an index for + - Query 1 + + Query 1 + - and enter a query. + + and enter a query. +

- The following example searches the + + The following example searches the + - speaker + + speaker + - and + + and + - text_entry + + text_entry + - fields of the + + fields of the + + - shakespeare + + shakespeare + - index for the search text: + + index for the search text: +

- 3. Select an index for + + 3. Select an index for + - Query 2 + + Query 2 + - and enter a query. + + and enter a query. +

- You can see how boosting a field affects the results. The following query boosts the + + You can see how boosting a field affects the results. The following query boosts the + - speaker + + speaker + - field: + + field: +

- To learn more about boosts, see the + + To learn more about boosts, see the + - Multi-match Query Documentation + + Multi-match Query Documentation + - . + + . +

- 4. Compare results + + 4. Compare results +

- Select + + Select + - Search + + Search + - and compare the results in Results 1 and Results 2. + + and compare the results in Results 1 and Results 2. +

@@ -820,7 +898,9 @@ exports[`Flyout component Renders flyout component 1`] = ` class="euiTitle euiTitle--medium" id="flyoutTitle" > - Help + + Help +

- Query format + + Query format +

- Enter a query in + + Enter a query in + - OpenSearch Query DSL + + OpenSearch Query DSL + - . Use the + + . Use the + - %SearchText% + + %SearchText% + - variable to refer to the text in the search bar. When you enter + + variable to refer to the text in the search bar. When you enter + + - Search + + Search + - , the queries are sent to the search engine using the + + , the queries are sent to the search engine using the + - GET + + GET + - HTTP method and the + + HTTP method and the + - _search + + _search + - endpoint. + + endpoint. +

- Example + + Example +


- 1. Enter the search text in the search bar. + + 1. Enter the search text in the search bar. +

- 2. Select an index for + + 2. Select an index for + - Query 1 + + Query 1 + - and enter a query. + + and enter a query. +

- The following example searches the + + The following example searches the + - speaker + + speaker + - and + + and + - text_entry + + text_entry + - fields of the + + fields of the + + - shakespeare + + shakespeare + - index for the search text: + + index for the search text: +

- 3. Select an index for + + 3. Select an index for + - Query 2 + + Query 2 + - and enter a query. + + and enter a query. +

- You can see how boosting a field affects the results. The following query boosts the + + You can see how boosting a field affects the results. The following query boosts the + - speaker + + speaker + - field: + + field: +

- To learn more about boosts, see the + + To learn more about boosts, see the + - Multi-match Query Documentation + + Multi-match Query Documentation + - . + + . +

- 4. Compare results + + 4. Compare results +

- Select + + Select + - Search + + Search + - and compare the results in Results 1 and Results 2. + + and compare the results in Results 1 and Results 2. +

@@ -1510,7 +1666,9 @@ exports[`Flyout component Renders flyout component 1`] = ` class="euiTitle euiTitle--medium" id="flyoutTitle" > - Help + + Help +

- Query format + + Query format +

- Enter a query in + + Enter a query in + - OpenSearch Query DSL + + OpenSearch Query DSL + - . Use the + + . Use the + - %SearchText% + + %SearchText% + - variable to refer to the text in the search bar. When you enter + + variable to refer to the text in the search bar. When you enter + + - Search + + Search + - , the queries are sent to the search engine using the + + , the queries are sent to the search engine using the + - GET + + GET + - HTTP method and the + + HTTP method and the + - _search + + _search + - endpoint. + + endpoint. +

- Example + + Example +


- 1. Enter the search text in the search bar. + + 1. Enter the search text in the search bar. +

- 2. Select an index for + + 2. Select an index for + - Query 1 + + Query 1 + - and enter a query. + + and enter a query. +

- The following example searches the + + The following example searches the + - speaker + + speaker + - and + + and + - text_entry + + text_entry + - fields of the + + fields of the + + - shakespeare + + shakespeare + - index for the search text: + + index for the search text: +

- 3. Select an index for + + 3. Select an index for + - Query 2 + + Query 2 + - and enter a query. + + and enter a query. +

- You can see how boosting a field affects the results. The following query boosts the + + You can see how boosting a field affects the results. The following query boosts the + - speaker + + speaker + - field: + + field: +

- To learn more about boosts, see the + + To learn more about boosts, see the + - Multi-match Query Documentation + + Multi-match Query Documentation + - . + + . +

- 4. Compare results + + 4. Compare results +

- Select + + Select + - Search + + Search + - and compare the results in Results 1 and Results 2. + + and compare the results in Results 1 and Results 2. +

@@ -2200,7 +2434,9 @@ exports[`Flyout component Renders flyout component 1`] = ` class="euiTitle euiTitle--medium" id="flyoutTitle" > - Help + + Help +

- Query format + + Query format +

- Enter a query in + + Enter a query in + - OpenSearch Query DSL + + OpenSearch Query DSL + - . Use the + + . Use the + - %SearchText% + + %SearchText% + - variable to refer to the text in the search bar. When you enter + + variable to refer to the text in the search bar. When you enter + + - Search + + Search + - , the queries are sent to the search engine using the + + , the queries are sent to the search engine using the + - GET + + GET + - HTTP method and the + + HTTP method and the + - _search + + _search + - endpoint. + + endpoint. +

- Example + + Example +


- 1. Enter the search text in the search bar. + + 1. Enter the search text in the search bar. +

- 2. Select an index for + + 2. Select an index for + - Query 1 + + Query 1 + - and enter a query. + + and enter a query. +

- The following example searches the + + The following example searches the + - speaker + + speaker + - and + + and + - text_entry + + text_entry + - fields of the + + fields of the + + - shakespeare + + shakespeare + - index for the search text: + + index for the search text: +

- 3. Select an index for + + 3. Select an index for + - Query 2 + + Query 2 + - and enter a query. + + and enter a query. +

- You can see how boosting a field affects the results. The following query boosts the + + You can see how boosting a field affects the results. The following query boosts the + - speaker + + speaker + - field: + + field: +

- To learn more about boosts, see the + + To learn more about boosts, see the + - Multi-match Query Documentation + + Multi-match Query Documentation + - . + + . +

- 4. Compare results + + 4. Compare results +

- Select + + Select + - Search + + Search + - and compare the results in Results 1 and Results 2. + + and compare the results in Results 1 and Results 2. +

@@ -2878,7 +3190,9 @@ exports[`Flyout component Renders flyout component 1`] = ` class="euiTitle euiTitle--medium" id="flyoutTitle" > - Help + + Help +

- Query format + + Query format +

- Enter a query in + + Enter a query in + - OpenSearch Query DSL + + OpenSearch Query DSL + - . Use the + + . Use the + - %SearchText% + + %SearchText% + - variable to refer to the text in the search bar. When you enter + + variable to refer to the text in the search bar. When you enter + + - Search + + Search + - , the queries are sent to the search engine using the + + , the queries are sent to the search engine using the + - GET + + GET + - HTTP method and the + + HTTP method and the + - _search + + _search + - endpoint. + + endpoint. +

- Example + + Example +


- 1. Enter the search text in the search bar. + + 1. Enter the search text in the search bar. +

- 2. Select an index for + + 2. Select an index for + - Query 1 + + Query 1 + - and enter a query. + + and enter a query. +

- The following example searches the + + The following example searches the + - speaker + + speaker + - and + + and + - text_entry + + text_entry + - fields of the + + fields of the + + - shakespeare + + shakespeare + - index for the search text: + + index for the search text: +

- 3. Select an index for + + 3. Select an index for + - Query 2 + + Query 2 + - and enter a query. + + and enter a query. +

- You can see how boosting a field affects the results. The following query boosts the + + You can see how boosting a field affects the results. The following query boosts the + - speaker + + speaker + - field: + + field: +

- To learn more about boosts, see the + + To learn more about boosts, see the + - Multi-match Query Documentation + + Multi-match Query Documentation + - . + + . +

- 4. Compare results + + 4. Compare results +

- Select + + Select + - Search + + Search + - and compare the results in Results 1 and Results 2. + + and compare the results in Results 1 and Results 2. +

@@ -3619,7 +4009,15 @@ exports[`Flyout component Renders flyout component 1`] = ` className="euiTitle euiTitle--medium" id="flyoutTitle" > - Help + + + Help + + @@ -3640,10 +4038,26 @@ exports[`Flyout component Renders flyout component 1`] = ` className="euiText euiText--medium" >

- Query format + + + Query format + +

- Enter a query in + + + Enter a query in + + - OpenSearch Query DSL + + + OpenSearch Query DSL + + - . Use the + + + . Use the + + - %SearchText% + + + %SearchText% + + - variable to refer to the text in the search bar. When you enter + + + variable to refer to the text in the search bar. When you enter + + + - Search + + + Search + + - , the queries are sent to the search engine using the + + + , the queries are sent to the search engine using the + + - GET + + + GET + + - HTTP method and the + + + HTTP method and the + + - _search + + + _search + + - endpoint. + + + endpoint. + +

- Example + + + Example + +


- 1. Enter the search text in the search bar. + + + 1. Enter the search text in the search bar. + +

- 2. Select an index for + + + 2. Select an index for + + - Query 1 + + + Query 1 + + - and enter a query. + + + and enter a query. + +

- The following example searches the + + + The following example searches the + + - speaker + + + speaker + + - and + + + and + + - text_entry + + + text_entry + + - fields of the + + + fields of the + + + - shakespeare + + + shakespeare + + - index for the search text: + + + index for the search text: + +

- 3. Select an index for + + + 3. Select an index for + + - Query 2 + + + Query 2 + + - and enter a query. + + + and enter a query. + +

- You can see how boosting a field affects the results. The following query boosts the + + + You can see how boosting a field affects the results. The following query boosts the + + - speaker + + + speaker + + - field: + + + field: + +

- To learn more about boosts, see the + + + To learn more about boosts, see the + + - Multi-match Query Documentation + + + Multi-match Query Documentation + + - . + + + . + +

- 4. Compare results + + + 4. Compare results + +

- Select + + + Select + + - Search + + + Search + + - and compare the results in Results 1 and Results 2. + + + and compare the results in Results 1 and Results 2. + +

diff --git a/public/components/common/flyout.tsx b/public/components/common/flyout.tsx index 75359da..39efa14 100644 --- a/public/components/common/flyout.tsx +++ b/public/components/common/flyout.tsx @@ -4,6 +4,7 @@ */ import React from 'react'; +import { FormattedMessage } from '@osd/i18n/react'; import { EuiFlyout, EuiFlyoutBody, @@ -51,62 +52,206 @@ export const Flyout = () => { > -

Help

+

+ +

-

Query format

+

+ +

- Enter a query in{' '} + {' '} - OpenSearch Query DSL + - . Use the %SearchText% variable to refer to the text in the search - bar. When you enter Search, the queries are sent to the search engine - using the GET HTTP method and the _search{' '} - endpoint. + + + + + {' '} + + + + + + + + + + + {' '} +

-

Example

+

+ +


-

1. Enter the search text in the search bar.

- 2. Select an index for Query 1 and enter a query. +

- The following example searches the speaker and{' '} - text_entry fields of the shakespeare - index for the search text: + + + + + +

+

+ + + + + {' '} + + + + {' '} + + + +

{query1}

- 3. Select an index for Query 2 and enter a query. + + + + +

- You can see how boosting a field affects the results. The following query boosts the - speaker field: + + + + +

{query2}

- To learn more about boosts, see the{' '} + {' '} - Multi-match Query Documentation + - . + +

+

+

-

4. Compare results

- Select Search and compare the results in Results 1 and Results 2. + + + + +

From c1cd4fa2f67cd4c9d8f7b393694b3c0577dcaa20 Mon Sep 17 00:00:00 2001 From: Nicholas Ung Date: Mon, 23 Oct 2023 14:03:12 -0700 Subject: [PATCH 2/4] Update FormattedMessages blocks in flyout.tsx Signed-off-by: Nicholas Ung --- public/components/common/flyout.tsx | 140 +++++++--------------------- 1 file changed, 33 insertions(+), 107 deletions(-) diff --git a/public/components/common/flyout.tsx b/public/components/common/flyout.tsx index 39efa14..44c51f6 100644 --- a/public/components/common/flyout.tsx +++ b/public/components/common/flyout.tsx @@ -81,47 +81,15 @@ export const Flyout = () => { - - - - {' '} - - - - - - - - - - - {' '} - %SearchText%, + strong: Search, + code_2: GET, + code_3: _search, + }} />

@@ -137,50 +105,22 @@ export const Flyout = () => {

- - - - Query 1, + }} />

- - - - {' '} - - - - {' '} - - - - speaker, + code_2: text_entry, + code_3: shakespeare, + }} />

@@ -189,31 +129,21 @@ export const Flyout = () => {

- - - - Query 2, + }} />

speaker, + }} /> - - - -

{query2} @@ -241,16 +171,12 @@ export const Flyout = () => { />

- - - - Search, + }} />

From a7ce8f622deae337e989af72b0d90a6f7deade23 Mon Sep 17 00:00:00 2001 From: Nicholas Ung Date: Mon, 23 Oct 2023 14:09:06 -0700 Subject: [PATCH 3/4] Update flyout.tsx snapshot Signed-off-by: Nicholas Ung --- .../__snapshots__/flyout.test.tsx.snap | 1415 +++++++---------- 1 file changed, 537 insertions(+), 878 deletions(-) diff --git a/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap b/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap index b539464..1dcd6ac 100644 --- a/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap +++ b/public/components/common/__test__/__snapshots__/flyout.test.tsx.snap @@ -118,58 +118,42 @@ exports[`Flyout component Renders flyout component 1`] = ` . Use the - - - - + %SearchText% - - - - - variable to refer to the text in the search bar. When you enter - - - - - Search + - - + variable to refer to the text in the search bar. + When you enter + + Search + , the queries are sent to the search engine using the - - - - + GET - - - - - HTTP method and the - - - + + + HTTP method and the + - + _search - - - - - - endpoint. + + + endpoint.

@@ -186,63 +170,46 @@ exports[`Flyout component Renders flyout component 1`] = `

2. Select an index for - - - - Query 1 - - - - and enter a query. + + Query 1 + + and enter a query.

The following example searches the - - - - + speaker - - - - - and - - - - + + and + - + text_entry - - - - + + fields of the - - - - - + shakespeare - - - - - index for the search text: + + + index for the search text:

3. Select an index for - - - - Query 2 - - - - and enter a query. + + Query 2 + + and enter a query.

- You can see how boosting a field affects the results. The following query boosts the - - - - + speaker - - - - + + field:

@@ -756,13 +716,9 @@ exports[`Flyout component Renders flyout component 1`] = `

Select - - - + Search - - - + and compare the results in Results 1 and Results 2.

@@ -954,58 +910,42 @@ exports[`Flyout component Renders flyout component 1`] = ` . Use the - - - - + %SearchText% - - - - - variable to refer to the text in the search bar. When you enter - - - - - Search + - - + variable to refer to the text in the search bar. + When you enter + + Search + , the queries are sent to the search engine using the - - - - + GET - - - - - HTTP method and the - - - + + + HTTP method and the + - + _search - - - - - - endpoint. + + + endpoint.

@@ -1022,63 +962,46 @@ exports[`Flyout component Renders flyout component 1`] = `

2. Select an index for - - - - Query 1 - - - - and enter a query. + + Query 1 + + and enter a query.

The following example searches the - - - - + speaker - - - - - and - - - - + + and + - + text_entry - - - - + + fields of the - - - - - + shakespeare - - - - - index for the search text: + + + index for the search text:

3. Select an index for - - - - Query 2 - - - - and enter a query. + + Query 2 + + and enter a query.

- You can see how boosting a field affects the results. The following query boosts the - - - - + speaker - - - - + + field:

@@ -1592,13 +1508,9 @@ exports[`Flyout component Renders flyout component 1`] = `

Select - - - + Search - - - + and compare the results in Results 1 and Results 2.

@@ -1722,58 +1634,42 @@ exports[`Flyout component Renders flyout component 1`] = ` . Use the - - - - + %SearchText% - - - - - variable to refer to the text in the search bar. When you enter - - - - - Search + - - - , the queries are sent to the search engine using the - - - + Search + + , the queries are sent to the search engine using the + - + GET - - - - - HTTP method and the - - - + + + HTTP method and the + - + _search - - - - - - endpoint. + + + endpoint.

@@ -1790,63 +1686,46 @@ exports[`Flyout component Renders flyout component 1`] = `

2. Select an index for - - - - Query 1 - - - - and enter a query. + + Query 1 + + and enter a query.

The following example searches the - - - - + speaker - - - - - and - - - - + + and + - + text_entry - - - - + + fields of the - - - - - + shakespeare - - - - - index for the search text: + + + index for the search text:

3. Select an index for - - - - Query 2 - - - - and enter a query. + + Query 2 + + and enter a query.

- You can see how boosting a field affects the results. The following query boosts the - - - - + speaker - - - - + + field:

@@ -2360,13 +2232,9 @@ exports[`Flyout component Renders flyout component 1`] = `

Select - - - + Search - - - + and compare the results in Results 1 and Results 2.

@@ -2490,58 +2358,42 @@ exports[`Flyout component Renders flyout component 1`] = ` . Use the - - - - + %SearchText% - - - - - variable to refer to the text in the search bar. When you enter - - - - - Search + - - + variable to refer to the text in the search bar. + When you enter + + Search + , the queries are sent to the search engine using the - - - - + GET - - - - - HTTP method and the - - - + + + HTTP method and the + - + _search - - - - - - endpoint. + + + endpoint.

@@ -2558,63 +2410,46 @@ exports[`Flyout component Renders flyout component 1`] = `

2. Select an index for - - - - Query 1 - - - - and enter a query. + + Query 1 + + and enter a query.

The following example searches the - - - - + speaker - - - - - and - - - - + + and + - + text_entry - - - - + + fields of the - - - - - + shakespeare - - - - - index for the search text: + + + index for the search text:

3. Select an index for - - - - Query 2 - - - - and enter a query. + + Query 2 + + and enter a query.

- You can see how boosting a field affects the results. The following query boosts the - - - - + speaker - - - - + + field:

@@ -3128,13 +2956,9 @@ exports[`Flyout component Renders flyout component 1`] = `

Select - - - + Search - - - + and compare the results in Results 1 and Results 2.

@@ -3246,58 +3070,42 @@ exports[`Flyout component Renders flyout component 1`] = ` . Use the - - - - + %SearchText% - - - - - variable to refer to the text in the search bar. When you enter - - - - - Search + - - + variable to refer to the text in the search bar. + When you enter + + Search + , the queries are sent to the search engine using the - - - - + GET - - - - - HTTP method and the - - - + + + HTTP method and the + - + _search - - - - - - endpoint. + + + endpoint.

@@ -3314,63 +3122,46 @@ exports[`Flyout component Renders flyout component 1`] = `

2. Select an index for - - - - Query 1 - - - - and enter a query. + + Query 1 + + and enter a query.

The following example searches the - - - - - speaker - - - - - and - - - - + speaker + + + and + - + text_entry - - - - + + fields of the - - - - - + shakespeare - - - - - index for the search text: + + + index for the search text:

3. Select an index for - - - - Query 2 - - - - and enter a query. + + Query 2 + + and enter a query.

- You can see how boosting a field affects the results. The following query boosts the - - - - + speaker - - - - + + field:

@@ -3884,13 +3668,9 @@ exports[`Flyout component Renders flyout component 1`] = `

Select - - - + Search - - - + and compare the results in Results 1 and Results 2.

@@ -4121,133 +3901,86 @@ exports[`Flyout component Renders flyout component 1`] = ` + %SearchText% + , + "code_2": + GET + , + "code_3": + _search + , + "strong": + Search + , + } + } > . Use the - - - - - - + - - + %SearchText% - - - - - - - - - variable to refer to the text in the search bar. When you enter - - - - - - + + + + + variable to refer to the text in the search bar. + When you enter + Search - - - - - + , the queries are sent to the search engine using the - - - - - - + - - + GET - - - - - - - - - HTTP method and the - - - - - - + + + + + HTTP method and the + + - - + _search - - - - - - - - - - endpoint. + + + + + endpoint.

@@ -4276,144 +4009,98 @@ exports[`Flyout component Renders flyout component 1`] = `

+ Query 1 + , + } + } > 2. Select an index for - - - - - - Query 1 - - - - - - and enter a query. + + Query 1 + + and enter a query.

+ speaker + , + "code_2": + text_entry + , + "code_3": + shakespeare + , + } + } > The following example searches the - - - - - - + - - + speaker - - - - - - - - - and - - - - - - - + + + + and + + - - + text_entry - - - - - - - - + + + + fields of the - - - - - - - + - - + shakespeare - - - - - - - - - index for the search text: + + + + + index for the search text:

@@ -4735,75 +4422,57 @@ exports[`Flyout component Renders flyout component 1`] = `

+ Query 2 + , + } + } > 3. Select an index for - - - - - - Query 2 - - - - - - and enter a query. + + Query 2 + + and enter a query.

+ speaker + , + } + } > - You can see how boosting a field affects the results. The following query boosts the - - - - - - + - - + speaker - - - - - - - - + + + + field: @@ -5219,31 +4888,21 @@ exports[`Flyout component Renders flyout component 1`] = `

+ Search + , + } + } > Select - - - - - + Search - - - - - + and compare the results in Results 1 and Results 2. From 38162ca0cf2b6f630d1cd7b9e950716dc5820d0c Mon Sep 17 00:00:00 2001 From: Nicholas Ung Date: Mon, 23 Oct 2023 15:06:05 -0700 Subject: [PATCH 4/4] Wrap user-facing strings in header.tsx Signed-off-by: Nicholas Ung --- .../__snapshots__/header.test.tsx.snap | 30 +++++++++++++++++-- public/components/common/header.tsx | 18 +++++++++-- .../__snapshots__/create_index.test.tsx.snap | 30 +++++++++++++++++-- 3 files changed, 69 insertions(+), 9 deletions(-) diff --git a/public/components/common/__test__/__snapshots__/header.test.tsx.snap b/public/components/common/__test__/__snapshots__/header.test.tsx.snap index c1dfee0..615080d 100644 --- a/public/components/common/__test__/__snapshots__/header.test.tsx.snap +++ b/public/components/common/__test__/__snapshots__/header.test.tsx.snap @@ -16,7 +16,15 @@ exports[`Header component Renders header component 1`] = `

- Compare search results + + + Compare search results + +

@@ -24,7 +32,15 @@ exports[`Header component Renders header component 1`] = ` className="euiText euiText--medium" >

- Compare results using the same search text with different queries. + + + Compare results using the same search text with different queries. + + - Learn more + + + Learn more + + { borderRadius="none" > -

Compare search results

+

+ +

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

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 c24021e..6779956 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 @@ -17,7 +17,15 @@ exports[`Create index component Renders create index component 1`] = `

- Compare search results + + + Compare search results + +

@@ -25,7 +33,15 @@ exports[`Create index component Renders create index component 1`] = ` className="euiText euiText--medium" >

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