Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query params in Airflow 3 UI are persisted to other pages and tabs #46884

Open
1 of 2 tasks
tirkarthi opened this issue Feb 19, 2025 · 2 comments
Open
1 of 2 tasks

query params in Airflow 3 UI are persisted to other pages and tabs #46884

tirkarthi opened this issue Feb 19, 2025 · 2 comments
Labels
affected_version:main_branch Issues Reported for main branch affected_version:3.0.0alpha For all 3.0.0 alpha releases AIP-38 Modern Web Application area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug

Comments

@tirkarthi
Copy link
Contributor

Apache Airflow version

main (development)

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Query parameters that contain filter and sort information seem to be persisted across pages causing incorrect values to be applied.

What you think should happen instead?

filters from one page might not be relevant to other page and should not be persisted

How to reproduce

  1. Open a dag details page.
  2. Go to events tab and sort by event so url changes to http://localhost:8000/webapp/dags/example_python_operator/events?sort=event
  3. Click on the runs tab the sort parameter is persisted and applied to runs page which doesn't sort by event and returns error. The URL has sort from events page that is not valid. http://localhost:8000/webapp/dags/example_python_operator/runs?sort=event

Operating System

Ubuntu 20.04

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@tirkarthi tirkarthi added AIP-38 Modern Web Application area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug labels Feb 19, 2025
@vikramkoka
Copy link
Contributor

Can you please confirm that this is happening in 3.0.0alpha4?
I suspect this is based on the timing of your report, but would appreciate the confirmation, so this can be tagged appropriately.

@tirkarthi
Copy link
Contributor Author

Yes, this should be present in 3.0.0alpha4 and also on the main branch as of the commit 106b872 . Thanks.

@tirkarthi tirkarthi added affected_version:main_branch Issues Reported for main branch affected_version:3.0.0alpha For all 3.0.0 alpha releases labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected_version:main_branch Issues Reported for main branch affected_version:3.0.0alpha For all 3.0.0 alpha releases AIP-38 Modern Web Application area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug
Projects
None yet
Development

No branches or pull requests

2 participants