Skip to content

Subtask Support Implementation #73

@plaintool

Description

@plaintool

Requested by: Jean Jacques (JJK)

Requirements

  1. File Load & Indentation Parsing

    • Calculate task nesting level based on leading spaces in the file.
    • Use 2 spaces = 1 level of nesting.
    • Only leading spaces at the beginning of a task line determine the level.
  2. Task Rendering

    • Display tasks in the task text field with indentation according to their level.
    • Leading spaces should be removed when rendering.
  3. Collapse/Expand Functionality

    • Add buttons to collapse/expand task levels.
    • Collapsed tasks should be hidden from the view.
  4. File Save

    • When saving, convert task levels back into 2-space indentation per level.
  5. Task Movement

    • Moving nested tasks up/down is allowed only within the same level, moving all subtasks together.
    • Moving tasks to another group is allowed only for root-level tasks.

Notes

  • This feature enhances task hierarchy management and visibility.
  • Must maintain full compatibility with existing file format and task operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions