Skip to content

CLIENT: Dashboard - Student View - Comments #39

@RoderickLei

Description

@RoderickLei

Problem Description

As a user, I want to view comments on a post and add my own.

Required Changes

  • Show comments under each post.
  • Input for new comment with logged-in user initials badge to the left.
  • Submit adds comment to list.

Goal

Enable users to engage via comments.

Acceptance Criteria

  • Existing comments list visible for each post.
  • Comment input present, submitting not empty content adds comment.
  • Errors are displayed: Fetching comments error ("Comments could not be loaded. Please try again"), Submitting comment error ("Your comment could not be posted. Please try again."), Validation error (empty input).

Dependencies

Backend: endpoints to fetch comments per post and create comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions