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

Favorite Icon Improvement for WordCard #160

Open
mlajkim opened this issue Jan 14, 2024 · 0 comments
Open

Favorite Icon Improvement for WordCard #160

mlajkim opened this issue Jan 14, 2024 · 0 comments
Labels
enhancement New feature or request (UX)

Comments

@mlajkim
Copy link
Contributor

mlajkim commented Jan 14, 2024

Background

Clicking favorite icon requires API response. I want the click to be instantaneous, and roll back if the modification fails.
image

TODOs

- [ ] Update the icon as soon as the end user clicks
- [ ] If API Request fails, roll back and write a simple snackbar that shows "failed to favorite (unfavorite) the word"
- [ ] If API Request successes, apply the given latest favorite status
@mlajkim mlajkim added the enhancement New feature or request (UX) label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request (UX)
Projects
None yet
Development

No branches or pull requests

1 participant