mirror of
https://github.com/apache/superset.git
synced 2026-07-18 12:45:44 +00:00
Extend get_dashboard_filter_context with an optional active_data_mask kwarg so callers can resolve each in-scope native filter against live dashboard filter state instead of saved defaults. A non-empty active extraFormData is applied, an empty one clears the filter (no fallback to default), and filters absent from the mask keep their defaults. Backward compatible: omitting the kwarg reproduces initial-load behavior. Adds unit tests covering override, clear, fallback, defaultToFirstItem, and out-of-scope cases. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>