Skip to content

Clicking on the "Back" button in any "Security" page produces multiple sidebars and locks the URL #58032

@alkismavridis

Description

@alkismavridis

Apache Airflow version

3.1.2

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

No response

What happened?

  1. Navigate to any page under /security by clicking to the sidebar.
  2. Hit the"Back" arrow button
Image

Effect:

  1. You are navigated back to the home page (rightly so)
  2. There is a second sidebar the URL is locked no matter where you click.
  3. 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.
Image

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

  1. Navigate to any page under /security by clicking to the "Security" sidebar section.
  2. 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

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions