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

RoR Group Capstone - Recipe App #31

Open
wants to merge 149 commits into
base: main
Choose a base branch
from
Open

RoR Group Capstone - Recipe App #31

wants to merge 149 commits into from

Conversation

cherelemma
Copy link
Contributor

Hello Dear CR ✋

I hope this message finds you well. I am submitting a pull request for your review and feedback on the implementation of the Recipe App. I, @cherelemma, @Enning94, and @Odongo006 collaborate to implement the project requirements. We believe the implementation fulfills the project requirements and also maintains the general requirements.

Project Requirements ✔️

In this Project We:

  • Followed the layout of the wireframes provided.
  • Built login page and registration page with Devise.
  • Created Food list:
    • It displays a list of food and the quantity of food added by the logged-in user.
    • It leads to a form that allows users to add new food.
  • Created Recipes list:
    • It displays a list of recipes created by the logged-in user.
    • It leads to recipe details.
    • If the user is the owner of the recipe, it allows the user to delete it.
  • Created Public recipe list:
    • It displays a list of all public recipes ordered by the newest.
    • It leads to recipe details.
  • Created Recipe details:
    • It displays 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, it displays the recipe details.
    • If the user is the owner of the recipe, it leads to the form that allows the user to add new food.
  • Created General shopping list view :
    • It shows the list of food that is missing for all recipes of the logged-in user
    • It counts the total number of food items and the total price of the missing food.
  • Created a navigation menu that allows users to open all of the pages we created.
  • Wrote unit and integration tests

General requirements ✔️

We have thoroughly reviewed the project requirements and cross-checked the implementation of the Blog app against the given description to ensure accuracy.

We'd like to ask for a review, as your feedback and suggestions are invaluable in ensuring the quality and efficiency of the project.

Thank you in advance for your time and assistance. We look forward to your feedback and addressing any concerns to enhance the overall quality of the project.

Copy link

@Owusu-Desmond Owusu-Desmond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @cherelemma @Enning94 and @Odongo006

Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights

📌 No Linters error ✅
📌 Descriptive pull request✅
📌 Great working on the set up of the project ✅
📌 Nice Design✅
📌 Good commit messages ✅
📌 Professional README file ✅

Required Changes ♻️

Check the comments under the review.

  • Please you have 5 of your unit tests failing so make sure that you fix them 🙏

    image

Optional suggestions

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Comment on lines 17 to 19
placeholder: 'New inventory name',
class: 'form-control'
%>
Copy link

@Owusu-Desmond Owusu-Desmond Sep 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I suggest that the placeholder for this should be New recipe name instead of 'New inventory name' since this form is for creating recipes not inventory 😊

Comment on lines 21 to 22
<% if @recipe.public %> checked <% end %>>
<label class="form-check-label" for="flexSwitchCheckReverse">Public</label>
Copy link

@Owusu-Desmond Owusu-Desmond Sep 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please make sure that clicking on a recipe switch icon should switch a recipe from public to private when it is public or private to public when it is private. 🙏

Comment on lines 58 to 59
autocomplete: 'description',
placeholder: 'Description of the inventory',
Copy link

@Owusu-Desmond Owusu-Desmond Sep 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I suggest that the placeholder for this should be Description of the recipe instead of Description of the inventory since this form is for creating recipes and not inventory 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants