-
Notifications
You must be signed in to change notification settings - Fork 0
Feature: Media, Link & Code Sharing in Community Chat #16
Copy link
Copy link
Open
Labels
Description
Description
Enable users to share links, images, PDFs, and code snippets in community chat to improve collaboration and discussion.
Features
-
Link Detection
- Auto-detect URLs in messages.
- YouTube → show preview.
- GitHub / articles / job posts → clickable links.
-
Image Upload
- Users can share screenshots, UI designs, diagrams, etc.
-
PDF Upload
- Share resumes, documentation, notes, or research papers.
-
Code Snippets
- Display formatted code blocks for developer discussions.
Backend Changes
Extend the message model:
message: String
type: "text" | "image" | "pdf" | "link"
fileUrl: String
Tech Suggestion
- Cloudinary → image storage
- Cloudinary / S3 → PDF storage
- Frontend regex → URL detection
Acceptance Criteria
- Links are automatically detected and clickable.
- Users can upload and view images and PDFs.
- Code snippets render in formatted blocks.
- Messages sync in real-time across community members.
Reactions are currently unavailable