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

Highlight row in Discover instead of just the value #36592

Closed
Tracked by #166238
alexfrancoeur opened this issue May 15, 2019 · 7 comments
Closed
Tracked by #166238

Highlight row in Discover instead of just the value #36592

alexfrancoeur opened this issue May 15, 2019 · 7 comments
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.

Comments

@alexfrancoeur
Copy link

When searching for something in Kibana, it will display the highlighted fields at the top in discover, which is great.
However, once the doc is expanded to show all fields, the fields are sorted alphabetically (which is great too). However, it is now every hard to find the field that is highlighted, as the yellow does not really stick out too much, especially when the value that matched was not long.
Imagine searching for 443 in Kibana and the dest.port field matches. That field is now one of 50 fields in the document and very hard to see.

One way to resolve this issue would be to highlight the full row of that document, in addition to the text, in a different color, so it's easier to tell which fields matched.

image

@alexfrancoeur alexfrancoeur added Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Feature:Discover Discover Application enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure labels May 15, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-design

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@sainthkh
Copy link
Contributor

@kertal Can I pick this up?

@timroes
Copy link
Contributor

timroes commented Aug 28, 2019

@sainthkh Thanks a lot for being eager to jump on this one. Since we're currently redesigning Discover completely and moving it over to React in which case it will get a completely new Table component, I think it doesn't make that much sense picking this up at the moment, since we'd anyway replace the table component in the next upcoming versions and maybe would even need to change the behavior of this slightly.

@sainthkh
Copy link
Contributor

@timeroes

1.
Thanks for your kind comment. Actually, I've read the related code and thought some codes are a bit hacky. (I'm not blaming. I know it's currently the best solution.) And thought I might need to stop, wait and see.

2.
But a note here. Currently, there's a bug in this highlight feature:

When you search number type fields, it doesn't highlight at all. For example, if you set Kibana with sample flight data and search dayOfWeek: 2, 2 isn't highlighted.

As it's related with angular field formatter, maybe it should be fixed first. If that thing is done, it might not be a problem.

3.
I have a question. Currently, Eui Datagrid is in spec stage. As the spec is really big, I guess it'll take at least 1-2 months to get the beta version of the UI.

Then, Discover new design starts with current EUI table and migrates one more time to Datagrid or just waits until Datagrid is done?

@kertal
Copy link
Member

kertal commented Aug 29, 2019

thx a lot for your feedback @sainthkh

  1. Yes, e.g. the formatter produces angular-flavored markup, the react component does some cleanup, will be improved when all is react 🎉

  2. In Kibana we're using the content of the highlight field returned by Elasticsearch. When I filter for dayOfWeek, this field is not part of highlight, think it's because it's a integer field.

  3. Currently discover is mainly deangularized. Where it makes sense, we switch to use EUI components. We won't use EUI table, will use Datagrid once it's ready for discover

@timroes timroes added Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 31, 2021
@jughosta jughosta added loe:small Small Level of Effort impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Nov 28, 2022
@kertal kertal removed their assignment Jul 5, 2023
@kertal
Copy link
Member

kertal commented Nov 6, 2023

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2023
@kertal kertal added the Icebox label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.
Projects
None yet
Development

No branches or pull requests

6 participants