-
Notifications
You must be signed in to change notification settings - Fork 27
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
task icons - no icons for held and retrying? #189
Comments
This is presumably deliberate by @oliver-sanders - see this conversation: "held" is no longer a task state - it's an attribute of a task with whatever state. "retry" will become something similar, but we haven't finalized how that will work yet. |
Oh, thanks for the link and explanation @hjoliver . I guess then the component will be updated later to have something like a boolean props (flag/parameter) saying whether that |
That's with/after; The UI Server will/should get it automatically |
So yeah this is deliberate. To sum up, here are the currently unsupported task statuses:
|
Thanks for the explanation @oliver-sanders ! Looks like it will take some time until we get everything ready to send the right statuses from the server, and to properly display them in the UI. |
I have an alternative idea for the ready state: #194 |
I mostly agree with @oliver-sanders above, except for:
|
@kinow - would it be easy for you to put in a default icon (and/or the status name) to indicate where we still have missing icons? (or status values that we will be getting rid of later on) |
Oh, good idea. Adding slots to the Tree component will demans a lot of time and concentration, and I was planning on taking a break to submit PR's for the borderless/flat divs, workflow play/stop/pause icons, etc. Will prepare one to show an icon that means the status was not found, and log to browser console too. |
I guess I should add |
Not yet - we're still trying to figure out if we can get away without runahead tasks in the UI. |
Fair enough, there are definitely cases where users require knowledge of the runahead pool, I was hoping we could find alternative representation of this information which don't involve populating the UI with the runahead pool.
Cases where the user requires information about the runahead pool:
|
Fair enough ... I've come around. Let's not expose the runahead pool in the UI. Instead we could:
|
We report the closest run ahead cycle, and the state total (although the latter needs fixed).. So if tasks are inserted past the run ahead, won’t this be enough? Given they can’t act on them anyway Sometimes, it’s desirable to check if a task has spawned (monthly tasks in a daily cycling workflow)... But aren’t we trying to hide that behaviour? Again wouldn’t be hard to add the edges and “ghost nodes” of the runahead cycles (it’s just static data until it changes pool).. But the view might not be commensurate with the N-edges view (or might it?) |
@dwsutherland - yes, I think that will be enough; and yes, we are trying to hide that behaviour (with the hybrid N-edges view, at least). |
@kinow Can we wrap this up? Or assign it some sort of info-only label? |
@wxtim I'm actually quite out of the loop here. There is a new icon now, with a question mark in the middle of the circle. Plus, whenever an unknown state appears, we log it to the browser console. But I think the discussion above, amongst @hjoliver, @dwsutherland , and @oliver-sanders, is a bit broader than what I expected for this issue. I am not sure if we can close this issue, and then create follow up tickets for the held/retrying/etc, or if there is more to discuss here. I'm happy to have an icon on the UI, so good enough for more for now 😬 so +1 for closing from me. |
I'll review this issue and close it soon, when I get some time. @kinow is right that the main topic was addressed (there's now a ? icon for unknown state, which should never be needed once we've settled on the final icon and state set). But I'd like to make sure we've captured all the other points discussed before closing... |
I think we have have the workaround for task icons, but missing for job icons now too. Should we create a separate issue? |
I think the only job status we now don't support is "ready" (which will soon become "preparing"). I think we want to make this a task-only state anyway (since the job doesn't exist / hasn't been submitted yet) so this state should disappear. |
Thanks @oliver-sanders ! No need for another issue then. Then I guess we can close this issue now. |
Hi,
I am using the dummy data for the
WorkflowService
for the #145 issue, same data feeding the GScan/Tree when mode=offline right now.There are two tasks that don't get any icons when rendered with the
Task
component. One task is namedsleepy
and has thestate=held
, and the other is namedretrying
, withstate=retrying
.I just had a look at the
Task.vue
, and it doesn't seem to have CSS for these values yet... is it planned for the future, or should I use the component in some different way when I have a task with these states?Thanks!
The text was updated successfully, but these errors were encountered: