Skip to content

Commit

Permalink
Revert "[Explorer] Modify text in empty prompt (opensearch-project#1172
Browse files Browse the repository at this point in the history
…) (opensearch-project#1182)"

This reverts commit 95a60cc.
  • Loading branch information
mengweieric committed Nov 8, 2023
1 parent 081218e commit 0c3bd34
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,27 @@ exports[`No result component Renders No result component 1`] = `
data-test-subj="obsNoResultsTimefilter"
>
<FormattedMessage
defaultMessage="Select a data source, expand your time range, or modify the query"
defaultMessage="Expand your time range or modify your query"
id="observability.noResults.expandYourTimeRangeTitle"
values={Object {}}
>
<span>
Select a data source, expand your time range, or modify the query
Expand your time range or modify your query
</span>
</FormattedMessage>
</h2>
<p>
<FormattedMessage
defaultMessage="After selection, check the time range, query filters, fields, and query"
defaultMessage="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."
id="observability.noResults.queryMayNotMatchTitle"
values={Object {}}
>
<span>
After selection, check the time range, query filters, fields, and 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.
</span>
</FormattedMessage>
</p>
Expand Down
6 changes: 4 additions & 2 deletions public/components/event_analytics/explorer/no_results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ export const NoResults = () => {
<h2 data-test-subj="obsNoResultsTimefilter">
<FormattedMessage
id="observability.noResults.expandYourTimeRangeTitle"
defaultMessage="Select a data source, expand your time range, or modify the query"
defaultMessage="Expand your time range or modify your query"
/>
</h2>
<p>
<FormattedMessage
id="observability.noResults.queryMayNotMatchTitle"
defaultMessage="After selection, check the time range, query filters, fields, and query"
defaultMessage="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."
/>
</p>
</EuiText>
Expand Down

0 comments on commit 0c3bd34

Please sign in to comment.