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

[meta] Lens MVP (beta launch) #36148

Closed
10 of 23 tasks
wylieconlon opened this issue May 6, 2019 · 1 comment
Closed
10 of 23 tasks

[meta] Lens MVP (beta launch) #36148

wylieconlon opened this issue May 6, 2019 · 1 comment
Labels
Feature:Lens Meta Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@wylieconlon
Copy link
Contributor

wylieconlon commented May 6, 2019

Related to #31933

In the first milestone we are aiming for these features:

Editor frame

  • Initialization routine
  • Initializes current datasource
  • Switches datasources and visualizations
  • Renders datasource and visualization
  • Builds expression out of parts
  • Takes props and element
  • Renders into container div
  • Configurable mountpoint element
  • Pulls in dependencies through old plugin and new plugin shim
  • Executes them on changes
  • Renders result into container
  • Extend APIs where necessary
  • Registers global context for drag and drop handling
  • Add drag and drop for indexpattern datasource
  • Use time filter
  • Use filters

Index pattern datasource

  • Suggest meaningful data tables on field drop
  • Provide operations for value, terms, date_histogram, filter ratio and common metric aggregations
  • Show selector for available index patterns
  • Filter for fields
  • Show fields of current index pattern
  • Filter fields which can't be used in visualizations
  • Provide dimension editors for value, terms date_histogram, filter ratio and common metric aggregations
  • Pull required dependencies (saved object client via chrome) into indexpattern datasource
  • Fetch necessary information on initialize and indexpattern switch
  • Implement mapping from internal datasource state to esaggs expression function parameters
  • Implement mapping from internal datasource state to esdocs expression function parameters
  • Add expression function to normalize data table for consuming visualization

XY visualization

  • Implement config panel for basic XY chart (x axis, y axis, split series, stacked, mode)
  • Implement mapping from internal state to xy expression function
  • Implement suggestion generation for suitable data tables
  • Add expression function with parameters for x/y/split axis, stacking and display mode
  • Implement renderer for this chart based on elastic-charts
  • Register expression function in global expression registry
  • Toggle axis display
  • Use existing index pattern formatters
  • Choose color scheme from predefined

Additional visualizations and switching

  • Implement renderer for single metric
  • Implement suggestion ranking for single metric
  • Implement renderer for this chart based on elastic-charts
  • Implement suggestion ranking for pie chart
  • Implement renderer for this chart based on basic table component
  • Implement suggestion ranking for data table
  • Ability to switch between vis types

Integration with Kibana

  • Text will use the name Lens and indicate that it can support multiple kinds of visualizations
  • Editor frame should save as you work
  • URL should have parameter for saved object which will pass it in to the editor frame
  • List of Saved Visualizations should include Lens
  • Ability to embed Lens visualizations in dashboard

Other

  • Telemetry
  • Functional tests

Open questions

@flash1293 flash1293 added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed :New Editor labels May 7, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@rayafratkina rayafratkina changed the title [meta] First Lens milestone [meta] Lens MVP (beta launch) Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens Meta Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants