Repository navigation
Persist DAG list filters across navigation - #67442
bobu-putheeckal wants to merge 1 commit into
Conversation
|
Screenshots please! |
|
Thanks, agreed. I rewrote the PR description with the concrete problem/fix/tests and am moving this to draft until I can add before/after screenshots or a short GIF showing DAG list filters persisting across navigation. |
|
This pull request has been automatically marked as stale because the author has not responded to a request for more information. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
|
@bobu-putheeckal any progress? Would love to try to get this in for 3.3 if possible. Otherwise I think @pierrejeambrun was thinking about taking this feature on |
|
Yes I think we can close this one as it seems stale. I plan on implementing something similar, to persist 'named' views. |
If possible relate to this issue #66933 thank you |
Fixes: #66933
This PR persists selected DAG list filters when navigating away from and back to the DAG list in the Airflow UI.
Problem
In Airflow 3.x, DAG list filters such as status, last run state, favorites, and required actions can be lost during in-app navigation when the user returns to
/dagswithout the original query parameters. That makes the list feel inconsistent and forces users to reapply filters.What changed
useDagsFilterParamsnow falls back to the saved page-scoped values when the URL does not include those filter params./dags.Validation
I ran these checks locally from the UI package:
The focused Vitest run prints existing MSW bypass
ECONNREFUSEDnoise for localhost:3000, but exits green. On Node 25 I had to setNODE_OPTIONS=--no-experimental-webstorage; existing localStorage-related UI tests require the same flag in this environment.Screenshots
A maintainer requested screenshots. I am moving this PR to draft until I can add before/after screenshots or a short GIF that shows filters persisting across navigation.
Was generative AI tooling used to co-author this PR?
Generated-by: OpenAI Codex following https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions