feat: File attachment progress bar#7942
Conversation
Code Review — first reviewSummaryAdds a deterministic progress bar ( Files changed: 18 | +174 / -47 Strengths
Issues1. Redundant fallback string in {t('common:projects.uploadingFiles') ?? 'Uploading files…'}The 2. Inline-document fallthrough logic is non-obvious 3. Error path skips 4. Recommendation: improve needed (minor)Two small items before merge:
Overall this is well-scoped, correct, and follows existing codebase patterns. Good work on the thorough locale coverage. |
Follow-up Review — commit 6d63886What changed
Both are minor cleanup items addressing previous review feedback. Recommendation: can mergeReview feedback addressed. The progress bar feature is well-implemented with proper i18n support. |
6d63886 to
ad3e309
Compare
* feat: add progress bar for uploading status * feat: implement i18n localization for the changes * fix: address review comment
This reverts commit a41f294.
Changes
Adds visible upload/indexing progress for multi-file flows in the web app: a linear progress bar with completed / total counts, instead of only spinners or ambiguous “processing” state.
UI
ProjectFiles.tsx): While ingesting multiple documents into a project, shows a progress bar andcurrent / totalunder the files header.ChatInput.tsx): While images or documents are being ingested after attach, shows a progress bar below the attachment chips with the same fraction.Logic
attachmentProcessing.ts: OptionalonIngestProgress?: ({ completed, total }) => voidonprocessAttachmentsForSend, exported typeAttachmentIngestProgress. Progress counts only attachments that actually run ingestion (skips already-processed / inline-only docs). Fires once at0 / total, then after each successful step.i18n
common.uploadingAttachments— chat progress label.common.projects.uploadingFiles— project files progress label.common.jsonfiles underweb-app/src/locales/.07.04.2026_18.30.42_REC.mp4
Self Checklist