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

Add marks to user's favorites #36

Open
6 tasks
ArthurBeaulieu opened this issue Oct 19, 2024 · 0 comments
Open
6 tasks

Add marks to user's favorites #36

ArthurBeaulieu opened this issue Oct 19, 2024 · 0 comments

Comments

@ArthurBeaulieu
Copy link
Member

On a marker popup, provide a star button, so a user can save a spott/shop/bar to it's favorites.

Backend :

  • In db, create tabel for favorite, linking user id to mark ids
  • offer endpoint to GET favorites, in three array (by types), ordered by date from most recent to most oldest
  • offer endpoint to POST a given mark ID to save it in favorites
  • offer endpoint to remove a mark ID from favorites

Frontend :

  • Create "add to favorite" button on mark's popup, that can be toggle (save/remove) from fav
  • Create filtering option to only display favorites
@ArthurBeaulieu ArthurBeaulieu added the enhancement New feature or request label Oct 19, 2024
@Asiberus Asiberus transferred this issue from MesseBasseProduction/BeerCrackerzMobile Nov 18, 2024
@Asiberus Asiberus added this to the Beta v0.1 milestone Nov 20, 2024
@Asiberus Asiberus added severity:medium feature and removed enhancement New feature or request labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants