codeant-ai-for-open-source[bot] commented on PR #35754:
URL: https://github.com/apache/superset/pull/35754#issuecomment-4073629341

   ## **Sequence Diagram**
   
   This PR adds a new setDataMask method to the embedded dashboard API so 
parent applications can programmatically update native filter states. The flow 
sends data mask updates from the SDK into the embedded page, batches Redux 
updates, and applies filter changes to the dashboard.
   
   ```mermaid
   sequenceDiagram
       participant ParentApp
       participant EmbeddedSDK
       participant EmbeddedPage
       participant ReduxStore
       participant Dashboard
   
       ParentApp->>EmbeddedSDK: Call setDataMask with filter values
       EmbeddedSDK->>EmbeddedPage: Send setDataMask message
       EmbeddedPage->>ReduxStore: Batch update data mask for each filter
       ReduxStore->>Dashboard: Apply updated filter states
       Dashboard-->>ParentApp: Filters and charts reflect new mask
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to