bito-code-review[bot] commented on PR #35754:
URL: https://github.com/apache/superset/pull/35754#issuecomment-3425047168

   <details open>
     <summary><strong>Interaction Diagram by <a 
href="https://bito.ai#sequence_diagram";>Bito</a></strong></summary>
   
   ```mermaid
   sequenceDiagram
   participant EXT as External App
   participant SWB as Switchboard
   participant API as EmbeddedApi<br/>🔄 Updated | ●●○ Medium
   participant ACT as updateDataMask<br/>🔄 Updated | ●●○ Medium
   participant STR as Redux Store
   participant DSH as Dashboard
   Note over API: New setDataMask method<br/>enables external filter control
   EXT->>SWB: setDataMask(dataMask)
   SWB->>API: Call setDataMask function
   API->>ACT: Dispatch updateDataMask actions
   ACT->>STR: Update dataMask state
   STR->>DSH: Trigger dashboard re-render
   DSH-->>EXT: Updated dashboard with filters
   ```
   Critical path: External 
App-&gt;Switchboard-&gt;EmbeddedApi-&gt;updateDataMask-&gt;Redux 
Store-&gt;Dashboard
   
   
   > **Note:** The embedded API now supports programmatic data mask setting 
from external applications. The new setDataMask method iterates through 
provided filters and dispatches Redux actions to update the dashboard state, 
enabling external control over embedded dashboard filters.
   
   </details>


-- 
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