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

[Lens] Deep Link into a prefilled editor #59845

Closed
AlonaNadler opened this issue Mar 10, 2020 · 4 comments
Closed

[Lens] Deep Link into a prefilled editor #59845

AlonaNadler opened this issue Mar 10, 2020 · 4 comments
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects

Comments

@AlonaNadler
Copy link

Currently, when a solution team needs to implement a chart they turn to the elastic chart team. In the future, we want to be able to embed Lens inside a solution and allow users of the solution to jump to Lens in case they want to explore further, in a similar way to what the Metric Explorer does with TSVB
Metric explorer:
image
which opens in TSVB:
image

(Observability team is ready to make the switch to the metric explorer as soon as we have rate)

@kibanamachine kibanamachine added this to Long-term goals in Lens Mar 10, 2020
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Mar 11, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@timroes timroes changed the title Ability to embed Lens in solution [Lens] Deep Link into a prefilled editor Mar 11, 2020
@flash1293 flash1293 added the enhancement New value added to drive a business result label Aug 6, 2020
@wylieconlon
Copy link
Contributor

We now have a simpler way of doing the Discover -> Lens navigation (#67415), but we haven't yet defined the requirements for solutions that would want to link to Lens.

The simplest option we can offer is the same as Discover, where the solution could ask Lens to visualize a field from an index pattern, and we'll build the default suggestion.

Alternatively, we could offer an API that gives more control. For example, the pre-filled information might contain:

  • Index pattern
  • List of fields + aggregations
  • Preferred chart type

Can you help clarify the scope @AlonaNadler? Do you have an idea of what solution teams are expecting?

@wylieconlon
Copy link
Contributor

There are two separate implementation ideas that we can consider:

a: Expand the scope of apps that can navigate into Lens using internal state, not part of the URL. This is how we did the action to open Lens from Discover, and completely hides the state from our users.

b. Public facing URL parameters: I think this is more like what we are talking about here #75316, where the URL is able to provide enough state information that we can construct a full visualization. This is more complicated to support.

@flash1293
Copy link
Contributor

This is possible now (#84416). Actual integrations will be tracked separately

Lens automation moved this from Long-term goals to Done Jan 29, 2021
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:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
No open projects
Lens
  
Done
Development

No branches or pull requests

5 participants