Files
orca/src/renderer
Brennan Benson a5cea59933 fix(settings): render Projects settings per-project across hosts (#8566) (#8650)
* fix(settings): collapse Projects list to one row + pane per project (#8566)

Settings and its nav enumerated repo rows, so a project set up on multiple
execution hosts (local + a Remote Orca Server, or the same repo cloned on two
machines) rendered two nav rows + two panes that collided (duplicate React
key/DOM id) or mirrored. Derive the Settings list from the project projection
(repos-only, deterministic) so nav, panes, and the Cmd+J palette all collapse
to one entry per project. Deep-link repoId targets resolve to the project's
representative section.

* fix(settings): switch project host in place, host-scoped edits + deep links (#8566)

Add an ephemeral per-project host selection driven by the pane's "Available
Hosts" switcher, so the single collapsed pane shows the selected host's setup
(path, worktree base, runtime, fork-sync, hooks, source-control AI). Route
edits to the selected host by threading an optional hostId through updateRepo
(mirrors removeProject's host routing), fixing the same-id/self-pair case where
a local + runtime share one repo id. Couple Settings deep links to the switcher
so host-specific subsection anchors resolve, load hooks for the selected host,
and make pane-level Remove Project remove every host setup.

* fix(settings): isolate selected project host state

* fix(settings): review follow-ups for per-project Projects pane (#8566)

- Remove Project copy now states it removes the project on all
  configured hosts (the button removes every host setup); new catalog
  key translated across all 5 locales
- ensureHooksConfirmed forwards hostId to readRuntimeIssueCommand so
  the issue-command trust read resolves duplicate repo ids the same way
  as its sibling checkRuntimeHooks call
- translate the multi-host "N hosts" nav description
- extract removeSettingsProjectFromAllHosts with unit tests; drop the
  now-unused getRuntimeTargetIdentity
2026-07-14 15:00:52 -07:00
..
2026-03-17 01:40:24 -07:00
2026-05-30 13:09:17 -07:00