-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
π POST & INTERACTIONSCore features like creating posts, editing, deleting, commenting, and liking.Core features like creating posts, editing, deleting, commenting, and liking.
Description
Enable users to comment on posts, allowing discussion and feedback within the community.
This feature should support threaded replies (optional for v1) and contribute to engagement metrics used in Leaderboard.
β Tasks
-
Database / Logic
- Create
Commentmodel linked toPostandUser. - Support nested/threaded comments (optional for first release).
- Track timestamps (createdAt, updatedAt).
- Create
-
UI/UX
- Add comment section below each post.
- Input field for writing comments (authenticated users only).
- Show list of comments with user info, time, and content.
- (Optional) Show reply button for threaded discussions.
-
Fullstack Implementation
- Implement server actions for creating and deleting comments.
- Integrate comment count into post preview cards.
- Ensure only authors of a comment or moderators can delete.
-
Testing & QA
- Unit tests for comment creation/deletion.
- Integration tests for post + comment display.
- UI tests for writing and deleting comments.
π Acceptance Criteria
- Authenticated users can comment on posts.
- Comments are displayed with author info and time.
- Comment count is visible on each post.
- Moderators can remove inappropriate comments.
- (Optional) Nested comments are supported for deeper discussions.
Metadata
Metadata
Assignees
Labels
π POST & INTERACTIONSCore features like creating posts, editing, deleting, commenting, and liking.Core features like creating posts, editing, deleting, commenting, and liking.