Skip to content

UX: a reload loses the draft handed to a new session on another machine #429

Open

Description

@SSFSKIM

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.

Context: P5 O7 M4 (PR #427, Residue); P5 Decision Log 188.

Activity

  1. added
    enhancement
    status:deferred
    priority:P3
    on Nov 1, 2026
  2. added a commit that references this issue on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:deferred

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions