You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've put together a simple task list for a layout sidebar in a project I'm working on. The idea is that the script is going to work its way down the list doing the tasks in series, and report details of its progress in another part of the layout.
The standard behaviour for a task with start=False is for the spinner to animate. This seems like a potential source of confusion in my use case. Is there a way to change the behaviour?
It would also be nice to be able to hide the empty timer (-:--:--) until the task is started. I'd like this for the tasks mentioned above, but I'm also listing some items that will explicitly not be worked on. I didn't see a way to just add rows of arbitrary text in the list of tasks, so I'm including those with a grey description, and it would be nice to also hide the timer for those.
Hiding the timer for both not-yet-started and will-not-start tasks would be nice, but not as important because I don't think it's as likely to be a point of confusion as the activated spinner on a task that hasn't been started.
Are there options I haven't found that will let me change either thing? Do I need to have two different Progress objects?
That still gives me the problem that I need to call task_start() on tasks I don't plan to ever process (in order to set them immediately complete).
Maybe someone has a suggestion for a better way accomplish what I'm attempting? The only other thing I can think of is to subclass Progress, SpinnerColumn, and TimeElapsedColumn to add a bunch of extra logic to them all.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've put together a simple task list for a layout sidebar in a project I'm working on. The idea is that the script is going to work its way down the list doing the tasks in series, and report details of its progress in another part of the layout.
The standard behaviour for a task with
start=False
is for the spinner to animate. This seems like a potential source of confusion in my use case. Is there a way to change the behaviour?It would also be nice to be able to hide the empty timer (
-:--:--
) until the task is started. I'd like this for the tasks mentioned above, but I'm also listing some items that will explicitly not be worked on. I didn't see a way to just add rows of arbitrary text in the list of tasks, so I'm including those with a grey description, and it would be nice to also hide the timer for those.Hiding the timer for both not-yet-started and will-not-start tasks would be nice, but not as important because I don't think it's as likely to be a point of confusion as the activated spinner on a task that hasn't been started.
Are there options I haven't found that will let me change either thing? Do I need to have two different Progress objects?
That still gives me the problem that I need to call
task_start()
on tasks I don't plan to ever process (in order to set them immediately complete).Maybe someone has a suggestion for a better way accomplish what I'm attempting? The only other thing I can think of is to subclass Progress, SpinnerColumn, and TimeElapsedColumn to add a bunch of extra logic to them all.
Beta Was this translation helpful? Give feedback.
All reactions