[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Possibility to filter tasks in None state #21955

Open
2 tasks done
mgorsk1 opened this issue Mar 3, 2022 · 5 comments
Open
2 tasks done

Possibility to filter tasks in None state #21955

mgorsk1 opened this issue Mar 3, 2022 · 5 comments
Labels
area:webserver Webserver related Issues good first issue kind:feature Feature Requests

Comments

@mgorsk1
Copy link
Contributor
mgorsk1 commented Mar 3, 2022

Description

Currently in list of Task Instances there is no possibility to quickly filter only tasks with None state. This issue proposes to introduce such possibility. I see two approaches that could be introduced to handle this:

  • add Is empty and Is not empty filtering options in filter controls
    image
  • when querying underlying database to get list of tasks, do COALESCE(state, 'None') (pseudocode) so if user enters None into (for example) Starts with clause, it's filtered properly.

Use case/motivation

None is a valid status for task and it should be possible to filter by it.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@mgorsk1 mgorsk1 added the kind:feature Feature Requests label Mar 3, 2022
@mgorsk1 mgorsk1 changed the title Possilii Possibility to filter tasks in None state Mar 3, 2022
@uranusjr
Copy link
Member
uranusjr commented Mar 3, 2022

The REST API already special cases none (as a string) for the None state. We can probably do the same in the web UI. Feel free to submit a PR for this.

@uranusjr uranusjr added the area:webserver Webserver related Issues label Mar 3, 2022
@jyotidhiman0610
Copy link
Contributor

Hi, @mgorsk1 are you working on this or can I take this up?

@potiuk
Copy link
Member
potiuk commented May 23, 2022

Feel free.

@eladkal
Copy link
Contributor
eladkal commented Nov 17, 2022

@jyotidhiman0610 are you still working on this issue?

@kevgeo
Copy link
Contributor
kevgeo commented Feb 3, 2024

airflow1

Doesn't the Is Null filter when applied to State field display only tasks in none state? If so, then this issue is solved right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues good first issue kind:feature Feature Requests
Projects
None yet
Development

No branches or pull requests

6 participants