feat: track upload progress in attachment preview components#3060
Open
feat: track upload progress in attachment preview components#3060
Conversation
1c15431 to
6c93b9b
Compare
szuperaz
commented
Mar 25, 2026
src/components/MessageComposer/AttachmentPreviewList/AttachmentUploadProgressIndicator.tsx
Show resolved
Hide resolved
6c93b9b to
50c8b11
Compare
src/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.tsx
Outdated
Show resolved
Hide resolved
src/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.tsx
Outdated
Show resolved
Hide resolved
066dbb6 to
d281040
Compare
d281040 to
9c79553
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Goal
https://linear.app/stream/issue/REACT-925/upload-progress-tracking
Depends on: https://github.com/GetStream/stream-chat-js/pull/1708/changes#diff-61c3f170c2f20982af303989006c8317adf3006784ed2b37513e1c50487353d0
🛠 Implementation details
ProgressIndicator-> displays a circular progress indicator to track progress from 0 - 100%AttachmentUploadProgressIndicator-> if upload progress is available, it displaysProgressIndicator, otherwise theLoadingIndicator. When is upload progress not available?AttachmentUploadedSizeIndicatorPropsto display file size:🎨 UI Changes
Implementing this design: https://www.figma.com/design/Us73erK1xFNcB5EH3hyq6Y/Chat-SDK-Design-System?node-id=3517-102932&t=fizGA6SsyGt3g08F-0