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

   ## **Sequence Diagram**
   
   This PR fixes the embedded dashboard rendering logic so the top tab bar is 
hidden when hideTab is enabled. The flow now applies both hideTab and hideNav 
flags when deciding whether to render top level tabs.
   
   ```mermaid
   sequenceDiagram
       participant EmbedSDK
       participant DashboardPage
       participant UiConfigContext
       participant DashboardBuilder
   
       EmbedSDK->>DashboardPage: Open embedded dashboard with hideTab enabled
       DashboardPage->>UiConfigContext: Parse UI config flags from embed 
settings
       UiConfigContext-->>DashboardBuilder: Provide hideTab and hideNav values
       DashboardBuilder->>DashboardBuilder: Evaluate tab bar render condition
   
       alt hideTab or hideNav is true
           DashboardBuilder-->>EmbedSDK: Render dashboard without top tab bar
       else both flags are false
           DashboardBuilder-->>EmbedSDK: Render dashboard with top tab bar
       end
   ```
   
   ---
   *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