Visitar URL original
feat(tools, challenge-editor): add script to create challenges by moT01 · Pull Request #52488 · freeCodeCamp/freeCodeCamp · GitHub
The Wayback Machine - https://web.archive.org/web/20240105211534/https://github.com/freeCodeCamp/freeCodeCamp/pull/52488
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

feat(tools, challenge-editor): add script to create challenges #52488

Conversation

moT01
Copy link
Member

@moT01 moT01 commented Dec 4, 2023

This adds a script to create challenges with the markdown included. See comments in the script.

Checklist:

Closes #XXXXX

@github-actions github-actions bot added the scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. label Dec 4, 2023
Copy link
Contributor

codesee-maps bot commented Dec 4, 2023

👀 Review this PR in a CodeSee Review Map

View the CodeSee Map of this change

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks, Tom.

Since this is purely a dev facing thing, I'm happy to merge as is. If there are any bugs, we can fix them as we find them.

@moT01 moT01 marked this pull request as ready for review December 5, 2023 12:59
@moT01 moT01 requested a review from a team as a code owner December 5, 2023 12:59
@moT01 moT01 added the status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. label Dec 5, 2023
@naomi-lgbt naomi-lgbt self-assigned this Dec 5, 2023
Copy link
Member

@naomi-lgbt naomi-lgbt left a comment

Choose a reason for hiding this comment

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

Rather than having a hard-coded template that we have to edit (which is version controlled and may result in extraneous noise), we should use the get-challenge-template.ts utility to pick a template.

@moT01
Copy link
Member Author

moT01 commented Dec 11, 2023

I'm not sure I understand how that would work - can you elaborate a little @naomi-lgbt? For some more context, the English team has created all (most of?) the challenges in google docs with the markdown headings and stuff. So the idea with this script is that we can just copy/paste the markdown from there, and run the script to create each challenge - and they (ideally) shouldn't have to adjust the markdown after that.

Copy link
Member

@naomi-lgbt naomi-lgbt left a comment

Choose a reason for hiding this comment

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

Okay, that makes some sense. I'm still worried about the template changes being committed erroneously, but we can land this.

@naomi-lgbt naomi-lgbt merged commit 37c0be0 into freeCodeCamp:main Dec 11, 2023
25 checks passed
@moT01 moT01 deleted the feat/add-script-to-create-english-challenges branch December 11, 2023 18:40
scissorsneedfoodtoo pushed a commit to scissorsneedfoodtoo/freeCodeCamp that referenced this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants