You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DAG list Filter by tag state not persisted in Airflow 3.x #60590
Thanks for the detailed report. I’ve reproduced this on Airflow 3.1.x and am exploring a possible fix for the UI persistence. I’ll share findings or a PR once I have a clear approach.
Any guidance from maintainers is highly appreciated.
correct me if i'm wrong, the problem seems to be that the Filter by tag selections on the Dags page were stored only in url search params (?tags=tag1&tags=tag2&tags_match_mode=all). when the user navigated to another page (Home, Assets, etc.), the url changed and those params were lost. returning to the Dags page showed all dags unfiltered.
my guess is the solution should be persisting the tag filter selections to localStorage using the same useLocalStorage hook from usehooks-ts that's already used throughout the UI (for display mode, sort order, etc.). i'll try this and report back
Activity
rachanadutta commentedon Jan 17, 2026
Thanks for the detailed report. I’ve reproduced this on Airflow 3.1.x and am exploring a possible fix for the UI persistence. I’ll share findings or a PR once I have a clear approach.
Any guidance from maintainers is highly appreciated.
zachliu commentedon Mar 2, 2026
correct me if i'm wrong, the problem seems to be that the
Filter by tagselections on theDagspage were stored only in url search params (?tags=tag1&tags=tag2&tags_match_mode=all). when the user navigated to another page (Home,Assets, etc.), the url changed and those params were lost. returning to theDagspage showed all dags unfiltered.my guess is the solution should be persisting the tag filter selections to
localStorageusing the sameuseLocalStoragehook fromusehooks-tsthat's already used throughout the UI (for display mode, sort order, etc.). i'll try this and report backzachliu commentedon Mar 2, 2026
@bbovenzi shall i mimic airflow-core/src/airflow/ui/src/components/DataTable/useTableUrlState.ts to set up a common hook that is going to be used by both
DagsFilters.tsxandDagsList.tsxor can i simply add auseEffectinside airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx? any other pointers are also appreciated 🙏