Files
orca/src/renderer
Saad KhanandClaude Opus 4.8 ae0bd8ef26 fix: allow selecting a project on a non-active host when creating a workspace (#5937)
The new-workspace project dropdown pinned resolution to the host of the
currently-active workspace: handleProjectChange passed that host to
resolveWorkspaceCreationRepoId as a hard `hostId` constraint. Picking a project
set up only on a different host resolved to no repo
(`project-not-set-up-on-host`), and the `if (!nextRepoId) return` guard swallowed
the click — so the dropdown option did nothing and only projects on the current
host were selectable.

Treat the current host as a preference (focusedHostScope) and fall back to any
host the project is ready on. The strict projectId+hostId path used by the
explicit "Run on" host picker is unchanged.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 19:19:04 -07:00
..
2026-03-17 01:40:24 -07:00
2026-05-30 13:09:17 -07:00