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
fix(learn): advanced-node-and-express username field #47349
fix(learn): advanced-node-and-express username field #47349
Conversation
👀 Review this PR in a CodeSee Review Map |
...ges/english/06-quality-assurance/advanced-node-and-express/send-and-display-chat-messages.md
Outdated
Show resolved
Hide resolved
shorter the sentence as proposed by hanswang123456
Sorry I make a mistake with that : It wasn't intentional, I clicked by mistake, this is my first PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good!
@Xavier-Pierre-dev Please get @ShaunSHamilton, @Sboonny, or @moT01 to review as they are actual reviewers. I'm just looking out for any small fixes. |
Also check out issue #47109. Might be a nice issue for you to attempt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello there,
I am requesting changes to this PR to block it for now, because this will require the relevant Gists to be updated as well - something a member of staff will have to do.
@ShaunSHamilton let's review this and do any additional tasks. This has been sitting here for a while. |
To mention, this is related to: #39599 |
This is ready to go in. Once we are production ready, we need to have the Gists updated based off of mine here: https://gist.github.com/ShaunSHamilton Also, the boilerplate needs updating: <insert_pr_once_made> |
...ulum/challenges/english/06-quality-assurance/advanced-node-and-express/announce-new-users.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks real good @Xavier-Pierre-dev 🎉
I went through the whole thing pretty thoroughly. The project is pretty awesome - I never actually went through it like that.
I made quite a few suggestions to try and improve the instructions. Some of them were typos or other grammar suggestions in your additions, but most were because I was having a hard time differentiating explanation from instructions of what I was supposed to do. So it's mostly an attempt to clarify to campers what they are actually supposed to do or add - which I think is overdue. Also, the instructions for creating an app on GH needed some updating. Many of these were pre-existing and possibly outside the scope of this PR, but I think we should add them here. Let me know if you have any questions on any of it.
...hallenges/english/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.md
Outdated
Show resolved
Hide resolved
...hallenges/english/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.md
Outdated
Show resolved
Hide resolved
...nges/english/06-quality-assurance/advanced-node-and-express/use-a-template-engines-powers.md
Outdated
Show resolved
Hide resolved
...nges/english/06-quality-assurance/advanced-node-and-express/use-a-template-engines-powers.md
Outdated
Show resolved
Hide resolved
curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/set-up-passport.md
Outdated
Show resolved
Hide resolved
...allenges/english/06-quality-assurance/advanced-node-and-express/registration-of-new-users.md
Outdated
Show resolved
Hide resolved
.../challenges/english/06-quality-assurance/advanced-node-and-express/hashing-your-passwords.md
Outdated
Show resolved
Hide resolved
.../challenges/english/06-quality-assurance/advanced-node-and-express/hashing-your-passwords.md
Outdated
Show resolved
Hide resolved
...english/06-quality-assurance/advanced-node-and-express/clean-up-your-project-with-modules.md
Outdated
Show resolved
Hide resolved
...sh/06-quality-assurance/advanced-node-and-express/implementation-of-social-authentication.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was only able to get through about half of the project, but everything is looking much better than before.
A lot of the things I noticed are pretty minor, so I'd be fine with disregarding a lot of them. Just wanted to point them out since there are a lot of other improvements here.
...nges/english/06-quality-assurance/advanced-node-and-express/use-a-template-engines-powers.md
Outdated
Show resolved
Hide resolved
...nges/english/06-quality-assurance/advanced-node-and-express/use-a-template-engines-powers.md
Outdated
Show resolved
Hide resolved
...nges/english/06-quality-assurance/advanced-node-and-express/use-a-template-engines-powers.md
Outdated
Show resolved
Hide resolved
curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/set-up-passport.md
Outdated
Show resolved
Hide resolved
curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/set-up-passport.md
Outdated
Show resolved
Hide resolved
...ulum/challenges/english/06-quality-assurance/advanced-node-and-express/logging-a-user-out.md
Outdated
Show resolved
Hide resolved
...allenges/english/06-quality-assurance/advanced-node-and-express/registration-of-new-users.md
Outdated
Show resolved
Hide resolved
...allenges/english/06-quality-assurance/advanced-node-and-express/registration-of-new-users.md
Outdated
Show resolved
Hide resolved
...allenges/english/06-quality-assurance/advanced-node-and-express/registration-of-new-users.md
Outdated
Show resolved
Hide resolved
.../challenges/english/06-quality-assurance/advanced-node-and-express/hashing-your-passwords.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @ShaunSHamilton 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all of your hard work on this @Xavier-Pierre-dev, and all the other improvements @ShaunSHamilton and @moT01 made look great. The instructions are much easier to follow now.
I went through the rest of the project and everything LGTM 👍
Heya @moT01 is this still blocked? Or can we go ahead and get this in? |
I believe as soon as the helper solutions are ready on the guide we are good to go. |
Are we at the point I should add the solutions to this PR? |
91ad46b
I think this is actually blocked until freeCodeCamp/boilerplate-advancednode#25 lands? |
No, this needs to get in first, and once it hits production - we can merge that PR @naomi-lgbt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, this looks good. The tests all pass with Shaun's solutions (and the updated boilerplate), and I don't see any issues with the copy.
Sorry I wasn't able to see all of the avancement on this PR before today. I also wanted to thanks @moT01, @ShaunSHamilton, @scissorsneedfoodtoo and all the contributors. |
Checklist:
Update index.md
)main
branch of freeCodeCamp.Closes #XXXXX
I notice that for the moment the curriculum have a little coherency issue starting at github authentication. In reality at the start of the project we set up our strategy with the
username
property for example when we register an user using the form the curriculum will push us to use :As you can see we use
username: req.body.username
then we also use that to display content on profile.pug. In realityusername
property are use since start until the github authentication. In fact for github authenticationusername
property are not set up so later with socket we usename
instead ofusername
this lead to an issue where if we login with something else than github the name will be undefined for the chat app and not be displayed.This is why I propose some change inside the curriculum in order to add the
username
property when a user use github in order to register himself and edit the next step so the challenge guideline will push the learner to use the username instead of the user. To make it properly work either it's with simple register form, login with or without github