-
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
[Lens] Optionally show custom controls in the embedded Lens visualization #148890
Comments
Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations) |
hi @formgeist I see this as a valid request, but I'm wondering why this should be part of the embeddable.
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
We have discussed this topic internally in the visualization team. Probably a preferable approach is:
Open to suggestion from @elastic/kibana-presentation team |
@markov00, we have been considering doing a universal If you did want to add some sort of variable configuration to individual embeddables - exposed on the panel, it would likely be best to explore the first option. This is because the Controls are currently set up as |
Closing this for the time being as it looks like the discussion has stalled. In the future, the Presentation team will prioritize Embeddable Variables, which could potentially be used to drive this functionality. We can re-open this & move it to only the Visualizations team if an in-embeddable approach is deemed appropriate. |
Summary
Instead of asking the user to move their analysis to Lens, we want to provide easy controls for changing parameters or in this case aggregrations of the metrics displayed. These controls are custom, but instead of implementing them outside the
LensEmbeddable
it might make sense to be able to provide them as part of the embeddable UX.In the above example, the user is able to change the average aggregation from average to 95p or 99p by simply clicking the button group displayed.
We can imagine lots of various use-cases for individual controls for each visualization. Perhaps there's an alternate way of implementing this as a custom component within the embeddable.
The text was updated successfully, but these errors were encountered: