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

   ## **Sequence Diagram**
   
   Shows how the import process now remaps chartsInScope references (native 
filters, global config, and per-chart cross-filters) using the new chart ID map 
so imported dashboards reference the newly created charts.
   
   ```mermaid
   sequenceDiagram
       participant Importer
       participant Utils
       participant IDMap
       participant Storage
   
       Importer->>Utils: update_id_refs(config, id_map)
       Utils->>IDMap: resolve chart UUIDs -> id_map
       Utils->>Utils: Remap native_filter_configuration.chartsInScope using 
id_map
       Utils->>Utils: update_cross_filter_scoping -> remap 
global_chart_configuration.chartsInScope and 
chart_configuration[*].crossFilters.chartsInScope
       Utils-->>Importer: return fixed config (all chartsInScope updated)
       Importer->>Storage: create/import dashboard and charts with updated 
references
   ```
   
   ---
   *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