orca/mobile/src
BingZ 79551c38f5
feat(mobile): edit saved host endpoints (#8294)
* feat(mobile): edit saved host endpoints

* fix(mobile): reject ambiguous numeric host addresses

* fix(mobile): label edit host inputs

* fix(mobile): make host edit save atomic and remove superseded mutators

Two independent review rounds found the same class of foot-gun: a
superseded mutator (updateHostEndpoint, then renameHost) left in
host-store.ts after the atomic updateHostNameAndEndpoint refactor, with
zero remaining callers. Either could be reintroduced by a future caller
and silently regress the non-atomic name/endpoint race the atomic
function was written to close, so both are removed.

Also covers reconnect-rejection and endpoint-only save paths that were
missing test coverage, and merges origin/main (#8789) so this lands
without reverting the mobile terminal restore fix.

Co-authored-by: Orca <help@stably.ai>

* Simplify save-race comment and reword host-removed error message

- Trims the redundant comment explaining the savingRef race guard down
  to one line.
- Changes the "no longer saved" load-error copy to "was removed" for
  clearer phrasing, updating the matching test expectation.

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Orca <help@stably.ai>
2026-07-15 16:49:21 -07:00
..
agent-history Show agent session history on mobile (#6786) 2026-07-10 13:48:10 -07:00
browser
cache fix(mobile): resync worktree list + idempotent notification replay on reconnect (#8498 #8129) 2026-07-14 00:23:53 -07:00
components Separate mobile host card metadata (#8819) 2026-07-14 22:36:06 -07:00
constants
diagnostics mobile: per-host connection log screen with copy-diagnostics (#7984) 2026-07-09 16:20:07 -07:00
dictation Add Orca Relay desktop and mobile transport (#8536) 2026-07-14 11:47:05 -07:00
files refactor: remove state-only React effects (#8437) 2026-07-12 17:11:08 -07:00
hooks Prevent mobile screen locking during voice dictation. (#7746) 2026-07-10 23:31:56 -07:00
layout
mobile-release fix(mobile): keep Android release versionCode committed (#7271) 2026-07-03 15:26:11 -07:00
notifications fix(mobile): harden notification opt-in onboarding (#8792) 2026-07-14 19:20:36 -07:00
platform
session Fix restored mobile terminals and workspace visibility parity (#8789) 2026-07-14 19:36:47 -07:00
source-control Add Orca Relay desktop and mobile transport (#8536) 2026-07-14 11:47:05 -07:00
storage Add mobile notification opt-in onboarding (#8780) 2026-07-14 19:15:50 -07:00
tasks feat(mobile): match desktop's Smart workspace source picker exactly (#7985) 2026-07-13 15:38:02 -07:00
terminal Fix restored mobile terminals and workspace visibility parity (#8789) 2026-07-14 19:36:47 -07:00
theme Fix mobile Source Control primary action styling (#6918) 2026-06-30 11:26:20 -07:00
transport feat(mobile): edit saved host endpoints (#8294) 2026-07-15 16:49:21 -07:00
worktree Show agent session history on mobile (#6786) 2026-07-10 13:48:10 -07:00
host-edit-route-accessibility.test.ts feat(mobile): edit saved host endpoints (#8294) 2026-07-15 16:49:21 -07:00
host-edit-save-flow.test.ts feat(mobile): edit saved host endpoints (#8294) 2026-07-15 16:49:21 -07:00
host-route-action-state.test.ts
host-route-action-state.ts
host-route-exit.test.ts
host-route-exit.ts