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

[Seamless] Visualize data without leaving Discover #124751

Closed
Tracked by #124584
ryankeairns opened this issue Feb 4, 2022 · 5 comments
Closed
Tracked by #124584

[Seamless] Visualize data without leaving Discover #124751

ryankeairns opened this issue Feb 4, 2022 · 5 comments
Labels
enhancement New value added to drive a business result impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@ryankeairns
Copy link
Contributor

ryankeairns commented Feb 4, 2022

Summary

As an analyst, I would like the ability to quickly visualize data without leaving my document exploration context.

Problem

Two common exploration use cases in Discover are 1) verifying/learning about my data and 2) digging into issues and looking for patterns. Discover is a document-oriented, text-heavy experience by nature. That said, while exploring, information and clues can become more visible when visualized.

Solution

This is likely but one of many thoughts on how to approach this topic, but in the spirit of a providing a more seamless experience (and promoting Lens) we should consider adding a basic visualization preview to Discover so that users do not have to either leave/lose their Discover context or manage multiple browser tabs.

Considerations

  • We don't want to recreate Lens in a flyout; let's explore when to make the crossover
  • Discover is document-based; Lens visualizations are aggregation-based. How much aggregation can/should existing in Discover to support this enhancement?
  • In the spirit of keeping things simple, we might consider limiting the preview to a single field and minimal configuration options. Beyond that, the user can jump to Lens
  • On the topic of jumping over, how much can/should we accommodate the return portion of this flow? (from Lens back to Discover)
  • How does this work with data views and Unified Search? Can we pass that context + filters over to Lens (and back)?
  • To the previous point, must they be prompted to save the data view before exiting? Do temporary index patterns play a role in this?

Early concept

image

@botelastic botelastic bot added the needs-team Issues missing a team label label Feb 4, 2022
@ryankeairns ryankeairns added Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Feb 4, 2022
@ryankeairns ryankeairns changed the title Visualize data in context (i.e. Lens preview) [Seamless] Visualize data without leaving Discover Feb 4, 2022
@shaunmcgough
Copy link

I like the concept. We could also have this somewhere in the flyout. I like the spark lines of field statistics, and wonder if we could add some of those in the flyout. Great initiative!

@stratoula
Copy link
Contributor

This is highly connected to this #147472

@stratoula stratoula added the impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. label Jan 26, 2023
@stratoula stratoula added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. enhancement New value added to drive a business result and removed impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels May 26, 2023
@stratoula
Copy link
Contributor

This is already done for text based mode. We could enable this for dataview mode too.

What we can do:
Treat the fields selection as drag and drop fields in Lens. Lens suggestion system will propose the best aggregation for this fiend and eventually the best chart. Users can also select among different suggestions.

@stratoula
Copy link
Contributor

I am closing this as possible in ES|QL. I am tracking this in another issue #124751 (comment)

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 impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants