Bindu icon indicating copy to clipboard operation
Bindu copied to clipboard

Feature: Fully Implement Frontend File Upload Capability

Open Paraschamoli opened this issue 9 months ago • 2 comments

Problem

Currently, the Bindu frontend does not provide users with a complete file upload experience. While file input controls and some drag-and-drop functionality exist (see components like FileDropzone.svelte and ChatInput.svelte), there is no finalized, user-facing workflow for uploading files to participate in a conversation. This affects the product's usability for many scenarios where file attachments and document sharing are important.

Why it Matters

  • Users expect to be able to upload, validate, and view files as part of conversational flows (e.g., sharing documents, images, transcripts).
  • A seamless upload experience improves collaboration, troubleshooting, and knowledge transfer.
  • The backend (uploadFile.ts) supports file upload, so the missing piece is frontend wiring and UI/UX polish.

Acceptance Criteria

  • [ ] Users can select files through a dialog or drag-and-drop interface.
  • [ ] Supported file types and size limits are communicated to the user and enforced client-side.
  • [ ] Upload progress and error/success feedback are shown clearly in the UI.
  • [ ] On successful upload, files are associated with the current conversation and appear in the message stream (see UploadedFile.svelte).
  • [ ] Uploaded files are sent to the backend (uploadFile.ts), and server-side validation is handled.
  • [ ] The UI prevents file upload if the user is not authenticated where required.

References (existing code for context)

Additional Suggestions

  • Enhance visual cues (progress bars, drag overlays, icons) to clarify upload steps.
  • Accessibility: Make sure upload controls are keyboard-accessible and screen-reader friendly.
  • Consider chunked uploads or optimistic UI updates for large files and slow networks.

This feature will align Bindu's frontend with user expectations and existing backend support, unlocking richer conversational experiences.

Paraschamoli avatar Feb 17 '26 15:02 Paraschamoli

hey can i work on this issue?

thank you

nilaychugh avatar Feb 18 '26 14:02 nilaychugh

Hey, I'm interested in working on this issue. Is it assigned to anyone currently? If not, I'd like to take it up

Palak09sh avatar Feb 20 '26 04:02 Palak09sh