-
Notifications
You must be signed in to change notification settings - Fork 51
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
rose bush: improve filtering of job states #1155
rose bush: improve filtering of job states #1155
Conversation
This change makes it possible to filter state over all jobs, as opposed to the old behaviour of filtering state only on task final statuses. This is done by calculating state filtering in Python rather than via a SQL query. The state filtering API and GUI is improved to avoid negative logic.
One niggle is that the new |
Some comments:
|
The old functionality was hard to understand, which is one of the Excluding a given state (e.g. no_state=active) can be done by I agree the API change needs to be announced and the change |
Apparently so.
And the default is? Previously, in the absence of arguments, the default is to display everything. Hence the negative filter. |
Which part? no_state, GUI, ...
Um, the default is still to display everything. I can make all the checkboxes ticked |
and the "Brand" filter, which behaves in the same way |
@benfitzpatrick - previous behaviour issues aside, there are a couple of minor issues that will need addressing: Cycles page:
Job listing page:
|
I have no problem with the tick box filtering being blank at the start of viewing a whole cycle as it is prefaced with the word "Only" so if nothing is selected it implies that the "Only" filter is not being used. |
I originally implemented it to add all jobs from tasks that contained any Fortunately, there is a way of seeing this information. The most recent job of a task has a black circle, and older jobs are indicated in grey. indicates that there is a newer job for This can be accessed quickly by clicking on the task name. We could make this clearer by writing e.g. |
I'm fine with there being a difference between tasks and jobs. There is already However, I agree that we should do more to make the distinction clear. In actual fact, the mismatch in presentation does not really apply to
However, it is much more usual for a task to have:
This is the reason for there being a different presentation of statuses on the However, we could introduce a
What you see is a superset of that information, which is not incorrect, just more |
Now implemented |
See also cylc/cylc-flow#1052. |
I'll close this one done as a wontfix for now to reduce the noise. We can revisit this when we have time to concentrate on Rose Bush again. |
This change makes it possible to filter state over all
jobs, as opposed to the old behaviour of filtering state
only on task final job statuses.
This is done by calculating state filtering in Python
rather than via a SQL query.
The state filtering API and GUI is improved to avoid
negative logic.
@matthewrmshin, please test and review.