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

   This add some logic to pre-select the appropriate dag version depending on 
the current url.
   
   If the user explicitly uses the version selector, or there is a 
`dag_version` param in the URL, nothing happens.
   
   If there is no `dag_version` explicitely specified in the URL, then we 
pre-select the dag version based on:
   - on a dag -> latest_dag_version 
   ![Screenshot 2025-02-27 at 16 57 
02](https://github.com/user-attachments/assets/64c24abf-146f-4a11-872e-69e4e200858b)
   - on a DagRun -> latest dag version of the DagRun
   ![Screenshot 2025-02-27 at 16 57 
17](https://github.com/user-attachments/assets/1983f03d-65ed-498a-a7c9-422d38c0bd03)
   - on a TI -> dag version of the TI. Handled the case of the 
`MappedTaskInstance` summary -> fallsback to the `DagRun` case. 
   ![Screenshot 2025-02-27 at 16 57 
46](https://github.com/user-attachments/assets/61deed9f-5c2b-42a0-91e7-9802a5ddf243)
   
   
   Clicking on TIs in the graph without a version explicitely set will 
dynamically update the graph based on the TI version. If we want to freeze the 
dag for  a specific version to navigate the graph -> explicitely to so using 
the version selector.
   
   
   
   


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