[Embeddable] Improve explicit input handling #140397
Labels
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:medium
Medium Level of Effort
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Background
The current implementation is not as straightforward as it could be. The current implementation holds the state of all the child items in the container. This diverges child implementation into two separate paths when it is inside a container and is self-sufficient.
The merged state is hard to debug, and sometimes it is confusing where the state is coming from.
Resolving this should guarantee support of the nested containers.
Proposal
The base embeddable implementation should be updated to hold its own state regardless of context. The container implementation should be updated accordingly to gather children's states and combine that in the same format as the current implementation.
All methods handling explicit and the default state should be updated to match the existing behavior.
Notes
The text was updated successfully, but these errors were encountered: