Skip to content

fix(zed): open active remote worktrees in Zed#194

Open
yangchuansheng wants to merge 1 commit into
BigPizzaV3:mainfrom
yangchuansheng:fix/zed-menu-icon-click
Open

fix(zed): open active remote worktrees in Zed#194
yangchuansheng wants to merge 1 commit into
BigPizzaV3:mainfrom
yangchuansheng:fix/zed-menu-icon-click

Conversation

@yangchuansheng
Copy link
Copy Markdown
Contributor

Prefer the active remote sidebar thread workspace root when building Zed fallback payloads so Codex worktrees open their actual worktree directory instead of the parent project root.

  • read displayCwd and workspace root hints from remote React sidebar metadata
  • avoid sending local active-row paths to remote fallback resolution
  • resolve thread workspace hints for both local: and bare ids
  • pass remoteWorkspaceRoot alongside the remote project id fallback
  • cover remote worktree and hint-id edge cases in renderer and backend tests

Prefer the active remote sidebar thread workspace root when building
Zed fallback payloads so Codex worktrees open their actual worktree
directory instead of the parent project root.

- read displayCwd and workspace root hints from remote React sidebar metadata
- avoid sending local active-row paths to remote fallback resolution
- resolve thread workspace hints for both local:<id> and bare ids
- pass remoteWorkspaceRoot alongside the remote project id fallback
- cover remote worktree and hint-id edge cases in renderer and backend tests
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