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

London11 | Karla Grajales | Module-Data-Groups | Sprint-3 Debugging Book-Library-Book #151

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

Conversation

Grajales-K
Copy link

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

This project taught us key skills in debugging and version control. I resolved Git branch issues, handled cherry-picks, and fixed event listener errors in JavaScript. Clear boolean condition checks improved code reliability, and we efficiently resolved merge conflicts during cherry-pick operations. Finally, I emphasized the importance of maintaining a disciplined Git workflow to manage changes systematically.

Questions

Ask any questions you have for your reviewer.

@Grajales-K Grajales-K added 🏕 Priority Mandatory This work is expected 🔑 Priority Key Do this first 📅 Data Flows This work belongs to Data Flows 📅 Sprint 3 Assigned during Sprint 3 of this module Needs Review Participant to add when requesting review labels Jan 19, 2025
@Grajales-K Grajales-K requested a review from cjyuan January 19, 2025 22:07
Copy link

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

  • On page load, is it necessary to call render() twice?

  • In terms of input validation,

  1. Are all input properly checked?
  2. Can .value be null? (Do we need to check someInputElement.value == null?)
  3. What if a user enters only space characters in the "title" input field?
  4. What if a users enters -1 or 3.1416 in the "pages" input field?

There is also some errors in index.html. Perhaps an HTML validator can quickly help you identify them.

debugging/book-library/script.js Show resolved Hide resolved
debugging/book-library/script.js Outdated Show resolved Hide resolved
debugging/book-library/script.js Outdated Show resolved Hide resolved
@cjyuan cjyuan added Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review labels Jan 19, 2025
@Grajales-K
Copy link
Author

  • On page load, is it necessary to call render() twice?
  • In terms of input validation,
  1. Are all input properly checked?
  2. Can .value be null? (Do we need to check someInputElement.value == null?)
  3. What if a user enters only space characters in the "title" input field?
  4. What if a users enters -1 or 3.1416 in the "pages" input field?

There is also some errors in index.html. Perhaps an HTML validator can quickly help you identify them.

@Grajales-K Grajales-K requested a review from cjyuan January 20, 2025 01:50
Copy link

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

After you fix the code that check for page numbers. Feel free to mark this as Completed.

pages.value == ""
pages.value == "" ||
pages.value <= 0 ||
pages.value != parseInt()
Copy link

Choose a reason for hiding this comment

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

Line 38 looks weird. What does that compare?

debugging/book-library/script.js Show resolved Hide resolved
@Grajales-K Grajales-K added the Complete Participant to add when work is complete and review comments have been addressed label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complete Participant to add when work is complete and review comments have been addressed 📅 Data Flows This work belongs to Data Flows 🔑 Priority Key Do this first 🏕 Priority Mandatory This work is expected Reviewed Volunteer to add when completing a review 📅 Sprint 3 Assigned during Sprint 3 of this module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants