SendButton wrote the selected target to prefs only on a successful send, so picking a target and then leaving the Library tab unmounted the button, and on return it reloaded the last *sent* target from prefs: a target chosen but not yet sent silently reverted (e.g. FPA back to ZZ), risking a send to the wrong client. Persist the choice the moment the dropdown changes, and also when a stored-but-removed target falls back to the first. Test covers survival across a remount. Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
apps/app
React + TypeScript + Vite SPA: backoffice, library (culling, metadata) and the Lightroom-style editor.
The same build runs in the browser and inside apps/desktop (Tauri).
Port from: app.photoreport.pt/frontend (screens only, redesigned), PhotoReport_Studio (culling rules, IPTC editor behaviour).
Design base: ShootYourMove design handoff (tokens.css, BACKOFFICE.md) via packages/ui.