GitHub user codedbyed edited a discussion: Feature Request : Option to 
transpose UI to swap X and Y axis

### Description

Currently, in the UI; X axis is the timeline and Y axis is the task.

This becomes very difficult to monitor and search for runs when a DAG is a 
reusable/recallable DAG.

### Use Case
Example of such a case is data warehouse ETL processing, where hundreds of 
tables are processed by calling the same reusable DAG.

Swapping the X and Y axis - means that new runs are now added vertically, along 
with the run names, and the X axis would be the different task stages

Example below,

### Curent UI

|  | Duration | 7:10 | 7:20 |7:30|7:40| 7:50| 7:60| .. |
|--|--|--|--|--|--|--|--|--|
| Task 1| 00:00:53 | run_id1 | run_id2 | run_id3 | run_id4 | run_id5| run_id6 | 
.. |
| Task 2| 00:00:26| run_id1 | run_id2 | run_id3 | run_id4 | run_id5 | run_id6 | 
.. |
| Task 3| 00:00:10 | run_id1 | run_id2 | run_id3 | run_id4 | run_id5 | run_id6 
| .. |
| Task 4| 00:00:00 | run_id1 | run_id2 | run_id3 | run_id4 | run_id5 | run_id6 
| .. |

### Porposed UI

|  | Time| Task 1 Header | Task 2 Header  | Task 3 Header  | Task 4 Header  |
|--|--|--|--|--|--|
| run_id1| 13:07:00 | Task 1 | Task 2 | Task 3 | Task 4 |
| run_id2| 13:07:10| Task 1 | Task 2 | Task 3 | Task 4 |
| run_id3| 13:07:20 | Task 1 | Task 2 | Task 3 | Task 4 |
| run_id4| 13:07:30 | Task 1 | Task 2 | Task 3 | Task 4 |
| run_id5| 13:07:40 | Task 1 | Task 2 | Task 3 | Task 4 |
| run_id6| 13:07:50 | Task 1 | Task 2 | Task 3 | Task 4 |
| run_id..| 13:08:00 | Task 1 | Task 2 | Task 3 | Task 4 |


### Benefits

- Possibility of searching for a dag name using browser's built-in Ctrl+F
- Vertical scrolling (more intuitive) to refresh/load more latest runs versus 
horizontal scrolling.
- Adding a search function within airflow to search a run by run_id


GitHub link: https://github.com/apache/airflow/discussions/49678

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to