Skip to content

CLIENT: Dashboard - Student View - Likes #38

@RoderickLei

Description

@RoderickLei

Problem Description

As a user, I want to like or unlike a post and see the like count update.

Required Changes

  • Like button toggles like state.
  • Update like count and visual state.

Goal

Provide responsive like interactions.

Acceptance Criteria

  • Clicking like toggles icon state and count.
  • Count reflects current user’s like.
  • On API error, interface shows an error message: "Your like could not be saved. Please try again."

Dependencies

Backend: endpoints to like/unlike or a toggle endpoint. Returns current like count and whether user liked.

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