apache / apache/airflow

Allow search and filter by tags in dag run table

Open
#19,197 18 comments 2 reactions 0 assignees View on GitHub
area:UI area:webserver good first issue kind:feature
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

### Description

Would be great addition to filter by tags in the dag-run panel.
![Screenshot-nparis_2021-10-25_10:33:51](https://user-images.githubusercontent.com/9535350/138662861-700cbd80-95bf-470e-8f4d-25ff10b1def4.png)

### Use case/motivation

When searching for dags, for example `status failed` one, it would be great to be able to focus on a subset of the dags. Currently we only have the option to add filter based on `dag_id` and consequently to add meaningfull pattern in the dag-id. By the way the `tags` are much more flexible and meaningful to classify dags. Sadly so far there is no way to filter by `tags` in the UI.

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Research direction

Start at the DAG run panel and trace the existing dag_id search and filter behavior. Determine where tag data and filtering are handled, then make tags searchable in the table alongside the current filters. Done means users can narrow DAG runs by tags, including the failed-status use case described.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.