mycookbook / web-client

cookbookshq frontend
https://web.cookbookshq.com
Other
1 stars 1 forks source link

A user should not be able to report a recipe more than once #176

Open fokosun opened 1 year ago

fokosun commented 1 year ago

When a user reports a recipe, we collect their email and phone number. We want to discourage reporting a recipe more than once by the same user. The only identifier is the email and/or phone they used the last time they reported the recipe.

dev note If the backend responds with a code that the recipe is reported already, display a message to let the user know that thet are not allowed to report the recipe more than once. We can also make use of local storage to track this in order to reduce the number of times a request is sent to the server. The report it button can be disabled if the user has reported the recipe already.

fokosun commented 1 year ago

@captainPrime what's the status on this? It's still in the in progress card I thought you have completed this. Kindly move to deployed card if this is done already