-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Open
Labels
area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Apache Airflow version
3.1.2
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
- Navigate to any page under /security by clicking to the sidebar.
- Hit the"Back" arrow button
Effect:
- You are navigated back to the home page (rightly so)
- There is a second sidebar the URL is locked no matter where you click.
- In fact, you can use the right-most sidebar to go back to any Security page and hit the "back" button again. You get a third Sidebar. Repeat the process to get as many sidebars as you want :) The only escape is to use the left-most sidebar.
I debugged a bit the generated HTML and I noticed that there are nested Iframes, and every time you repeat the process, an extra layer of an iframe gets created. This explains the multiple sidebars. Each one of them lives in a different iframe. The iframes would also explain why the URL remains "locked". When the user navigates through airflow, only the inner-most iframe changes its url. But the URL that the user sees in the URL-bar the top-level page, which never changes.
What you think should happen instead?
No extra sidebars. The url reflects the actual page I am viewing.
How to reproduce
- Navigate to any page under /security by clicking to the "Security" sidebar section.
- Hit the"Back" arrow button (see photo above)
Operating System
Mac OS (viewed in google-chrome)
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
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
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet