Repository navigation
Add compact and configurable todo widget modes - #459
Merged
ilovepixelart merged 3 commits intoNov 16, 2026
Merged
Conversation
RED: todo-more suite runs with 60 passing and 17 failing tests, caused by the missing todos-widget command and default compact rendering.
Default to a single progress line; support off, compact and full through /todos-widget while preserving /todos and task state. GREEN: 113 todo tests pass with 100% coverage for todo.ts; type checking and changed-file Biome checks pass.
Claude Code shows the whole task list whenever a task is created or updated, so the full panel stays the default and compact is opt-in through /todos-widget. A blank activeForm now falls back to the task text, as Claude Code's spinner label does. The divergence from Claude Code's Ctrl+T toggle is documented.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The todo widget can occupy up to 13 terminal rows even when only the current task matters. Default to a single progress line and let users choose the display:
Mode changes take effect immediately without changing task state. The selected mode survives tree navigation and compaction; reloads and new sessions default to
compact. Empty lists remain hidden, and compact labels flatten newlines and truncate to terminal width.Evidence
/todos-widgetand compact rendering are missing.After: 113 todo tests pass;
extensions/todo.tshas 100% statement, branch, function and line coverage.pnpm exec biome check .,pnpm run type:check,pnpm exec knip,pnpm exec vitest run --coverage.Merge Danger
Door: two-way
Display-only change;
fullrestores the previous panel. No task-state migration.Blast Radius: todo
Changes the default persistent todo widget and adds one command. Task operations, persistence and
/todosremain available.