GitHub user LiamTorrelli added a comment to the discussion: Saved Filter Sets / 
Named Views for Dashboards

Superset actually shipped this once. "Filter Sets", behind 
`DASHBOARD_NATIVE_FILTERS_SET`, around 2021. Name a combo, pick it from a 
dropdown — basically the workflow you're sketching with "My Weekly NA Report".

4.0 deleted the whole thing in PR #26369. Honest maintenance call on their side 
— UI bugs, hydration races, broke whenever someone edited the dashboard. But 
the friction you're describing didn't go away. Permalinks are anonymous 
one-offs. `native_filters_key` URLs expire from server cache. Duplicating the 
dashboard copies structural drift forever.

The part that killed the original (and why a naive re-add would fail again): 
what happens to a saved view when someone renames `Product Line` or adds a 
filter? Old code crashed on that. We rebuilt named presets in our fork with 
drift detection on every render (warning triangle + block if applying would 
produce bad SQL), one-click SYNCHRONIZE when the dashboard structure shifts, 
per-user default presets on open, and shared team presets with ownership scopes.

I wrote the removal history, the workaround gaps, and the architecture: 
https://drafted.work/blog/superset-filter-presets

GitHub link: 
https://github.com/apache/superset/discussions/34386#discussioncomment-17526620

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to