Skip to content

Orchestrator sidebar: icon refresh, diff stats, and UI polish#52

Merged
amandal0903 merged 6 commits intomainfrom
orchestrator-fix
Apr 1, 2026
Merged

Orchestrator sidebar: icon refresh, diff stats, and UI polish#52
amandal0903 merged 6 commits intomainfrom
orchestrator-fix

Conversation

@amandal0903
Copy link
Copy Markdown
Collaborator

Changes

  • Updated worktree session icons — Idle uses codicon-worktree, Permission uses codicon-stop-circle (muted opacity), replacing the old
    codicon-git-branch and bright codicon-debug-pause badge
  • Deleted dead code — Removed unused OrchestratorPart class (211 lines); the active renderer is OrchestratorViewPane
  • Live diff stats per worktree — Shows +additions / -deletions (green/red) right-aligned next to each worktree name, covering
    committed changes, uncommitted edits, and untracked files
  • Event-driven stat refresh — Stats update on file system changes (onDidFilesChange), agent session completion (Idle/Review), and
    window focus. Debounced via RunOnceScheduler with in-flight guard and backoff re-queue. Cached worktree URIs to avoid allocations on
    the hot path
  • Repo header polish — Replaced chevron + letter avatar with codicon-folder/codicon-folder-opened, added codicon-project icon to
    PROJECTS header, removed worktree count badge, changed repo remove from trash to close icon

Avijit Mandal added 6 commits April 1, 2026 18:47
…t icon

- Replace "+ Add Repository" footer with sticky "Projects" header bar
  and add icon in the orchestrator sidebar
- Hide auxiliary bar composite title by setting hasTitle: false
- Hide status bar by default (workbench.statusBar.visible = false)
- Remove ChatStatusBarEntry (copilot icon) from status bar
- Fix WORKSTREAMS_WORKTREE_PATH visible export in terminals by setting
  it via shellLaunchConfig.env instead of sendText
- Add click handler on offline comment tree items to open diff editor
  at the commented line
- Remove unused ChatStatusBarEntry import
Use codicon-worktree for idle state and codicon-stop-circle for
permission state. Tone down permission icon brightness. Delete
unused OrchestratorPart class (replaced by OrchestratorViewPane).
Show +additions/-deletions next to each worktree name, right-aligned.
Stats include committed changes, uncommitted edits, and untracked files.
Fetched in parallel via git diff --numstat and ls-files.
… button

Replace chevron + letter avatar with codicon-folder/folder-opened.
Remove worktree count from repo header. Add project icon to PROJECTS
header. Use codicon-close instead of trash for repo removal.
Refresh stats on file system changes (onDidFilesChange), agent
session completion, and window focus. Debounced via RunOnceScheduler
with in-flight guard and backoff re-queue. Cache worktree URIs to
avoid allocations on hot path. Batch untracked file reads. Add size
guard for large files. Fix CSS min-width for long worktree names.
@amandal0903 amandal0903 merged commit d69aef6 into main Apr 1, 2026
amandal0903 added a commit that referenced this pull request Apr 3, 2026
* feat: streamline UI — Projects header, hide status bar, remove copilot icon

- Replace "+ Add Repository" footer with sticky "Projects" header bar
  and add icon in the orchestrator sidebar
- Hide auxiliary bar composite title by setting hasTitle: false
- Hide status bar by default (workbench.statusBar.visible = false)
- Remove ChatStatusBarEntry (copilot icon) from status bar

* fix: env var injection and comment click-to-navigate

- Fix WORKSTREAMS_WORKTREE_PATH visible export in terminals by setting
  it via shellLaunchConfig.env instead of sendText
- Add click handler on offline comment tree items to open diff editor
  at the commented line
- Remove unused ChatStatusBarEntry import

* fix: update orchestrator icons and remove dead code

Use codicon-worktree for idle state and codicon-stop-circle for
permission state. Tone down permission icon brightness. Delete
unused OrchestratorPart class (replaced by OrchestratorViewPane).

* feat: add diff stats to worktree entries in orchestrator sidebar

Show +additions/-deletions next to each worktree name, right-aligned.
Stats include committed changes, uncommitted edits, and untracked files.
Fetched in parallel via git diff --numstat and ls-files.

* fix: polish orchestrator repo header — folder icon, drop count, close button

Replace chevron + letter avatar with codicon-folder/folder-opened.
Remove worktree count from repo header. Add project icon to PROJECTS
header. Use codicon-close instead of trash for repo removal.

* feat: live-updating diff stats with event-driven refresh

Refresh stats on file system changes (onDidFilesChange), agent
session completion, and window focus. Debounced via RunOnceScheduler
with in-flight guard and backoff re-queue. Cache worktree URIs to
avoid allocations on hot path. Batch untracked file reads. Add size
guard for large files. Fix CSS min-width for long worktree names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant