apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
36.56k stars 14.16k forks source link

Filter DAGs by tag (DAGs view) - Allow to use "AND" when filtering by tag #39363

Open Pad71 opened 5 months ago

Pad71 commented 5 months ago

Description

As-Is: If I use multiple tags when filtering in the "Filter DAGs by tag" field, the OR condition is used. That is, dags that have at least one tag listed in the filter will be displayed.

To-Be: Allow the choice between using the OR (default) or AND operator when filtering by multiple tags. If the AND operator is used, DAGs that have all the tags mentioned in the filter would be displayed.

For simplicity, the first version would not allow to use combinations of OR and AND, but always just work in either OR (default) or AND mode.

Use case/motivation

Improve dag filtering options for users, which is especially needed when there are a large number of dags

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

uranusjr commented 2 months ago

One thing to consider when we rebuild the UI.

uranusjr commented 2 months ago

cc @bbovenzi