Skip to content

feat(vscode-webui): rename main worktree to workspace - #875

Merged
wsxiaoys merged 3 commits into
mainfrom
feat/rename-worktree-list-to-workspace
Dec 16, 2025
Merged

wsxiaoys merged 3 commits into
mainfrom
feat/rename-worktree-list-to-workspace

Conversation

@wsxiaoys

Copy link
Copy Markdown
Member

Summary

  • Rename "main" worktree to "workspace" in the worktree list UI to better reflect its purpose.

Test plan

  • Verify that the main worktree is now displayed as "workspace" in the worktree list.

🤖 Generated with Pochi

- Rename "main" worktree to "workspace" in the worktree list UI to better reflect its purpose.

🤖 Generated with [Pochi](https://getpochi.com)

Co-Authored-By: Pochi <noreply@getpochi.com>
@wsxiaoys
wsxiaoys requested a review from zhanba December 16, 2025 02:48
@codecov-commenter

codecov-commenter commented Dec 16, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 16.19%. Comparing base (6333a45) to head (cec87bb).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ages/vscode-webui/src/components/worktree-list.tsx 0.00% 1 Missing ⚠️
...es/vscode-webui/src/components/worktree-select.tsx 0.00% 1 Missing ⚠️
packages/vscode/src/integrations/git/worktree.ts 50.00% 1 Missing ⚠️
...scode/src/integrations/webview/vscode-host-impl.ts 0.00% 1 Missing ⚠️
...s/vscode/src/integrations/webview/webview-panel.ts 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (16.66%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #875   +/-   ##
=======================================
  Coverage   16.19%   16.19%           
=======================================
  Files         556      556           
  Lines       50582    50579    -3     
  Branches     1628     1628           
=======================================
  Hits         8190     8190           
+ Misses      42167    42164    -3     
  Partials      225      225           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

return;
}
if (worktree.isMain) {
return worktree.branch || "main";

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhanba fyi - we no longer display branch name in worktree select. just display workspace instead.

@wsxiaoys
wsxiaoys added this pull request to the merge queue Dec 16, 2025
Merged via the queue into main with commit f33f9b0 Dec 16, 2025
3 checks passed
@wsxiaoys
wsxiaoys deleted the feat/rename-worktree-list-to-workspace branch December 16, 2025 03:45
zhanba pushed a commit that referenced this pull request Dec 16, 2025
* feat(vscode-webui): rename main worktree to workspace

- Rename "main" worktree to "workspace" in the worktree list UI to better reflect its purpose.

🤖 Generated with [Pochi](https://getpochi.com)

Co-Authored-By: Pochi <noreply@getpochi.com>

* feat(vscode): rename main worktree references to workspace

* feat(vscode-webui): simplify main worktree name return value

---------

Co-authored-by: Pochi <noreply@getpochi.com>
Stan370 referenced this pull request in Stan370/pochi Dec 16, 2025
* feat(vscode-webui): rename main worktree to workspace

- Rename "main" worktree to "workspace" in the worktree list UI to better reflect its purpose.

🤖 Generated with [Pochi](https://getpochi.com)

Co-Authored-By: Pochi <noreply@getpochi.com>

* feat(vscode): rename main worktree references to workspace

* feat(vscode-webui): simplify main worktree name return value

---------

Co-authored-by: Pochi <noreply@getpochi.com>
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.

3 participants