Commit Graph
4 Commits
Author SHA1 Message Date
Neil 19043a3d76 refactor(mobile): organize pairing, session, RPC and host owners (#39846)
* refactor(mobile): give relay and encryption concrete owners

* refactor(mobile): organize session and review feature owners

* refactor(mobile): organize RPC and host ownership

* test(mobile): point render fixtures at concrete owners

* refactor(mobile): use explicit type-only owner imports
2026-11-08 07:19:05 -08:00
Kelvin Amoaba b40e868132 feat(mobile): offer to restore unsaved file and Markdown edits after the app is killed (#39710)
* feat(mobile): offer to restore unsaved file and markdown edits

* fix(mobile): keep offered edits through other discards and clear saved Markdown drafts

* fix(mobile): offer a copy of edits to a now read-only document and key drafts by host

* refactor(mobile): one guard for the draft save effect

* fix(mobile): clear an offer once its edits are saved by hand
2026-11-08 06:53:26 +00:00
Kelvin Amoaba 29781fc694 feat(mobile): keep automation drafts across kills (#39683)
* feat(mobile): keep automation drafts across kills

* fix(mobile): drop a created automation's draft on affirm and restore saved fields under typed ones

* fix(mobile): stop saving an automation draft after it is dropped

* fix(mobile): reopen the automation editor with in-memory edits while the store can't be read

* refactor(mobile): one rule for which automation draft fields changed
2026-11-08 06:45:30 +00:00
Kelvin Amoaba 138c9e3460 feat(mobile): keep chat drafts, attachments and unsent messages across app kills (#39342)
* feat(mobile): keep chat drafts and unsent text in the device store

* test(mobile): give the send tests a real draft destination

* fix(mobile): confirm reopened sends past the loaded window and save the journal id with the clear

* fix(mobile): let an open chat claim a released send, and warn on a reopened command

* refactor(mobile): share the pausable unconfirmed-send deadline between chat holds

* fix(mobile): hold every lost structured send and replace a re-held deadline; use the shared store value codec

* fix(mobile): save chip-only drafts, save only a send's own chips, and keep hold time across outages

* fix(mobile): hash a draft key the device store would refuse as too long

* fix(mobile): drop a sent message's chips in the write that settles it

* fix(mobile): return a structured host command whose reply was lost to the box
2026-11-07 23:32:44 +00:00