Skip to content

Decouple VS Code API version, add PR status & redesign orchestrator pane #89

Merged
amandal0903 merged 18 commits intomainfrom
orchestrator-pan-improvement
Apr 8, 2026
Merged

Decouple VS Code API version, add PR status & redesign orchestrator pane #89
amandal0903 merged 18 commits intomainfrom
orchestrator-pan-improvement

Conversation

@amandal0903
Copy link
Copy Markdown
Collaborator

What

Decouple VS Code API compatibility version from app version. Add PR status detection and Melty-inspired
redesign to the orchestrator pane. Bump version to 0.2.9.

Why

  • Markdown preview and other extensions using vscode-languageclient crash in production builds because
    the build pipeline overwrites product.json version with package.json version (0.2.8), which fails
    the ^1.67.0 check. A separate vscodeVersion field preserves the API compatibility level (1.104.0)
    through the build.
  • The orchestrator pane lacked PR awareness — no way to see if a branch has an open PR, merge conflicts,
    or is a draft.
  • The pane's visual design (connector lines, small text, codicon icons) didn't match the clean
    Melty-inspired direction.

Avijit Mandal added 11 commits April 8, 2026 20:18
Move Extensions view from Panel to Sidebar so the icon appears in the
activity bar alongside Explorer, Search, and Source Control. Configure
Open VSX as the extensions gallery so users can search and install
language extensions (e.g. Java, Python) directly from the IDE.
Version decoupling:
- Add vscodeVersion field to product.json so extension compatibility
  uses the VS Code API level (1.104.0) while the app version (0.2.9)
  remains independent. Fixes markdown preview and other extensions
  using vscode-languageclient crashing in production builds.

Orchestrator pane — PR status:
- Add getPRInfo() to IGitWorktreeService using gh CLI with 60s cache
- Extend IWorktreeEntry with prLoaded, prNumber, prState, prMergeable, prUrl
- Fetch PR info in parallel during refresh cycle
- Custom SVG icons for branch, PR open, PR merged, PR closed states
- Status labels: Ready to merge (green), Merge conflicts (orange), Draft
- Pulsing loading state on icons until PR data arrives

Orchestrator pane — Melty-inspired redesign:
- Remove tree connector lines for clean flat layout
- Diff stats as bordered badges, right-aligned
- Repo headers with folder icon + always-visible chevron
- Fix layout shift on hover using visibility instead of display
- Global SVG icon masks so they work in modals
- Bump version to 0.2.9
Non-main worktrees show a delete (trash) SVG icon instead of the
git branch/PR icon when idle. Clicking it triggers worktree
removal. Main worktree keeps the git state icon. Working and
Permission session states keep their own icons (spinner, stop).
Non-main worktrees swap their git icon for a delete icon on
hover. Both icons are stacked in a slot; visibility toggles
ensure no layout shift. Main worktree always shows the git icon.
Clicking the delete icon triggers worktree removal.
Delete icon sits in the name row's right slot (after the diff
stats badge), hidden by default and shown on hover via
visibility. Removes the icon-slot overlay approach. Main
worktree never gets a delete icon.
Add git-pull-request-draft.svg for draft PRs (dotted branch icon).
Remove the skip for the main worktree in _fetchPRInfo so PRs on
the active branch (shown as "local") are detected too.
Draft PR SVG is visually larger than other icons — scale(0.8).
Delete icon uses position absolute + opacity toggle instead of
display toggle, preventing branch row reflow on hover.
@amandal0903 amandal0903 marked this pull request as ready for review April 8, 2026 20:08
Avijit Mandal and others added 7 commits April 9, 2026 01:42
Delete icon now appears on hover before [+N -N], pushing the
feature name to truncate. Simpler than absolute positioning —
no overlap, no shift on the branch row.
Replaces the detailed product-info tooltip with a clean card:
date badge, close button, title, changelog/update action buttons,
and optional markdown content. Includes temporary debug force-show
for visual testing.
@amandal0903 amandal0903 merged commit 537898d into main Apr 8, 2026
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