Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add task instance state and name filter to task instances tab in a dagrun #45215

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tirkarthi
Copy link
Contributor

A dagrun might have a lot of task instances that are paginated. This PR adds filters to filter by state e.g. failed task instances which is similar to the filter in dagrun page now. I have also added search by task_id or task_display_name so that users can quickly get to the required task instance in a paginated setting. Slightly related issues for grid view to search by name #32239 . This also updates the URLs so that it's shareable.

Notes for reviewer and self :

  • I reused the searchBar component but doesn't need advanced search as of now as it's not implemented and not useful here where search by task name is only needed. This can be added in future and the hideAdvanced part can be removed.

Screenshot :

image

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Dec 26, 2024
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a small nit in my view. Else: LGTM

airflow/ui/src/pages/Run/TaskInstances.tsx Outdated Show resolved Hide resolved
@tirkarthi tirkarthi force-pushed the task-instance-state-filter branch from 3a2fe8f to fe68b6f Compare December 26, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants