Skip to content

Feature/inprogress todo state - #884

Open
waldemar-p wants to merge 4 commits into
ransome1:mainfrom
waldemar-p:feature/inprogress-todo-state
Open

Feature/inprogress todo state#884
waldemar-p wants to merge 4 commits into
ransome1:mainfrom
waldemar-p:feature/inprogress-todo-state

Conversation

@waldemar-p

Copy link
Copy Markdown
Contributor

This branch adds support for tracking in-progress todo items via an inprogress extension.

  • Adds inprogress: boolean to the TodoObject type
  • Parses the inprogress:1 extension when loading todos
  • Displays an orange left border on in-progress todos for visual identification
  • Checkbox shows an indeterminate state when a todo is in progress
  • Adds Ctrl+click and middle-click on the checkbox to toggle the in-progress state
  • Automatically removes the inprogress extension when a todo is marked complete
  • Includes unit test verifying the cleanup behavior

- Add inprogress extension support to TodoObject type and parser
- Display orange left border on in-progress todos
- Add Ctrl+click and middle-click checkbox toggle for in-progress state
- Remove inprogress extension when marking todo as complete
- Add unit test for inprogress cleanup on completion
- Add sortInProgressFirst function to sort in-progress items first within each group
- Apply in-progress sorting after all other sorting in dataRequest
- Add unit tests for sortInProgressFirst function
- Fix checkbox event handling to prevent onChange when toggling in-progress state
- Add inprogress pattern to renderer for proper syntax highlighting
- Remove attributeValue requirement check in handleWriteTodoToFile
- Extract inline completed items sorting logic into sortCompletedLast function
- Add unit tests for sortCompletedLast function
- Remove unused event parameter from handleInprogressToggle
@ransome1

ransome1 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

@waldemar-p thanks for contributing! I haven’t found the time yet to go through your pull requests, but I'll get back to you as soon as I do

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

Labels

None yet

Projects

Status: Feature requests

Development

Successfully merging this pull request may close these issues.

2 participants