jscheffl opened a new pull request, #55642:
URL: https://github.com/apache/airflow/pull/55642

   There is a teething problem that the React Router DOM "Link" component 
(similar like #55641) is not working in Edge React UI - pointers to outside the 
plugins do not work. I need some React Expertise to fix it seems.
   
   @shubhamraj-git / @bbovenzi / @pierrejeambrun HELP :-D
   
   To make this reproducible I made small modifications to revert my current 
workaround:
   Switch back to the "right" internal link from "react-router-dom"
   
   How to see the error:
   
   1. Take this branch
   2. Run it locally via `breeze start-airflow --python 3.12 --backend postgres 
--executor EdgeExecutor --load-example-dags`
   3. Start a Dag to have some workload
   4. Navigate to "Admin" -> "Edge Worker Jobs" (Which is the React Plugin)
   5. Click on the task list in the column on the worker, see that the UI 
navigates to "Edge Worker Hosts" tab and ... if you have many would scroll to 
the right one
   6. Flip back to "Edge Worker Jobs" and click on a Task/Dag or Run entry
   7. See the page flips to a empty content. But see the URL is correct. If you 
take the URL and reload the target is correct
   
   Is this a limitation of the plugin concept or a bug in my Plugin? How can 
the Toaster be made working?
   On main I use an "external link" with href from Chakra which leads to a full 
page realod which is nasty and slow.
   Is there a way from within the Plugin to link to the Dag run/grid view w/o 
page reload?
   


-- 
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