jedcunningham opened a new pull request, #76850:
URL: https://github.com/apache/airflow/pull/76850
The breadcrumb already lets you switch Dag, Dag run and map index from a
search behind each level's chevron. The task level had no switcher, so in a Dag
with many tasks the only way to reach another task was to find it in the grid.
The task and task instance levels now have the same chevron, with a search
over the Dag's tasks:
- Options are listed and matched by display name. By default the text
matches the start of the name; the toggle at the end of the input switches to
match anywhere, as in the Dag search. The choice is remembered separately from
other searches.
- Within a run, each task shows its instance's state badge, like the run
search does.
- On a task instance page, picking a task keeps the run and the current tab
(Logs, Rendered Templates, ...). A mapped task goes to its `/mapped` summary.
- On a task page with no run (`/dags/{dag_id}/tasks/{task_id}`), it goes to
the picked task across runs, with no state shown.
The tasks endpoint returns every task of the Dag and has no name filter, so
the search runs on the client instead of asking the server on each keystroke
like the run search does. States come from the grid's task instance summaries
for the run, which also cover mapped tasks and groups.
Before:
<img width="1280" height="720" alt="preview-before (1)"
src="https://github.com/user-attachments/assets/7359bca7-1da6-43c0-ae30-0de5db1b0085"
/>
After:
<img width="1280" height="720" alt="preview-states-open"
src="https://github.com/user-attachments/assets/b2015468-cdd3-49d6-80f0-11ef2a34bee0"
/>
<img width="1280" height="720" alt="preview-anywhere"
src="https://github.com/user-attachments/assets/0726f8b6-fbaf-475d-8c2d-74e798d9a236"
/>
--
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]