Skip to content

Parent task state should reflect sub-task completion (including partial state) #119

Description

@KodeBarista

Issue/Description:
Currently, parent tasks and sub-tasks behave independently. A parent task can be marked as completed even if some or all of its sub-tasks are still incomplete. This creates an inconsistent and confusing state.

A more intuitive approach is for the parent task to reflect the completion state of its sub-tasks. For example:

  • If no sub-tasks are completed -> parent remains unchecked
  • If some sub-tasks are completed -> parent shows an indeterminate (partial) state
  • If all sub-tasks are completed -> parent is marked as completed
  • If user checks parent as completed -> all sub-tasks are checked as completed

This aligns with common task management patterns and improves clarity.

Other Notes:
This would improve UX by aligning the task hierarchy with user expectations and reducing inconsistent states between parent tasks and their sub-tasks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions