Skip to content

feat(ui): add DAG run state filter to grid view options#55898

Merged
jscheffl merged 3 commits into
apache:mainfrom
dheerajturaga:feature/dagrun-state-grid-view
Sep 20, 2025
Merged

feat(ui): add DAG run state filter to grid view options#55898
jscheffl merged 3 commits into
apache:mainfrom
dheerajturaga:feature/dagrun-state-grid-view

Conversation

@dheerajturaga

Copy link
Copy Markdown
Member

Add filtering by DAG run state (queued, running, success, failed) to the grid view options panel, following the same pattern as the existing DagRuns.tsx implementation.

image image

@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Sep 19, 2025
  Add filtering by DAG run state (queued, running, success, failed) to the grid view options panel, following the same pattern as the
  existing DagRuns.tsx implementation.
@dheerajturaga dheerajturaga force-pushed the feature/dagrun-state-grid-view branch from 9342909 to 0c6018b Compare September 19, 2025 17:10

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good for me, tests are positive.

@jscheffl jscheffl added type:new-feature Changelog: New Features type:bug-fix Changelog: Bug Fixes labels Sep 19, 2025

@guan404ming guan404ming left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Overall looks good to me. Could you help take a look if this change is worked well with gantt chart? Thanks!

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR! LGTM on API side.

…#55845

The issue was that the Gantt chart wasn't using the same filters as the Grid view. When you set a DAG run state filter in the Options
  menu, it would filter the Grid view but not the Gantt chart. Now both views will be synchronized with the same filtering criteria.
@dheerajturaga

Copy link
Copy Markdown
Member Author

Overall looks good to me. Could you help take a look if this change is worked well with gantt chart? Thanks!

Good catch! I pushed a fix similar to #55845

fix.gantt.mp4

@jscheffl jscheffl merged commit 7a0c186 into apache:main Sep 20, 2025
109 checks passed
@dheerajturaga dheerajturaga deleted the feature/dagrun-state-grid-view branch September 20, 2025 11:57
KatalKavya96 pushed a commit to KatalKavya96/airflow that referenced this pull request Sep 22, 2025
* feat(ui): add DAG run state filter to grid view options

  Add filtering by DAG run state (queued, running, success, failed) to the grid view options panel, following the same pattern as the
  existing DagRuns.tsx implementation.

* Add testsgit add .

* Gantt chart filtering issue by applying the same pattern as PR apache#55845

The issue was that the Gantt chart wasn't using the same filters as the Grid view. When you set a DAG run state filter in the Options
  menu, it would filter the Grid view but not the Gantt chart. Now both views will be synchronized with the same filtering criteria.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. type:bug-fix Changelog: Bug Fixes type:new-feature Changelog: New Features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants