codeant-ai-for-open-source[bot] commented on PR #38519:
URL: https://github.com/apache/superset/pull/38519#issuecomment-4030108927
## **Sequence Diagram**
This PR introduces a global Matrixify enable switch with per-axis modes and
an All dimensions selection option, and updates chart rendering and context
menus to respect the new configuration by disabling Drill by when Matrixify is
active.
```mermaid
sequenceDiagram
participant User
participant ExploreUI
participant Backend
participant ContextMenu
User->>ExploreUI: Toggle Enable matrixify and set axis modes
ExploreUI->>ExploreUI: Update form data with matrixify modes and
selection method
User->>ExploreUI: Choose All dimensions for a matrix axis
ExploreUI->>Backend: Request distinct values for selected dimension
Backend-->>ExploreUI: Return dimension values
ExploreUI->>ExploreUI: Store first 25 values and total count for axis
ExploreUI->>ExploreUI: Build matrixify config and render matrix grid
User->>ContextMenu: Open chart context menu
ContextMenu->>ExploreUI: Check matrixify modes on rows and columns
alt Matrixify enabled on any axis
ContextMenu-->>User: Show menu without Drill by option
else Matrixify disabled
ContextMenu-->>User: Show full Drill by menu
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]