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

Blog app - Views #7

Merged
merged 9 commits into from
Nov 3, 2022
Merged

Blog app - Views #7

merged 9 commits into from
Nov 3, 2022

Conversation

learnwithalfred
Copy link
Owner

Views has been created for users

Remember the project is styled with tailwind CSS. You can start application by running ./bin/dev

Run rails db:seed to seed test data for testing

#Screenshots

Screenshot 2022-11-02 at 15 19 00

Screenshot 2022-11-02 at 16 39 23

Screenshot 2022-11-02 at 16 40 08

Screenshot 2022-11-02 at 16 43 42

Copy link

@Lucas-Masaba Lucas-Masaba left a comment

Choose a reason for hiding this comment

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

Hello @learnwithalfred 👋 ,

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!

almost-there

Highlights 🍾

  • I like your UI 👍
  • Clean code 🧹
  • Cool that you used tailwind 🏄
  • Linter checks passing ✔️
  • Awesome that you added a seed 🌱

Required Changes ♻️

Check the comments under the review.

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 @Lucas-Masaba 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.

  • In your posts index you are required to use the recent_comments method in your post model to display the 5 most recent comments. 👍

</p>
<h1 class="m-4 text-3xl font-extrabold tracking-tight leading-none text-gray-900">
Posts</h1>
<%@posts.each_with_index do |post, index| %>
Copy link

@Lucas-Masaba Lucas-Masaba Nov 2, 2022

Choose a reason for hiding this comment

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

  • Awesome job here. But, you are required to use the recent_posts method in your user model to display the 3 most recent posts. 👍

Copy link
Owner Author

@learnwithalfred learnwithalfred Nov 2, 2022

Choose a reason for hiding this comment

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

This is not part of the current requirement. It was made for because of styling. Why are you looking for errors?
@Lucas-Masaba

You are going beyond your requirements. You need to check the requirements before passing review.

Copy link

@VICTOR-CHUKWU VICTOR-CHUKWU left a comment

Choose a reason for hiding this comment

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

Hi @learnwithalfred ,

STATUS: APPROVED! 🥇 💯

done

Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

  • All linters passed

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.


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.

@learnwithalfred learnwithalfred merged commit 2c93dfc into dev Nov 3, 2022
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.

3 participants