Skip to content

feat(web): attach files to a chat message from the composer - #396

Open
davemooreuws wants to merge 2 commits into
read-attachmentsfrom
composer-attachments
Open

davemooreuws wants to merge 2 commits into
read-attachmentsfrom
composer-attachments

Conversation

@davemooreuws

@davemooreuws davemooreuws commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Fourth of the chat attachments PRs, stacked on #395: attaching files in the composer. Sent messages don't show their files until #403, so the two should merge together.

  • An "Attach files" button, drag-and-drop over the chat and paste each add files, which upload straight away as chips with progress, remove and, when it can work, retry.
  • Send waits while a file uploads and is blocked by one that failed. A message can be files only.
  • DELETE /chats/:chatId/files/:fileId removes an unsent upload, so a removed chip stops counting toward the 20 waiting files. Leaving a chat removes its unsent uploads too.
  • A send refused because a file was gone (UploadsNotFound, now a domain error the client matches by tag) brings the chips back as failed, to retry.

Part of SUGA-1825

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sugabots-website e787810 Oct 16 2026, 06:45 AM

@davemooreuws
davemooreuws added this pull request to stack #404 October 14, 2026 08:17
@davemooreuws
davemooreuws force-pushed the composer-attachments branch 2 times, most recently from babdb5c to f507035 Compare October 16, 2026 00:31
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