Skip to content

feat: add file attachments to chat messages#42

Merged
mrepol742 merged 1 commit intohallofcodes:masterfrom
mrepol742:master
Mar 23, 2026
Merged

feat: add file attachments to chat messages#42
mrepol742 merged 1 commit intohallofcodes:masterfrom
mrepol742:master

Conversation

@mrepol742
Copy link
Member

  • Add NEXT_PUBLIC_SUPABASE_BUCKET_NAME to .env.example
  • Persist attachments as JSONB on messages and add DB migration
  • Upload files to Supabase storage on send; validate bucket and max size
  • Store filename, mimetype, filesize and public_url with each message
  • Add file picker, previews, remove button, and toast errors in UI
  • Render attachments in Messages (image/video/audio/link) and update types

- Add NEXT_PUBLIC_SUPABASE_BUCKET_NAME to .env.example
- Persist attachments as JSONB on messages and add DB migration
- Upload files to Supabase storage on send; validate bucket and max size
- Store filename, mimetype, filesize and public_url with each message
- Add file picker, previews, remove button, and toast errors in UI
- Render attachments in Messages (image/video/audio/link) and update
  types
@mrepol742 mrepol742 merged commit 0ace420 into hallofcodes:master Mar 23, 2026
1 of 2 checks passed
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