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

   ## **Sequence Diagram**
   
   This PR fixes a Safari race condition by reading query params from React 
Router location search instead of relying on window location search. The 
explore page now consistently loads dashboard context and applies inherited 
filters when opening a chart.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant ExplorePage
       participant UrlUtils
       participant LocalStorage
       participant ExploreAPI
   
       User->>ExplorePage: Open chart from dashboard
       ExplorePage->>UrlUtils: Read dashboard and chart ids from location search
       UrlUtils-->>ExplorePage: Return parsed ids
       ExplorePage->>LocalStorage: Load dashboard explore context by page id
       ExplorePage->>ExploreAPI: Fetch chart explore data
       ExplorePage->>ExplorePage: Merge chart data with dashboard context 
filters
       ExplorePage-->>User: Render chart with inherited filters
   ```
   
   ---
   *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