Open JoeShep opened 4 years ago
This ticket records and stores a user's preference to liking or disliking a product, AFTER user chooses to select one of those two things
This ticket displays two buttons next to a product title in the DETAIL view: LIKE and DISLIKE
When user clicks "like" or "dislike" button next to a product title, the preference should be stored for the current user. Could be similar to last Bangazon sprint where a user could check a box saying they are a Supervisor?
Buttons like any we've done before should show next to product title in detail view When clicked, that button should show it is clicked by highlighting/turning the other button grey?
I'm not positive where the customer's preference should be stored (Product table?) But will certainly need Customer and Product information
This will require the customer and product tables
Given the user is authenticated When the user is viewing a product detail page Then a like and dislike button should be presented next to the product title
Given the user is authenticated When the user clicks on the like or dislike icon Then that preference should be stored for the current user