dheerajturaga opened a new pull request, #70149: URL: https://github.com/apache/airflow/pull/70149
Follows the pattern established in #69986, which enriched the props passed to React app plugins beyond bare route params by resolving assetUri from the UI's TanStack Query cache. This extends that pattern to the full context objects: React plugins now receive dag, dagRun, taskInstance, and asset as typed props alongside the existing route-id strings. Each object is resolved from the query cache and gated on the route params it depends on, so it is served from the cache the parent details page already populated (no extra request) where present, and is undefined on routes or destinations that lack those ids (e.g. nav, base, dashboard). Related: #69148 Screenshots from dummy plugin: <img width="2553" height="914" alt="image" src="https://github.com/user-attachments/assets/29e47ee6-04c9-4751-a5e1-4fbecf2f3eb2" /> <img width="2559" height="1350" alt="image" src="https://github.com/user-attachments/assets/1383a86f-4342-4efc-85b1-d9f7ef58459f" /> --- ##### Was generative AI tooling used to co-author this PR? <!-- If generative AI tooling has been used in the process of authoring this PR, please change below checkbox to `[X]` followed by the name of the tool, uncomment the "Generated-by". --> - [ ] Yes (please specify the tool below) Claude Code Opus 4.8 -- 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]
