Adrian-Moreira / PlanPals

2 stars 2 forks source link

Add Voting Feature (Flutter) #56

Closed ron12341 closed 2 weeks ago

ron12341 commented 3 weeks ago

Frontend Task: Add Voting Feature to Travel Planner Items

Overview

Enable users to upvote or downvote items in the travel planner. Implement vote buttons and display the updated vote count.


Tasks

  1. UI Elements

    • Add upvote and downvote buttons next to each travel planner item.
    • Display the current vote count beside these buttons.
  2. API Integration

    • Connect to the voting API to submit upvotes/downvotes.
    • Update the vote count on the UI immediately after a vote.
  3. Basic Error Handling

    • Show an error message if the vote fails.
    • Disable buttons to prevent duplicate voting.

Estimated Time

Acceptance Criteria