Skip to content

[Bug]: Cancelled TODOs should not be counted in task progress bar #2182

Description

@ctrl-q

Bug Description

In a task with inline TODOs (- [ ]), the progress bar counts cancelled items as incomplete TODOs. They should not be counted in the denominator

Steps to Reproduce

  1. Create a Tasknotes task
  2. Set the status to in-progress
  3. Add two TODO items, one completed with - [x] and one cancelled with - [-]
  4. Notice the progress bar says 1/2 rather than 1/1

TaskNotes Debug Info


Affected Task Frontmatter

Relevant Bases File Content

Relevant Settings or Customizations

No response

Console Errors or Logs


Screenshots or Screen Recording

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions