Skip to content

Commit

Permalink
added language to specify that total like count should dispay number …
Browse files Browse the repository at this point in the history
…of currently liked messages
  • Loading branch information
Mikelle Wade committed Feb 14, 2024
1 parent 537a80a commit a04a177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project-docs/wave-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
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 have been liked.
- Example: If the user has liked three messages, `3 ❤️s` will appear at the top of the screen.
- 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.

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

0 comments on commit a04a177

Please sign in to comment.