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

Todo list Add and remove items #2

Merged
merged 9 commits into from Apr 30, 2022
Merged

Todo list Add and remove items #2

merged 9 commits into from Apr 30, 2022

Conversation

mwenyoa
Copy link
Owner

@mwenyoa mwenyoa commented Apr 29, 2022

The following features were implemented:

  • Remove all hardcoded items from the tasks array.
  • Create a new JavaScript file called tasks.js for the new functionality.
  • Implement a function for adding a new task.
  • Implement a function for deleting a task.
  • Implement a function for editing task descriptions.
  • By default new tasks property "completed" set to false.
  • Property index set to the value of the new array length.
  • Update all remaining items' indexes when one item is deleted,
  • Save all changes to the To Do List in local storage.
  • Add checked item functionality and save changes to local storage. as shown.

Screenshot 2022-04-30

Copy link

@Emmyn5600 Emmyn5600 left a comment

Choose a reason for hiding this comment

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

Hi @mwenyoa

Good job so far! I know you have worked hard on making this milestone. There are some issues that you still need to work on to go to the next project but you are almost there!

almost-there

Required Changes ♻️

  • Check the comment 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!:clap::clap::clap:
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.

@mwenyoa
Copy link
Owner Author

mwenyoa commented Apr 29, 2022

Hi, @Emmyn5600 I am enable to see your required changes, kindly update me.

@mwenyoa
Copy link
Owner Author

mwenyoa commented Apr 29, 2022 via email

@Emmyn5600
Copy link

@mwenyoa But I have attached the message and screenshot.

Copy link

@Emmyn5600 Emmyn5600 left a comment

Choose a reason for hiding this comment

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

Hi @mwenyoa

Good job so far! I know you have worked hard on making this milestone. There are some issues that you still need to work on to go to the next project but you are almost there!

almost-there

Required Changes ♻️

  • Check the comment 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!:clap::clap::clap:
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.

src/tasks.js Show resolved Hide resolved
@mke2111
Copy link

mke2111 commented Apr 29, 2022

Project Under Second Opinion Review.
Kindly wait for a response. 😄

Copy link

@mke2111 mke2111 left a comment

Choose a reason for hiding this comment

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

Hello @mwenyoa 👋,

This is an additional review as a result of the second opinion request.

Great work with the app so far. 👍🏽 I will explain the point raised by the CR and I hope you will understand it with this.

In the project requirements, specifically, the last point reads All changes to the To-Do List should be saved in local storage.. This implies that once the to-do is checked as true, this change has to be saved in the local storage and should persist on reloading the page.

Make the requested change and once you are ready, submit another CRR. 🙏🏽

Keep rocking 🚀 and Happy Coding 💻 !

Copy link

@phelian23 phelian23 left a comment

Choose a reason for hiding this comment

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

Hi @mwenyoa,

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

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.

@mwenyoa mwenyoa merged commit 5f08874 into master Apr 30, 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

4 participants