* feat: Add git status indicators to session sidebar
- Add GitStatusIndicator component with visual status badges
- Show commit count, file changes, and branch status for each session
- Display states: clean, modified, ahead, behind, diverged, ready to merge
- Clickable indicators that switch to View Diff tab for detailed changes
- Real-time git status updates via IPC events
- Enhanced session list with at-a-glance project status
The git status feature provides immediate visual feedback about the state
of each worktree session, helping users understand what needs attention:
- Green: Synced with main or ready to merge
- Yellow: Active uncommitted changes
- Blue: Commits ahead of main
- Orange: Behind main branch
- Purple: Diverged from main
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix visual bug in git status
* fix: Remove 'planning' from ViewMode and keep 'dashboard' as per upstream
* checkpoint: > rimraf dist && tsc && npm run copy:assets && ...
* feat: Improve git status UX and reduce logging noise
- Add isUserInitiated flag to control loading spinners
- Only show spinners for manual refreshes and initial loads
- Hide spinners during automatic 60s polling to reduce distraction
- Improve git status label positioning and alignment
- Move git status labels before branch names for better scanning
- Use fixed-width containers (55px) for perfect alignment
- Center labels within containers for cleaner appearance
- Increase default sidebar width to 500px to accommodate labels
- Reduce logging noise in both dev and production
- Create GitStatusLogger for grouped backend logging
- Add console wrapper to filter verbose git logs
- Summarize poll cycles instead of logging each session
- Track error patterns and only log after threshold
- Fix TypeScript definitions
- Add missing onGitStatusLoading event type
This significantly improves the git status feature UX by making it less
intrusive while maintaining full functionality.
* feat: Improve git status UX and reduce logging noise
- Add visual git status indicator in session list items
- Implement git status monitoring with rate limiting (30s interval)
- Add proper cleanup for git status manager on session deletion
- Reduce console logging by wrapping non-essential logs
- Fix session deletion to properly handle git status cleanup
- Improve error handling in git operations
The git status is now shown as colored dots next to session names:
- Green: Clean (no changes)
- Yellow: Modified files
- Red: Error retrieving status
This provides better visibility into worktree states without
cluttering the logs with frequent status checks.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* test: Add comprehensive test coverage for git status functionality
- Add unit tests for GitStatusManager service with 100% coverage
- Add Playwright E2E tests for git status UI indicators
- Improve test reliability by replacing hardcoded waits with proper conditions
- Extract common test setup into reusable helper functions
- Ensure proper cleanup with try-finally blocks for timer restoration
- Remove console.log statements from tests for cleaner output
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: Add missing dashboard API to fix TypeScript build errors
- Add dashboard.getProjectStatus to preload script
- Add dashboard API wrapper in frontend API utils
- Update TypeScript definitions for electronAPI
- Fixes CI build failure due to missing API method
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: Remove unused error variables to reduce linting warnings
- Remove unused error parameters in catch blocks
- Use catch without parameter when error is not used
- Reduces linting warnings from 43 to 40
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: Remove duplicate GitStatusManager imports causing TypeScript errors
- Remove duplicate import statement in index.ts
- Remove duplicate variable declaration for gitStatusManager
- Fixes CI build failure due to TypeScript compilation errors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* checkpoint: This PR adds a bunch of icons, can you add a gu...
* checkpoint: I meant hte modal with the heading "Status Indi...
* fix: Add auto-install-peers=false to .npmrc to match lockfile
- Fixes pnpm lockfile configuration mismatch in CI
- The lockfile expects autoInstallPeers to be false
- This was causing "ERR_PNPM_LOCKFILE_CONFIG_MISMATCH" in CI
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* checkpoint: I have created the following plan after thoroug...
* checkpoint: I'm not seeing the current worktree displayed u...
* checkpoint: 1. I still can't see it should look like this. ...
* refactor: Simplify version display and extract duplicated worktree utility
- Simplify version display by removing [NO-WT] debug marker in Sidebar
- Extract duplicated getCurrentWorktreeName function into shared utility module
- Update imports in main/src/index.ts and main/src/ipc/updater.ts
These changes improve code maintainability by following DRY principles and
cleaning up the UI display.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* checkpoint: I have created the following plan after thoroug...
* feat: Improve git status badge spacing and display
- Reduced badge width from 8.5ch to 5.5ch for more compact display
- Added star (★) indicator for counts above 9 to maintain single-digit width
- Improved spacing between badges by using gap-2 in session list
- Center icons when no count is displayed
- Updated legend component to match new badge styling
- Made icon and number positioning tighter with gap-0.5
- Consistent styling across all badge states including loading
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Jordan Bentley <151466993+jordan-BAIC@users.noreply.github.com>
Co-authored-by: Jordan Bentley <jordan@bentleyconsulting.ai>