This is an automated email from the ASF dual-hosted git repository. msyavuz pushed a commit to branch msyavuz/chore/disable-matrixify-for-incompatible-viz in repository https://gitbox.apache.org/repos/asf/superset.git
commit a9e6e5beef9845bf5da0e6a68ffe26059e535849 Author: Mehmet Salih Yavuz <[email protected]> AuthorDate: Wed Jan 14 22:36:27 2026 +0300 chore(Matrixify): disable matrixify for incompatible viz types --- .../src/explore/components/ControlPanelsContainer.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/explore/components/ControlPanelsContainer.tsx b/superset-frontend/src/explore/components/ControlPanelsContainer.tsx index 6f9f3e4f3f..4dd7a68120 100644 --- a/superset-frontend/src/explore/components/ControlPanelsContainer.tsx +++ b/superset-frontend/src/explore/components/ControlPanelsContainer.tsx @@ -40,6 +40,7 @@ import { usePrevious, isFeatureEnabled, FeatureFlag, + VizType, } from '@superset-ui/core'; import { styled, css, SupersetTheme, useTheme } from '@apache-superset/core/ui'; import { @@ -794,7 +795,11 @@ export const ControlPanelsContainer = (props: ControlPanelsContainerProps) => { ]); const showCustomizeTab = customizeSections.length > 0; - const showMatrixifyTab = isFeatureEnabled(FeatureFlag.Matrixify); + // Charts that don't support matrixify feature + const MATRIXIFY_INCOMPATIBLE_CHARTS = new Set([VizType.TableAgGrid]); + const showMatrixifyTab = + isFeatureEnabled(FeatureFlag.Matrixify) && + !MATRIXIFY_INCOMPATIBLE_CHARTS.has(form_data.viz_type as VizType); // Check if matrixify is enabled in form_data const matrixifyIsEnabled =
