[Maps] [Dashboard] Unsaved Changes Showing After Cancel #96510
Labels
bug
Fixes for quality problems that affect the customer experience
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
Feature:Dashboard
Dashboard related features
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Kibana version: 7.12
Describe the bug:
On a dashboard with at least one map panel, if the user navigates to any editor and back again, (without adding anything) the unsaved changes badge will show, and there will be unsaved changes registered for that dashboard on the listing page.
Steps to reproduce:
Expected behavior:
Canceling out of an editor or navigating back should only show unsaved changes if there are actually unsaved changes.
Any additional context:
Looks like the diff is finding differences in the embeddableConfig of the map panel. Some of the information may be getting lost on subsequent loads?
What's interesting is that this doesn't result in any visible changes on the map. The zoom stays as configured etc.
Last Saved Map Panel State:
![Screen Shot 2021-04-07 at 5 26 41 PM](https://user-images.githubusercontent.com/14276393/113936978-85db6980-97c6-11eb-9cf3-d12401826c41.png)
Current Map Panel State:
![Screen Shot 2021-04-07 at 5 26 26 PM](https://user-images.githubusercontent.com/14276393/113936995-8a078700-97c6-11eb-9b8c-a88ec4b59279.png)
The text was updated successfully, but these errors were encountered: