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

Milestone: # Blog-app Views #6

Merged
merged 14 commits into from
Sep 25, 2023
Merged

Milestone: # Blog-app Views #6

merged 14 commits into from
Sep 25, 2023

Conversation

cosywasswa
Copy link
Owner

👇 In this pull request, I performed the following tasks.

  • Implemented the design from the sneak peek wireframes.
  • Used methods created in models.
  • Created a way to navigate through pages.
  • Updated README file.
  • Fixed linter bugs.

Copy link

@thecodechaser thecodechaser left a comment

Choose a reason for hiding this comment

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

STATUS: CHANGES REQUIRED ♻️

Hi @cosywasswa👋,

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!

To Highlight 🎉

  • Good job with views. ✔️
  • Gitflow is followed. ✔️
  • Professional README file. ✔️
  • No linter errors. ✔️
  • PR has a good title and summary. ✔️

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.

You can also consider:
N/A

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 13 to 16
<% @posts.each do |post| %>
<div class="post-details">
<h2>Post #<%= post.id %></h2>
<h3><%= post.text %></h3>

Choose a reason for hiding this comment

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

  • Please use the method recent_posts available in the user model and loop through it instead of looping through all posts. Also, the posts # should be a link to the post-show page.

Comment on lines 17 to 22

<div class="comment-cont">
<% post.comments.each do |comment| %>
<p><%= @user.name %>: <%= comment.text %> <%= comment.id %></p>
<% end %>
</div>

Choose a reason for hiding this comment

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

  • Please use the method recent_comments available in the post model and loop through it instead of looping through all comments.

Copy link

@bienvenuushindi bienvenuushindi left a comment

Choose a reason for hiding this comment

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

Approved 👏

Hi @cosywasswa 👋,

Well done implementing the requested changes 👏

Highlights 🚀 ✔️ ✔️

  • The repo looks professional.:heavy_check_mark:
  • Git/GitHub flow best practices have been followed:heavy_check_mark:
  • You have descriptive PR:heavy_check_mark:

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

Congratulations! 🎉

image

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 @bienvenuushindi 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.

@cosywasswa cosywasswa merged commit 37c67c6 into develop Sep 25, 2023
3 checks passed
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