-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discover] Improve empty state page #103602
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@gchaps can we please get your input for the copy on the pink rectangle? |
+1 for helping people get out of an undesirable situation :) Not having the back history and just opening this PR for review, the amount of copy struck me as quite verbose making the entire prompt feel a bit jam packed. Could we carve this down even more into, say, a bullet point or two within each section? |
Short versionNo results match your search criteria
Using the existing formatNo results match your search criteria Expand the time range Remove filters from your search Temporarily remove all filters Modify your query |
Thank you @ryankeairns for pointing that out and to @gchaps for the suggestions. I've simplified the copy as shown below to cover for three scenarios a) a query exists and there are no filters b) a query exists and there's filters c) there are filters and there's no query. Let me know what you think. a) A query exists and there are no filtersb) A query exists and there's filtersc) There are filters and there's no query@timroes I added a big if statement that I'm guessing needs a cleanup, would appreciate your support on that side. |
"narrowing search results" is specific to filtering, so I don't think we should include the text about a different combination of terms. Can you use:
|
We changed the wording to "remove filters". Since there is a difference between removing them (which makes them gone) and just disabling them, I think we should continue calling it "disable filters" instead. @andreadelrio I'll have a look at the code/if statement, once we settled on the wording and criterias applied to it :-) |
+1 to @gchaps point. @andreadelrio perhaps we could use the Visually, it would good to see how this looks with a more even amount of padding around all four sides. The heavy title may have extra padding so, practically speaking, this may require setting some slightly different padding values to achieve the more-even visual effect. Let me know if that is not clear, I feel I got a bit wordy :) |
Yes, we could either change the heading per scenario or come up with a more general heading.
Considering this and Tim's comment above, here are the updated three scenarios. @gchaps can you have another look please? 1. Only filtersHeading: Adjust your filters 2. Filters and queryHeading: Adjust your search 3. Only queryHeading: Adjust your search |
Perhaps we can consolidate this into two discrete items and not handle the combined version. Adjust your filtersTry removing or temporarily disabling filters. Adjust your queryTry searching for a different combination of terms. cc:/ @gchaps |
I like this approach! I updated the code to have these discrete items. This should be ready for a design review @ryankeairns |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code and texts LGTM
@andreadelrio Can you provide an updated screenshot? |
Thanks for the copy updates. From a visual design perspective, let's try and match this up more closely to the 'No index patterns' empty state. For example: restricted/max-width, smaller illustration (?), double check typography, padding, and margins, etc. Side note: you can see this when data exists but there are no index patterns present. |
@gchaps here you go. Do you think we should reduce the first item? it is now a bit lengthy compared to the other ones. |
Yes. Remove the sentence "You are searching time series data..." Starting with "Try searching....", makes it parallel with the other two. |
just noticed this. "larger" should be "longer". Try searching over a longer period of time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the adjustments. The copy and result (in the description) look great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
Summary
Closes #86765
Checklist
Delete any items that are not applicable to this PR.
For maintainers