Skip to content

Add pending state and loading indicator to thread composer#17

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/warm-albatross
May 24, 2026
Merged

Add pending state and loading indicator to thread composer#17
SDSLeon merged 1 commit into
masterfrom
lightcode/warm-albatross

Conversation

@SDSLeon

@SDSLeon SDSLeon commented May 24, 2026

Copy link
Copy Markdown
Owner

Type: Feature

  • Provide visual feedback with a loader during thread submission to improve user experience
  • Prevent duplicate submissions by disabling the send button while the request is in progress
  • Avoid saving draft files and text when a thread is successfully submitted

- Add `submitPending` prop and `PixelLoader` spinner to `ThreadComposer`
- Track `isSubmitting` state and `submittedRef` in `ThreadDraftComposerArea`
- Disable submit button and prevent draft autosave during submission
- Remove immediate clearing of attachments on submit
@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment May 24, 2026 9:10pm

@SDSLeon SDSLeon merged commit 430be5b into master May 24, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/warm-albatross branch May 24, 2026 21:15
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