Skip to content

feat(curriculum): Add data sanitizer sweep lab - #67313

Open
MarkI2 wants to merge 93 commits into
freeCodeCamp:mainfrom
MarkI2:feature/64126-data-sanitizer-sweep-lab
Open

feat(curriculum): Add data sanitizer sweep lab #67313
MarkI2 wants to merge 93 commits into
freeCodeCamp:mainfrom
MarkI2:feature/64126-data-sanitizer-sweep-lab

Conversation

@MarkI2

@MarkI2 MarkI2 commented May 10, 2026

Copy link
Copy Markdown

Checklist:

Closes #64126

@github-actions github-actions Bot added scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. scope: i18n language translation/internationalization. Often combined with language type label labels May 10, 2026
@github-actions github-actions Bot changed the title Issue: 64126 data sanitizer sweep lab fix: Issue: 64126 data sanitizer sweep lab May 10, 2026
@github-actions github-actions Bot added the Naomi's Sprints This label is for issues that Naomi is managing through her sprint initiatives on Discord. label May 10, 2026

@majestic-owl448 majestic-owl448 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the folder and block can't be named data-sanitizer-sweep, a lab dashed name needs to start with lab- (it can stay as dashedName inside the challenge file tho)

Comment thread curriculum/structure/blocks/lab-data-sanitizer-sweep.json Outdated
@majestic-owl448 majestic-owl448 added the js v9 cert This is for the JS V9 certification. label May 13, 2026
Comment thread client/i18n/locales/english/intro.json Outdated
@camper-chan camper-chan Bot added status: waiting update Is awaiting update, after feedback or request for changes and removed status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. labels Jul 24, 2026
@MarkI2

MarkI2 commented Jul 25, 2026

Copy link
Copy Markdown
Author

I've just reviewed the user stories and all seems very confused. There's a lot of repetitions in places where you are not supposed to deal with that precise aspect of the expected solution, and this makes things even more confused.

The solution checks for fatal characters only at the beginning of the entry, and this is in contrast with the example in the description.

Also, when the fatal character is found it would make sense to return the report of sanitized entries so far followed by the error.

And why should a skipped entry count as successfully sanitized?

Reason for counting skipped entry as successfully sanitized entry was more hoping to simplify the lab therefore students will only need to track 2 types of counts: sanitized and unsanitized counts.

I'm currently reviewing the whole PR so I will be putting it back to draft and redo it.

@MarkI2

MarkI2 commented Jul 25, 2026

Copy link
Copy Markdown
Author

I've just reviewed the user stories and all seems very confused. There's a lot of repetitions in places where you are not supposed to deal with that precise aspect of the expected solution, and this makes things even more confused.

The solution checks for fatal characters only at the beginning of the entry, and this is in contrast with the example in the description.

Also, when the fatal character is found it would make sense to return the report of sanitized entries so far followed by the error.

And why should a skipped entry count as successfully sanitized?

Thanks for your review

Reason for counting skipped entry as successfully sanitized entry was more hoping to simplify the lab therefore students will only need to track 2 types of counts: sanitized and unsanitized counts.

I'm currently reviewing the whole PR so I will be putting it back to draft and redo it.

@MarkI2
MarkI2 marked this pull request as draft July 26, 2026 02:38
MarkI2 and others added 8 commits July 26, 2026 19:24
Co-authored-by: Dario <105294544+Dario-DC@users.noreply.github.com>
Signed-off-by: MarkI2 <39160791+MarkI2@users.noreply.github.com>
…69eefea5a952ae85871df0dc.md

Co-authored-by: Dario <105294544+Dario-DC@users.noreply.github.com>
Signed-off-by: MarkI2 <39160791+MarkI2@users.noreply.github.com>
…69eefea5a952ae85871df0dc.md

Co-authored-by: Dario <105294544+Dario-DC@users.noreply.github.com>
Signed-off-by: MarkI2 <39160791+MarkI2@users.noreply.github.com>
Add console.log line to the fatal error section.
@majestic-owl448

Copy link
Copy Markdown
Contributor

when you are ready for a new review, let us know by marking the PR as ready for review

@majestic-owl448 majestic-owl448 removed the status: waiting update Is awaiting update, after feedback or request for changes label Aug 3, 2026
@MarkI2
MarkI2 marked this pull request as ready for review August 16, 2026 04:53
@MarkI2
MarkI2 requested a review from Dario-DC August 16, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

js v9 cert This is for the JS V9 certification. Naomi's Sprints This label is for issues that Naomi is managing through her sprint initiatives on Discord. platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. scope: i18n language translation/internationalization. Often combined with language type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lab – Data Sanitizer Sweep

3 participants