release-22.1: ui: update empty results message on SQL Activity #84623
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 1/1 commits from #84494.
/cc @cockroachdb/release
Previously, when there was no data on the time interval
selected, we were displaying a message still referencing
our previous behaviour of only saving info for 1h.
This commit updates the message to remove that reference
and point out there are no data on the selected time
interval.
Before
![Screen Shot 2022-07-15 at 12 00 01 PM](https://user-images.githubusercontent.com/1017486/179263425-5646544e-be30-46f8-8de8-570183187e4b.png)
![Screen Shot 2022-07-15 at 12 03 16 PM](https://user-images.githubusercontent.com/1017486/179263449-5fea490d-3f84-49c1-ad75-f03aa3df0bd2.png)
After
![Screen Shot 2022-07-15 at 2 10 58 PM](https://user-images.githubusercontent.com/1017486/179285422-547d0d73-5030-47a8-9550-7c184c902c07.png)
![Screen Shot 2022-07-15 at 2 11 05 PM](https://user-images.githubusercontent.com/1017486/179285440-d12da261-c144-435b-93a7-0a3a5e59e325.png)
Release note (ui change): Update the message when there is no
data on the selected time interval on Statement and Transaction
pages.
Release justification: low risk change