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

IN-PROCESS status #522

Open
mstmob opened this issue Apr 16, 2023 · 4 comments
Open

IN-PROCESS status #522

mstmob opened this issue Apr 16, 2023 · 4 comments

Comments

@mstmob
Copy link
Contributor

mstmob commented Apr 16, 2023

The "IN-PROCESS" status doesn't seem to be implemented and is not documented.
Currently listing the in-process tasks (todo list -s IN-PROCESS) always returns a empty line.
Expected behavior would be that all tasks with a start date set in the past are listed here.

Used version: todoman, version 4.2.1

@WhyNotHugo
Copy link
Member

Expected behavior would be that all tasks with a start date set in the past are listed here.

Expected behavior is to list tasks where STATUS=IN-PROCESS.

I think you want --startable: "Show only todos which can be started today".

@mstmob
Copy link
Contributor Author

mstmob commented Apr 16, 2023

Expected behavior would be that all tasks with a start date set in the past are listed here.

Expected behavior is to list tasks where STATUS=IN-PROCESS.

This makes sense, but how can I move a task into STATUS=IN-PROCESS?
Is there some command I overlooked?

I think you want --startable: "Show only todos which can be started today".

Actually I wanted to get a list of "started/in-progress" tasks and I thought, that I could achieve this by setting a "start" date... But a start command would be fine as well.

@WhyNotHugo
Copy link
Member

This makes sense, but how can I move a task into STATUS=IN-PROCESS?

There doesn't seem to be a command to do so. I guess the GUI in todo edit could have a line with the status and a switcher to change it.

Or todo edit could have a new flag --status to update the status.

But changing status is mostly limited to NEEDS-ACTION and IN-PROCESS right now through the done and undo workflows.

Keep in mind that not all fields can be edited with todoman, but if they're reflected and displayed because you might be synchronizing with a phone or some other device/client which does support editing them.

Actually I wanted to get a list of "started/in-progress" tasks and I thought, that I could achieve this by setting a "start" date... But a start command would be fine as well.

I've always used the start date with a slightly different meaning: to indicate that this tasks starts on a given date.

For example, if I have to do a tax declaration between the 1st and 30th of May, I'll create a todo with start=2023-05-01 and due=2023-05-01. So todo list --startable won't show me this todo before the 1st of May (since I cannot actually start it).

To be clear though, that's mostly me interpretation of it; there's nothing preventing you from using the start field with another meaning, but the --startable flag won't match your expectations.

There's also "progress" field, which goes between 0 and 100, but that one is also not editable right now. TBH, I'm pretty sure that what you want is the ability to edit status=IN-PROCESS.

@mstmob
Copy link
Contributor Author

mstmob commented Apr 16, 2023

Thank you for the explanation!

TBH, I'm pretty sure that what you want is the ability to edit status=IN-PROCESS.

Yes, what I miss is the ability to edit/toggle the status to IN-PROCESS/NEEDS-ACTION.

I guess the GUI in todo edit could have a line with the status and a switcher to change it.
Or todo edit could have a new flag --status to update the status.

Afaik in taskwarrior this was implemented by separate start and stop commands, but IMO a todo edit --status=IN-PROCESS and maybe a "IN-PROCESS" checkbox (or status drop-down) in the TUI would be perfect!

Maybe the "IN-PROCESS" tasks could also be marked as [o] or [-] (or something else) in the todo list?

There's also "progress" field, which goes between 0 and 100, but that one is also not editable right now.

Editing the "progress" field would be also nice but IMO this makes specially sense for tasks with subtasks...

I've always used the start date with a slightly different meaning: to indicate that this tasks starts on a given date.

I see the use case now. Haven't thought of this feature that way but makes definitely sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants