jscheffl opened a new issue, #61004:
URL: https://github.com/apache/airflow/issues/61004

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When testing Edge plugin UI I discovered that the Edge plugin UI is broken 
when testing in UI from main / executed via breeze.
   If tested in Airflow 3.1.6 (or any other 3.1 version supported) the tabs are 
working.
   
   How it looks on main:
   
   
https://github.com/user-attachments/assets/908877e1-9ed6-4b02-8e49-c176e5db4620
   
   If clicking on the tabs, the browser adds `/jobs` or `/worker` to the URL 
path instead of replacing the last element.
   
   In comparison in Airflow 3.1.6 this is working:
   
   
https://github.com/user-attachments/assets/bee52913-27e2-49bd-80ff-6bce2c5586ae
   
   ### What you think should happen instead?
   
   The Plugin UI `<NavTabs>` should work irrespective of the version. The root 
of the problem should either be fixed in Airflow UI before 3.2 release or is a 
compatibility change is needed should be adjusted in Edge plugin UI.
   
   The navigation should work in Airflow 3.1 as well as 3.2
   
   ### How to reproduce
   
   Test the error on main, checkout latest repo on main and run:
   `breeze start-airflow --load-example-dags --executor EdgeExecutor`
   
   Open the browser to http://localhost:28080 and doe the same clicks like in 
the error description. See how URL is changing. UI implementation of the Edge 
is in 
providers/edge3/src/airflow/providers/edge3/plugins/www/src/layouts/EdgeLayout.tsx
   
   As a counter test on Airflow 3.1.6 to test use:
   1. You can stay on main branch in the repo.
   2. Build the plugin via dedicated provider: `breeze release-management 
prepare-provider-distributions edge3 --skip-tag-check`
   3. Start Airflow 3.1.6 via breeze: `breeze start-airflow --load-example-dags 
--executor EdgeExecutor --use-airflow-version 3.1.6 
--use-distributions-from-dist`
   
   ...then you can see that the navigation is working.
   
   ### Operating System
   
   Any
   
   ### Versions of Apache Airflow Providers
   
   Current version of Edge.
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   breeze as described above
   
   ### Anything else?
   
   Note: The error can be either in Airflow UI or the Plugin. I am not sure. 
Not an expert in React to judge the root cause.
   
   Note: The issue should be addressed before Airflow 3.2.0 release
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to