You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UX: a reload loses the draft handed to a new session on another machine #429
What: when a new session is started on another machine with attachments, the composer document (text plus attachments) is handed to the new session's composer in renderer memory. Reloading the window before that first send loses the draft. The tab and the session survive, and the person has to retype and re-attach.
Why it is so today: remote drafts live only in memory (O7 M2), and attachments of up to 32 MiB exceed the local draft store's budget, so O7 M4 did not persist the handed draft.
The choice (UX):
Persist the handed draft's text and the attachments' references (paths, not bytes) so a reload restores the composer, and ask the person to re-pick only the files that can no longer be read.
Persist the text alone and show a quiet note that the attachments were dropped by the reload.
Keep today's behaviour and say on the new tab, while the draft is unsent, that a reload discards it.
Where:src/renderer/src/sessions/remote-spawn.ts (queueFirstSend, takeFirstSend), rememberRemoteDraft, the local draft store.
Activity
P5 Decision Log 188: O7 M4 landed (PR #427, merge da1cc25): WIRE 15 a…