Archived
Replace the composer-local "Sending…" indicator with a single, consistent state surfaced by the existing chat activity dock. The session controller now owns the full attachment send lifecycle (including the folder-mode upload + reference rewrite) and toggles an isSendingPrompt flag around it, which the chat dock renders as "Sending your message…" until the real server activity supersedes it. This covers the pre-receipt dead zone (upload, server-side image resize, first-session open) with one indicator instead of two, and keeps plain text sends fire-and-forget.
614 B
614 B
@jmfederico/pi-web
| @jmfederico/pi-web |
|---|
| patch |
Show a sending indicator in the chat while messages with image attachments are uploading. Previously the composer cleared instantly while the upload, server-side image resizing, and first-session open happened in the background, so it looked like nothing was happening. The existing chat activity dock now shows "Sending your message…" during that window (including the folder-mode upload step) and is superseded by the real session activity once the message lands. Attachment sending is now orchestrated in the session controller so there is a single, consistent indicator.