Skip to content
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] Add Search Functionality for Field Values in Field Stats Popover #192692

Open
ninoslavmiskovic opened this issue Sep 12, 2024 · 8 comments
Labels
needs design Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:obs-ux-logs Observability Logs User Experience Team

Comments

@ninoslavmiskovic
Copy link
Contributor

ninoslavmiskovic commented Sep 12, 2024

WHY:

In Discover, users often need to explore or filter data based on specific field values. Currently, the field stats popover displays top values, but when there are numerous options, users may struggle to quickly locate a particular value. This impacts usability, especially in datasets with high cardinality.

WHAT:

Introduce a search input field within the field stats popover. This input will allow users to search and filter through the field values. It will provide a search that refines the values, making it easier to pinpoint the value of interest.

BENEFITS:

  • Efficiency: Users can quickly locate specific field values without manual scrolling and saving time
  • Usability: Improves the user experience by simplifying navigation in large datasets.
  • Enhanced Filtering: Makes filtering more precise, enabling faster decision-making during data exploration.

Figma file

https://www.figma.com/design/nM03IVLSwQZatLtzRCwcEg/Search-in-Field-stats-popover?m=auto&node-id=6044-9273&t=tjZY5Qj4tJFbGjUn-1

Image

@ninoslavmiskovic ninoslavmiskovic added Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Sep 12, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@l-suarez l-suarez self-assigned this Sep 19, 2024
@l-suarez
Copy link

Design needs to define a few flows, such as empty state and search behaviour inside the popover: https://github.com/elastic/platform-ux-team/issues/451

@kertal kertal added the Team:obs-ux-logs Observability Logs User Experience Team label Sep 23, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@l-suarez l-suarez removed their assignment Sep 30, 2024
@ryankeairns
Copy link
Contributor

While the proposed solution may help, I am not convinced it will materially address the stated problem...

...but when there are numerous options, users may struggle to quickly locate a particular value.

In part, it won't provide an exhaustive list of values and the assumption here is that users know the particular value. As we've also seen with field names, they may not know the exact name or value and are desiring to browse. Imagine long values of a similar pattern - discerning the exact value you want will be difficult to see and do. Even if they are able to find the desired value, we now return a single result with a now out-of-context percentage associated to it.

I suspect what would move the needle in a more material way would be to provide some sort of solution for browsing data sources > fields > and field values.

@ninoslavmiskovic
Copy link
Contributor Author

@ryankeairns I think what you are describing is something we can enhance in the field list. We have "recommended fields extension point" being specified and that would help users navigate and understand their data better.

@jughosta
Copy link
Contributor

jughosta commented Oct 1, 2024

@ryankeairns Currently, we are showing maximum 10 top values. Would it help if we add a button to allow loading more? Then we could fetch 20, 30, ... top values.

@ryankeairns
Copy link
Contributor

@ryankeairns Currently, we are showing maximum 10 top values. Would it help if we add a button to allow loading more? Then we could fetch 20, 30, ... top values.

Oooo that's a nice idea. I do think that would be nice enhancement in lieu of a more general-purpose data browsing capability.

@jughosta
Copy link
Contributor

jughosta commented Nov 1, 2024

@ryankeairns Created a small PoC for the "Load more" idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs design Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

7 participants