codeant-ai-for-open-source[bot] commented on PR #37163:
URL: https://github.com/apache/superset/pull/37163#issuecomment-3758627656
## **Sequence Diagram**
The PR prevents showing the Matrixify tab for table-like visualization types
by checking the Matrixify feature flag and viz_type compatibility; if Matrixify
is enabled and the viz is compatible, the tab is rendered and auto-selected
when matrixify is enabled in form_data.
```mermaid
sequenceDiagram
participant User
participant ExploreUI
participant ControlPanelsContainer
participant FeatureFlagService
participant VizCompatibility
User->>ExploreUI: Open chart editor (form_data with viz_type)
ExploreUI->>ControlPanelsContainer: Render with form_data
ControlPanelsContainer->>FeatureFlagService: is FeatureFlag.Matrixify
enabled?
FeatureFlagService-->>ControlPanelsContainer: true/false
ControlPanelsContainer->>VizCompatibility: is viz_type compatible with
Matrixify?
VizCompatibility-->>ControlPanelsContainer: compatible/incompatible
alt Feature enabled AND compatible
ControlPanelsContainer-->>ExploreUI: Render Matrixify tab
alt form_data.matrixify_enabled
ControlPanelsContainer-->>ExploreUI: Auto-switch to Matrixify tab
end
else Feature disabled OR incompatible
ControlPanelsContainer-->>ExploreUI: Do not render Matrixify tab
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]