feat: add steps.json status card with collapsible history#67
Closed
johannesjo wants to merge 3 commits intomainfrom
Closed
feat: add steps.json status card with collapsible history#67johannesjo wants to merge 3 commits intomainfrom
johannesjo wants to merge 3 commits intomainfrom
Conversation
Add a new "Steps tracking" feature that watches .claude/steps.json in each task's worktree and renders agent progress as a collapsible panel row. Backend: New file watcher (electron/ipc/steps.ts) monitors the .claude directory for steps.json changes, with 200ms debounce and initial read on startup. Three new IPC channels (StepsContent, ReadStepsContent, StopStepsWatcher) with proper cleanup on task deletion and app quit. Frontend: New TaskStepsSection component shows latest step expanded with status badge, summary, detail, files touched, and timestamp. Previous steps render as a collapsible history list. StatusDot gains a 'review' state (purple) when the latest step is 'awaiting_review'. Settings: Global "Steps tracking" toggle (off by default) controls panel visibility. When enabled, the initial prompt is prepended with instructions telling the agent to maintain the steps.json file. Also extracts badgeStyle() to shared src/lib/badgeStyle.ts utility. https://claude.ai/code/session_01AH4Mv3esftK1SvajXcMJ7p
- Add StopStepsWatcher IPC call in collapseTask() and removeTaskFromStore() to prevent FSWatcher leaks - Remove duplicate StopPlanWatcher call in collapseTask() - Add stepsFileName to Task type and restore it in both active and collapsed task restoration blocks in persistence.ts https://claude.ai/code/session_01AH4Mv3esftK1SvajXcMJ7p
STATUS_COLORS lookup now falls back to theme.fgMuted for unrecognized status values, preventing invalid CSS from undefined color strings. https://claude.ai/code/session_01AH4Mv3esftK1SvajXcMJ7p
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.
Add a new "Steps tracking" feature that watches .claude/steps.json in each
task's worktree and renders agent progress as a collapsible panel row.
Backend: New file watcher (electron/ipc/steps.ts) monitors the .claude
directory for steps.json changes, with 200ms debounce and initial read on
startup. Three new IPC channels (StepsContent, ReadStepsContent,
StopStepsWatcher) with proper cleanup on task deletion and app quit.
Frontend: New TaskStepsSection component shows latest step expanded with
status badge, summary, detail, files touched, and timestamp. Previous steps
render as a collapsible history list. StatusDot gains a 'review' state
(purple) when the latest step is 'awaiting_review'.
Settings: Global "Steps tracking" toggle (off by default) controls panel
visibility. When enabled, the initial prompt is prepended with instructions
telling the agent to maintain the steps.json file.
Also extracts badgeStyle() to shared src/lib/badgeStyle.ts utility.
https://claude.ai/code/session_01AH4Mv3esftK1SvajXcMJ7p