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

Awesome books: with ES6 #1

Merged
merged 4 commits into from Aug 8, 2022
Merged

Awesome books: with ES6 #1

merged 4 commits into from Aug 8, 2022

Conversation

David-Kasilia
Copy link
Owner

To Highlight

  • Created a new directory and initialize it with git.
  • Created the necessary files and directories required
  • Created a branch to work on the es6 syntax and refactor code.
  • Divided the code into necessary modules.
  • Worked on the date and time using luxon
  • Fixed the linters errors
  • Updated the README file

Copy link

@DammyShittu DammyShittu left a comment

Choose a reason for hiding this comment

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

Hi @David-Kasilia,

Highlights

✔️ Descriptive PR
✔️ Passing linters
✔️ Arrow functions

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!

Required Changes ♻️

Check the comments under the review.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

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 20 to 32

static removeBook(title) {
const books = StoreBooks.getBooks();

books.forEach((book, index) => {
if (book.title === title) {
books.splice(index, 1);
}
});

localStorage.setItem('books', JSON.stringify(books));
}
}
Copy link

@DammyShittu DammyShittu Aug 8, 2022

Choose a reason for hiding this comment

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

  • Your app does not really clear the local storage on removing the books. When I remove books and reload all the books still come back on the page. Kindly fix this.

    books are added books are removed Page is refreshed
    awe-1 awe-2 awe-1

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thank You for your Review I have Fixed the issue.

Copy link

@codecaiine codecaiine left a comment

Choose a reason for hiding this comment

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

Hi @David-Kasilia ,

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

Highlights

  • Descriptive Pull Request ✔️
  • Good use of gitflow ✔️
  • Clean code ✔️

Optional suggestions

Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.

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 (@codecaiine) 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.

@David-Kasilia David-Kasilia merged commit 63d1686 into main Aug 8, 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.

None yet

3 participants