ad-si / TaskLite

The CLI task manager for power users
https://tasklite.org
GNU Affero General Public License v3.0
216 stars 12 forks source link

Is the Frozen status implemented? #31

Closed Profpatsch closed 3 years ago

Profpatsch commented 3 years ago

The manual states that there is a tertiary state called Frozen, which stops recurrence and repetition:

Frozen - Was previously repeating or recurring but has been stopped for the time being.

But looking through the commands and the source code the only mention of the word frozen is in this section of the manual, not anywhere in the source code.

ad-si commented 3 years ago
$ tl add buy milk
🆕 Added task "buy milk" with id "01em6a7rn7xcz8kqm5sda3jhdn"

$ tl repeat PT50S 01em6a7rn7xcz8kqm5sda3jhdn
📅 Set repeat duration of task "buy milk" with id "01em6a7rn7xcz8kqm5sda3jhdn" to "PT50S"

$ tl info 01em6a7rn7xcz8kqm5sda3jhdn

buy milk

   State: Open
Priority: 0.0
    ULID: 01em6a7rn7xcz8kqm5sda3jhdn

🆕  Created   2020-10-09 09:14:28
       ⬇
✏️   Modified  2020-10-09 09:14:36

Repetition Duration: PT50S
Group Ulid: 01em6a8096z4bw47km77b2nqvd
User: adrian

$ tl unrepeat 01em6a7rn7xcz8kqm5sda3jhdn
💥 Removed repetition duration of task "buy milk" with id "01em6a7rn7xcz8kqm5sda3jhdn"

$ tl info 01em6a7rn7xcz8kqm5sda3jhdn

buy milk

   State: Open
Priority: 0.0
    ULID: 01em6a7rn7xcz8kqm5sda3jhdn

🆕  Created   2020-10-09 09:14:28
       ⬇
✏️   Modified  2020-10-09 09:15:33

Group Ulid: 01em6a8096z4bw47km77b2nqvd
User: adrian

The task is now Frozen, since it is still part of a repetition group, but it has no more repetition or recurrence duration. So it's basically just a name for a valid scenario. Not sure if there are any further useful scenarios for this state.

ngirard commented 3 years ago

Hey @Profpatsch, can this issue be closed, or do you need any further clarification ?

Profpatsch commented 3 years ago

Sure, I didn’t really have time to investigate TaskLite any further so far.