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] Improve subsequent quick function defaults #137310

Closed
drewdaemon opened this issue Jul 27, 2022 · 2 comments · Fixed by #140050
Closed

[Lens] Improve subsequent quick function defaults #137310

drewdaemon opened this issue Jul 27, 2022 · 2 comments · Fixed by #140050
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.5.0

Comments

@drewdaemon
Copy link
Contributor

Describe the feature:
Several lens visualizations support adding multiple identical dimensions:

  • Primary and secondary metric in the metric visualization
  • Multiple vertical axes in XY types
  • Multiple metrics in a table
  • Horizontal and vertical axes in heat map
  • Multiple slice-by dimensions for pie

When the user drags a field that is already in use in one of these "identical" dimensions, we should consider defaulting to a different quick function. To go a step further, we could prioritize these default quick functions based on several factors including popularity or visualization-specific heuristics.

Example
When I drag bytes to the secondary metric dimension, why not suggest something other than "Median?"

Screen.Recording.2022-07-27.at.11.16.14.AM.mov
@drewdaemon drewdaemon added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens v8.5.0 labels Jul 27, 2022
@elasticmachine
Copy link
Contributor

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

@drewdaemon
Copy link
Contributor Author

drewdaemon commented Jul 27, 2022

cc @MichaelMarcialis who deserves credit for presenting the idea in #136567 (review)

@drewdaemon drewdaemon changed the title [Lens] Improve secondary default quick function selection [Lens] Improve secondary quick function defaults Jul 27, 2022
@flash1293 flash1293 added the enhancement New value added to drive a business result label Jul 27, 2022
@drewdaemon drewdaemon changed the title [Lens] Improve secondary quick function defaults [Lens] Improve subsequent quick function defaults Aug 1, 2022
@flash1293 flash1293 self-assigned this Sep 5, 2022
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 v8.5.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants