Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Like button #12

Open
sophiecollard opened this issue Apr 18, 2023 · 0 comments
Open

Like button #12

sophiecollard opened this issue Apr 18, 2023 · 0 comments

Comments

@sophiecollard
Copy link
Owner

sophiecollard commented Apr 18, 2023

Acceptance criteria

Given a Tweet
Then I can see the like count for that Tweet

Given a Tweet I have not liked
When I click the like button
Then the button state changes to "liked"
And the like count is incremented by 1

Given a Tweet I have liked
When I click the like button
Then the button state changes to "not liked"
And the like count is decremented by 1

Implementation phases

  1. Show like count for each Tweet
  2. Show an authenticated user whether they have liked the Tweet they are viewing
  3. Allow authenticated user to like/unlike a Tweet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant