From eb8df74e8ecde16ba25d68f603925bdab4859f3a Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Sat, 24 Feb 2024 04:22:57 -0700 Subject: [PATCH] [maps] update ES|QL copy to align with controls copy (#177668) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @teresaalvarezsoler suggested updating ES|QL copy to align with existing controls copy Controls copy ![image](https://github.com/elastic/kibana/assets/373691/976d24a6-6274-44a5-9974-69a533e88983) Updated ES|QL copy Screenshot 2024-02-22 at 4 06 56 PM --- .../classes/sources/esql_source/create_source_editor.tsx | 2 +- .../public/classes/sources/esql_source/narrow_by_field.tsx | 6 +++--- .../sources/esql_source/update_source_editor.test.tsx | 4 ++-- .../classes/sources/esql_source/update_source_editor.tsx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx index 4533c54d1a1ce..f0f02f788a8b9 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx @@ -213,7 +213,7 @@ export function CreateSourceEditor(props: Props) { { diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx index ba5047deb6d22..5df13379cd9e0 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx @@ -15,7 +15,7 @@ export function NarrowByMapBounds(props: Omit diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx index 7491f6bc2b049..cea623f40ec07 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx @@ -45,7 +45,7 @@ jest.mock('../../../kibana_services', () => { describe('UpdateSourceEditor', () => { describe('narrow by map bounds switch', () => { function getNarrowByMapBoundsSwitch() { - return screen.getByText('Narrow ES|QL statement by visible map area'); + return screen.getByText('Dynamically filter for data in the visible map area'); } test('should set geoField when checked and geo field is not set', async () => { @@ -97,7 +97,7 @@ describe('UpdateSourceEditor', () => { describe('narrow by time switch', () => { function getNarrowByTimeSwitch() { - return screen.getByText('Narrow ES|QL statement by global time'); + return screen.getByText('Apply global time range to ES|QL statement'); } test('should set dateField when checked and date field is not set', async () => { diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx index e77bcf862f929..e7afd52e9b5e5 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx @@ -132,7 +132,7 @@ export function UpdateSourceEditor(props: Props) { {