## Goal Settings UI "Connection" tab: list/add/edit/test/delete connections, set primary, see live status. ## Scope / Files - `src/lib/ts/ipc.ts` — `connection.list/add/update/delete/test/setPrimary` - `src/lib/stores/connections.ts` — reactive list + active connection - `src/lib/components/ConnectionManager.svelte` — new - `src/lib/components/SettingsView.svelte` — add "Connection" tab ## Tasks - [ ] `ipc.ts` connection.* wrappers - [ ] Reactive connections store - [ ] `ConnectionManager.svelte`: connection cards (icon, name, url, status badge), add/edit form (name, type, url, masked token), Test button w/ latency+version, Set primary, delete w/ confirm - [ ] Add "Connection" tab to SettingsView - [ ] Error handling via existing `reportError()` pattern ## Acceptance - User adds a VPS uteke connection, tests it (green w/ latency), sets it as primary → CorIn uses it as the memory backend after reconnect. Parent: #37 · Plan: `docs/plans/remote-connection-manager.md` (Phase 5)
Goal
Settings UI "Connection" tab: list/add/edit/test/delete connections, set primary, see live status.
Scope / Files
src/lib/ts/ipc.ts—connection.list/add/update/delete/test/setPrimarysrc/lib/stores/connections.ts— reactive list + active connectionsrc/lib/components/ConnectionManager.svelte— newsrc/lib/components/SettingsView.svelte— add "Connection" tabTasks
ipc.tsconnection.* wrappersConnectionManager.svelte: connection cards (icon, name, url, status badge), add/edit form (name, type, url, masked token), Test button w/ latency+version, Set primary, delete w/ confirmreportError()patternAcceptance
Parent: #37 · Plan:
docs/plans/remote-connection-manager.md(Phase 5)