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

   Continue modernizing the UI. Use the REST API show the Audit Log for a DAG 
in react.
   
   The Audit Log shows up as a tab for every selection (dag, dag run, task, 
task instance). And we try to filter the Audit Log accordingly, within the 
limitations we have at least.
   
   Run ID isn't recorded and execution date is not currently a parameter (nor 
do we always record the execution date map index anyway). So instead when there 
is a dag run, we filter the before/after dates to the queued at and last 
scheduling decision dates.
   
   Also cleaned up the logic of what tabs to default to when changing selection.
   
   Task Instance Selected (filtered by before, after and task id)
   <img width="1191" alt="Screenshot 2024-02-24 at 5 09 30 PM" 
src="https://github.com/apache/airflow/assets/4600967/38861c8f-17e0-4ee0-96fc-2603311e4f6e";>
   
   Task is selected (filtered by task id)
   <img width="1204" alt="Screenshot 2024-02-24 at 5 09 51 PM" 
src="https://github.com/apache/airflow/assets/4600967/1c637335-8d05-4824-80c2-544506c25f31";>
   
   Nothing selected (only filtered by dag id)
   <img width="1192" alt="Screenshot 2024-02-24 at 5 09 42 PM" 
src="https://github.com/apache/airflow/assets/4600967/68ee2c40-3baa-44f1-a233-ee321b32906a";>
   
   Dag Run selected (filtered by before and after)
   <img width="1193" alt="Screenshot 2024-02-24 at 5 09 37 PM" 
src="https://github.com/apache/airflow/assets/4600967/f7ad0b2f-7adf-4df2-bcdc-8695a08ea3a4";>
   
   
   ToDo in later PRs:
   - Remove old DAG Audit Log page
   - Allow user to edit filters directly instead of via task selection and add 
more filters
   - Allow multiple task ids as a parameter (can filter by task group)
   
   ---
   **^ Add meaningful description above**
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code changes, an Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in a 
newsfragment file, named `{pr_number}.significant.rst` or 
`{issue_number}.significant.rst`, in 
[newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
   


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