[Embeddables] Migration System for Unsaved State #164501
Labels
Feature:Dashboard
Dashboard related features
Feature:Embeddables
Relating to the Embeddable system
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:large
Large Level of Effort
project:embeddableRebuild
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Currently, after #162986 the Dashboard does not run clientside migrations for any state passed in via the URL, or for any unsaved state that was in the session storage.
The function that runs on Dashboard saved object load means that most of the time, when the embeddable create function is called on Dashboards there are no more migrations to be run. If for any reason there are migrations to be run at this point, the embeddable inheritance structure means they get immediately undone because the Container's child input is considered the source of truth. This could happen when:
Implementing this back-propagation on the existing Embeddables framework would require ugly workarounds and changes that would affect the stability of the Embeddable platform. Once we move to a less prescriptive inheritance structure, this will not be a problem.
The text was updated successfully, but these errors were encountered: