aziz / PlainTasks

An opinionated todo-list plugin for Sublime Text editor (version 2 and 3)
MIT License
3.29k stars 286 forks source link

Archiving sub-tasks #360

Open rgrcnh opened 6 years ago

rgrcnh commented 6 years ago

Would be good if the completed sub-task (and all uncompleted task, of course) wouldn't being archived (⌘+shift+A on Mac) if the some siblings tasks weren't. Today, if we archive, we loose this relation on archived tasks section, making things confused if we have to consult old tasks.

CalmNad commented 6 years ago

+1

mbayon commented 4 years ago

Adding the titles of the tasks section would be amazing too. These both issues are the reason I don't use the archive funtionality at all.

ravindUwU commented 2 years ago

Yes! Archiving should preserve the task hierarchy. For example—

    ☐   Task 1
    ✓   Task 2 @done (21-11-22 11:30)

Category A:
    ☐   Task A/1
    ✓   Task A/2 @done (21-11-22 11:30)

    Category B:
        ☐   Task A/B/1
        ✓   Task A/B/2 @done (21-11-22 11:30)

Expected result:

    ☐   Task 1

Category A:
    ☐   Task A/1

    Category B:
        ☐   Task A/B/1

___________________
Archive:
    ✓   Task 2 @done (21-11-22 11:30)

    Category A:
        ✓   Task A/2 @done (21-11-22 11:30) @project(Category A)

        Category B:
            ✓   Task A/B/2 @done (21-11-22 11:30) @project(Category A / Category B)
Actual result (expand): ``` ☐ Task 1 Category A: ☐ Task A/1 Category B: ☐ Task A/B/1 ___________________ Archive: ✓ Task A/B/2 @done (21-11-22 11:30) @project(Category A / Category B) ✓ Task A/2 @done (21-11-22 11:30) @project(Category A) ✓ Task 2 @done (21-11-22 11:30) ```