Skip to content

fix(threads): preserve new thread drafts across workspace changes - #1199

Merged
nixuuu merged 1 commit into
devfrom
fix/preserve-prompt-draft-switching
Nov 24, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/preserve-prompt-draft-switching

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Keep one new-thread draft across project and worker changes in web, desktop, iOS, and Android. Reopening New thread restores the prompt.
  • Recover the most recent draft saved under a workspace in an earlier version. Keep any pending send bound to its original request.
  • Bind new sends to the selected workspace and keep receipt retries tied to the submitted request.

Verification

  • Browser with two projects and two workers. Verified project and worker changes, leaving and returning, a reload, recovery of an earlier draft, and delivery to the selected worker.
  • 24 integration tests across composer drafts, linked delivery, and sandbox draft selections.
  • Web, mobile, and gateway type checks. Formatting and lint for edited sources.
  • Native iOS and Android runtime verification remains open. Repository-wide checks run in CI.

Copy audit

Added “Could not save this draft. Retry before sending.” for a recovered draft whose updated target could not be saved. The message names the failure and gives one recovery action.

Fixes: #665
Fixes: #666

@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 08:31
@nixuuu
nixuuu merged commit e9f7fad into dev Nov 24, 2026
17 checks passed
@nixuuu
nixuuu deleted the fix/preserve-prompt-draft-switching branch November 24, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant