Closed nickofthyme closed 1 week ago
Pinging @elastic/kibana-visualizations (Team:Visualizations)
This is actually way worse than it seems. It overrides the visualization title in the Visualization Library on every inline-edited visualization...
https://github.com/elastic/kibana/assets/1421091/3dc8924f-24f8-4ef6-b816-07fad6557031
When using Lens on-the-fly popover, it can sometimes override/ignore the
title
property.The offending code is
line 233
below, that overrides thetitle
to a presumptive default value ofvisualization.activeId
.https://github.com/elastic/kibana/blob/64a4c6dfaa3d174ffc2ab7120fbdf8bb0c372b2b/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx#L224-L234
Steps to reproduce
Create visualization
button then afterwardSave to library
to give a name to your visualization.Edit visualization
and change visualization type fromBar vertical stacked
toArea
, then clickApply and close
. The name is not changed.Area
toBar vertical stacked
.Now the name is changed to
InsXY
: