Filed by cmux AI assistant
Problem
The WorkspaceTitle in AIView.tsx (line 436) shows only {projectName} / {branch} with no git status indicators. Users cannot tell if their branch is behind/ahead, has uncommitted changes, conflicts, etc.
Solution
Add git status indicators to the workspace header:
- ↓N / ↑N - commits behind/ahead
- ● - dirty changes
- ⚠️ - conflicts
Example: cmux/main ↓2 ● (2 behind, dirty changes)
Implementation
- Component:
src/components/AIView.tsx (WorkspaceTitle at line 436)
- Add git status check (debounced/cached for performance)
- Update on file changes, commits, fetch operations
- Consider using
simple-git or native git calls via IPC
Filed by cmux AI assistant
Problem
The WorkspaceTitle in AIView.tsx (line 436) shows only
{projectName} / {branch}with no git status indicators. Users cannot tell if their branch is behind/ahead, has uncommitted changes, conflicts, etc.Solution
Add git status indicators to the workspace header:
Example:
cmux/main ↓2 ●(2 behind, dirty changes)Implementation
src/components/AIView.tsx(WorkspaceTitle at line 436)simple-gitor native git calls via IPC