Skip to content

Commit

Permalink
Update project-docs/wave-03.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ansel Rognlie <[email protected]>
  • Loading branch information
mikellewade and anselrognlie authored May 6, 2024
1 parent 79c906a commit 90883da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project-docs/wave-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In this wave we will update the components to manage a **like** feature.

- Add behavior to heart button in `ChatEntry` so that when it is clicked it toggles from an empty heart (🤍) to a filled heart (❤️) and from a filled heart (❤️) to an empty heart (🤍).
- Manage the click event and state of the chat entries such that when the like status of a chat message changes by clicking the heart button, it is tracked by the `App` and the `App` reports the number of total messages that are currently liked.
- Example: If the user has liked three messages, `3 ❤️s` will appear at the top of the screen. If one of the three liked messages is unliked then `2 ❤️s` will appear at the top of the screen.
- Example: If the user has liked three messages, "3 ❤️s" will appear at the top of the screen. If one of the three liked messages is unliked then "2 ❤️s" will appear at the top of the screen.

<details>
<summary>Expand to see hints for implementing this feature</summary>
Expand Down

0 comments on commit 90883da

Please sign in to comment.