elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

[Convert-2-lens] filters lost when converting legacy vis from editor #170076

Closed drewdaemon closed 9 months ago

drewdaemon commented 10 months ago

Kibana version: 8.10.2, haven't checked further back

Describe the bug: When a legacy visualization is converted using the dashboard action, the filter information is retained. However, when the visualization is converted from the legacy editor, it is lost.

Steps to reproduce:

  1. Create TSVB gauge
  2. Add filter pill/query
  3. Save to dashboard
  4. Open editor again
  5. Click "Edit visualization in Lens"

Expected behavior:

Filters should be retained.

Screenshots (if relevant):

https://github.com/elastic/kibana/assets/315764/1684dc32-ce2a-473a-b0be-bc02fc8b5ae5

elasticmachine commented 10 months ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)