Jrmcuervo / RoR-group-project

0 stars 0 forks source link

Recipe Details and Privacy Toggle [3 Xpt] #5

Open Jrmcuervo opened 1 year ago

Jrmcuervo commented 1 year ago

Showcase a toggle button enabling users to switch a recipe's status between public and private. Display recipe details according to the wireframe, if the recipe is public or if the logged-in user is the owner. Allow the owner of the recipe to navigate to a form for adding new food ingredients or items. Ensure efficient database queries to prevent N+1 query problems.

Jrmcuervo commented 1 year ago

Project references; Recipe details: Should display a toggle button that allows for a recipe to be made public or private. If the recipe is public or the user is the owner of the recipe, should display the recipe details as in the wireframe. If the user is the owner of the recipe, should lead to the form that allows the user to add new food. Make sure there are no N+1 queries happening.