From 95a60cc0eb3cea28d197f1c0bb71b13cf258e7ff Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 21:03:34 -0700 Subject: [PATCH] [Explorer] Modify text in empty prompt (#1172) (#1182) * remove unused files * missing snapshots * remove unused files * adjust text on empty prompt * add snapshots --------- (cherry picked from commit a6c03339966ee986bb5330232095da9ef0142e58) Signed-off-by: Eric Wei Signed-off-by: Eric Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../__tests__/__snapshots__/no_results.test.tsx.snap | 12 ++++-------- .../event_analytics/explorer/no_results.tsx | 6 ++---- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/public/components/event_analytics/__tests__/__snapshots__/no_results.test.tsx.snap b/public/components/event_analytics/__tests__/__snapshots__/no_results.test.tsx.snap index 97a94028cb..3e23d7126c 100644 --- a/public/components/event_analytics/__tests__/__snapshots__/no_results.test.tsx.snap +++ b/public/components/event_analytics/__tests__/__snapshots__/no_results.test.tsx.snap @@ -106,27 +106,23 @@ exports[`No result component Renders No result component 1`] = ` data-test-subj="obsNoResultsTimefilter" > - Expand your time range or modify your query + Select a data source, expand your time range, or modify the query

- Your query may not match anything in the current time range, - or there may not be any data at all in the currently selected time range. - Try change time range, query filters or choose different time fields. + After selection, check the time range, query filters, fields, and query

diff --git a/public/components/event_analytics/explorer/no_results.tsx b/public/components/event_analytics/explorer/no_results.tsx index 14ee3a5733..d6c96af865 100644 --- a/public/components/event_analytics/explorer/no_results.tsx +++ b/public/components/event_analytics/explorer/no_results.tsx @@ -30,15 +30,13 @@ export const NoResults = () => {