You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/03/02 19:42:28 UTC

(superset) branch fix/cross-filter-filterstate-regression created (now e06b90b5074)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a change to branch fix/cross-filter-filterstate-regression
in repository https://gitbox.apache.org/repos/asf/superset.git


      at e06b90b5074 fix(dashboard): restore filterState prop for cross-filter functionality

This branch includes the following new commits:

     new e06b90b5074 fix(dashboard): restore filterState prop for cross-filter functionality

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: fix(dashboard): restore filterState prop for cross-filter functionality

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch fix/cross-filter-filterstate-regression
in repository https://gitbox.apache.org/repos/asf/superset.git

commit e06b90b507489eb796196cd1b09c470b1ebfebd4
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Mon Mar 2 11:42:17 2026 -0800

    fix(dashboard): restore filterState prop for cross-filter functionality
    
    The filterState prop was accidentally dropped from ChartContainer during
    the JSX→TSX conversion in #37625. This prop carries selectedValues from
    the dataMask Redux state to chart plugins, which is required for
    cross-filter highlights, opacity dimming, and selection toggling.
    
    Closes #37853
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
 .../src/dashboard/components/gridComponents/Chart/Chart.tsx              | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx b/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx
index 0dda657a02d..cbf930183be 100644
--- a/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx
+++ b/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx
@@ -761,6 +761,7 @@ const Chart = (props: ChartProps) => {
           emitCrossFilters={emitCrossFilters}
           onChartStateChange={handleChartStateChange}
           suppressLoadingSpinner={suppressLoadingSpinner}
+          filterState={dataMask[props.id]?.filterState}
         />
       </ChartWrapper>