Uh oh!
There was an error while loading. Please reload this page.
Add task instance state and name filter to task instances tab in a dagrun - #45215
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jscheffl
left a comment
There was a problem hiding this comment.
Looks good! Just a small nit in my view. Else: LGTM
Uh oh!
There was an error while loading. Please reload this page.
3a2fe8f to
fe68b6fComparejscheffl
commented
Jan 1, 2025
Note: As PR #45312 has been merged, the code formatting rules have changed for new UI. Please rebase and re-run pre-commit checks to ensure that formatting in folder airflow/ui is adjusted. |
fe68b6f to
e2b6060CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
67746c6 to
c67eec9Comparebbovenzi
commented
Jan 14, 2025
Lgmt looks like we need to rebase though |
c67eec9 to
2f6fd16Comparetirkarthi
commented
Jan 15, 2025
@bbovenzi Thanks, rebased and fixed conflicts. |
…grun (apache#45215) * Add state filter to task instances tab in dagrun page. * Add tasks search in task instances page. * Make dropdown clearable. * Rebase and run format for line number rule. * Add support for multiple state selection. * Support no status for filtering. * Fix rebase errors.
…grun (apache#45215) * Add state filter to task instances tab in dagrun page. * Add tasks search in task instances page. * Make dropdown clearable. * Rebase and run format for line number rule. * Add support for multiple state selection. * Support no status for filtering. * Fix rebase errors.
…grun (apache#45215) * Add state filter to task instances tab in dagrun page. * Add tasks search in task instances page. * Make dropdown clearable. * Rebase and run format for line number rule. * Add support for multiple state selection. * Support no status for filtering. * Fix rebase errors.
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 :
searchBarcomponent 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 thehideAdvancedpart can be removed.Screenshot :