Expose ability to reset panel state/embeddable config #15665
Labels
Feature:Dashboard
Dashboard related features
release_note:enhancement
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
There are certain actions a user can make with an embeddable that will cause it's state to be overridden and saved with a dashboard. After this happens, there is no way* to reset that overridden state so your embeddable is once again synced with the underlying saved object.
*there are some work arounds - either to edit the dashboard state in saved object management, or remove the panel from the dashboard and re-add it.
For instance:
I think for now those are the only three situations we have, but there could be more. Essentially, we want to expose a way to reset all the state inside embeddableConfig so the embeddable goes back to it's original form, outside of the dashboard panel.
We may also want to expose what exactly is saved in that configuration and allow it to be manually tweaked, but it'd be in the form of JSON, so might not be very user friendly. If we wanted to expose a more user friendly description of what was saved, we'd need to have each embeddable expose it so dashboard can continue to not care what is inside the embeddable config.
We already kind of expose this functionality with
reset title
on panel customization, so maybe something in that menu. Here is a horribly hacky throw together of where abouts it could go:but tagging design team as they may have better ideas.
Perhaps as a step one we just expose a
Reset config
option and worry about exposing the details of what is inside the configuration as a second step. Wording could probably use some improvement too.This was briefly discussed as part of #9523 but I'm now pulling this specific feature request into it's own issue.
cc @elastic/kibana-sharing @elastic/kibana-visualizations @elastic/kibana-design
The text was updated successfully, but these errors were encountered: