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

   ## **Sequence Diagram**
   
   Shows how Explore permalinks now include chart-level state (table filters) 
when created, and how that state is restored and kept in the Redux store while 
the chart updates propagate back to the store. This is the minimal success path 
introduced by the PR.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant ExploreUI as Explore UI
       participant PermalinkAPI as Permalink API
       participant Backend as Backend (GET /explore)
       participant Store as Redux Store
       participant Chart as ChartContainer
   
       User->>ExploreUI: Copy/Share permalink
       ExploreUI->>PermalinkAPI: getChartPermalink(formData, chartState)  // 
includes table column filters
       PermalinkAPI-->>ExploreUI: Permalink saved (key/url)
   
       User->>ExploreUI: Open permalink URL
       ExploreUI->>Backend: fetchExploreData(permalink_key)
       Backend-->>ExploreUI: Explore payload (form_data, chartState)
       ExploreUI->>Store: dispatch hydrateExplore(..., chartStates)
       Store-->>ExploreUI: explore state populated (chartStates available)
   
       ExploreUI->>Chart: render with merged ownState (includes restored 
chartState)
       Chart-->>ExploreUI: onChartStateChange(newState)
       ExploreUI->>Store: dispatch updateExploreChartState(chartId, newState)
   ```
   
   ---
   *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