Skip to content

Unify inbox drafts with chat and submit Send it as a prompt - #1078

Merged
16francej merged 7 commits into
mainfrom
fix/inbox-conversation-draft
Sep 25, 2026
Merged

16francej merged 7 commits into
mainfrom
fix/inbox-conversation-draft

Conversation

@16francej

@16francej 16francej commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Put the editable reply draft in the inbox conversation and reuse the chat composer, including attachments and conversation-local runtime controls. Send it appends to the current instructions and submits immediately.

  • Save edits and check the draft version before submission. Preserve instructions and attachments on failed or conflicting requests, including changes during upload.

  • Give the mobile inbox input a full-width row, with its toolbar below. Keep desktop layout unchanged.

  • Reconcile Gmail replies sent outside the inbox and anchor Slack mentions to the original message/thread. Bound and coalesce source reads; keep items open when history is incomplete or unavailable.

  • Reuse schema validation, a single pre-upload submission callback, suggestion styles, and browser-test setup without changing autosave or send protections.

Verification

  • Full web test suite, affected backend tests, TypeScript, lint, formatting, unused-code checks, and production web build.
  • Browser-to-HTTP checks for draft edits, send prompts, attachments, runtime controls, stale drafts, failed requests, and desktop/mobile layouts.
  • Independent review of the rebase, mobile changes, and cleanup. Validation equivalence checked across 10,274 synthetic inputs.

Limits

Browser provider responses are synthetic; no live Gmail/Slack send was exercised. Source checks use existing direct OAuth connections, with the agent sync as the background backstop. Partial Slack history cannot establish reply completion. Mobile browser emulation does not verify a physical iPhone keyboard.

16francej and others added 6 commits September 24, 2026 23:41
* Separate inbox send suggestions from item dismissal

* Place inbox replies directly beneath the source thread

* Reuse the shared composer for inbox followups

* Left-align the inbox send suggestion

* Fix inbox conversation fixtures and pin pooling CI actions

---------
@16francej
16francej force-pushed the fix/inbox-conversation-draft branch from bac3e12 to 1098eb2 Compare September 24, 2026 23:51
@16francej
16francej merged commit 1093348 into main Sep 25, 2026
20 checks passed
@16francej
16francej deleted the fix/inbox-conversation-draft branch September 25, 2026 01:30
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