-
Notifications
You must be signed in to change notification settings - Fork 81
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
Teacher registration form missing JavaScript elements when invited to school #2304
Comments
@faucomte97 I'd love to work on this, I'm done setting it up and it's running successfully on my machine, I'll get started on the issue right away. |
I'm not getting the email verification link to register a new account, checked everywhere and tried to create multiple accounts using different gmail id's, still couldn't get the verification link. Any suggestions on what I might have to do will greatly help. I need to be able to login in order to reprodouce the bug. |
Hi @besque, thanks so much for picking this task up! No worries - when performing the registration process locally, no email actually gets sent out to your address. Instead, the contents of the email get outputted in your terminal. This is where you'll be able to find the verification link. If you copy and paste it in your browser, then you should be able to log in 🙂 Let me know if it doesn't work or if I can help with anything else! |
Hey! @faucomte97, thank you for replying.. I tried to look for it in the terminal output but the email content just says dummy_text_content. I wasn't able to find any sort of link in terminal output so is there anything else I can do? The mail looks like this in the terminal - Please have a look, Thank you! |
Hi @besque, Could you please tell me which directory you're running the local server from? I'm not 100% sure, but given that you are on the "main" branch, I'm guessing that you are running this from the Then, if you run Let me know if that works, otherwise we can keep digging 🙂 |
Hey @faucomte97, I can confirm I had been running it exactly how you described, but just to make sure I created the virtual environment again in /codeforlife-workspace/codeforlife-portal and ran it. I still get the exact same output as the before :( Please let me know how I can go about this, Thanks! |
Hey @besque, Would you be able to provide a screenshot of your whole VS code window? Ideally from before you run Thanks! |
Hey @faucomte97, Please let me know if you need me to share anything else that would be helpful, Thanks! |
Aah, I think I know what went wrong. Referring back to step 5 of our docs: Can you confirm which command you ran? If that is what happened, you'll need to ensure you fork the main workspace repo then run the bottom command Let me know if that works 🙂 |
Additional point: if you've already forked the workspace repo, please sync it now with the latest changes we have just released - we've improved the setup script so it is clearer and forks & clones the submodules more successfully. |
Ah I do remember going through that, and I made sure not to use the clone command in the yellow box. I had forked the codeforlife-workspace repo and used the normal clone command. As you mentioned, I'll sync it with the latest changes and I'll try again. |
Hey @faucomte97, I synced the fork, pulled it, and deleted any previous virtual environments, created a new one using Here are some attached screenshots. Not sure how to get around this, Please let me know if there's anything I can do, Thank you lots! |
Hi @besque, I'm really sorry this seems to be an issue on our end actually! Sorry we should've caught this sooner. In the meantime, I recommend the following:
Does that make sense? Sorry again about the email issue. Happy to help if you have any other questions |
Hey @faucomte97, No problem, I'll try to look for the code that's responsible for this and force it to return true temporarily, or any other workaround if that doesn't work. Thanks again for the help! I'll keep you updated :) |
hey @faucomte97, I finally got around the email verification problem and also a similar problem I faced while accessing the teacher invite link. I've gone ahead and made appropriate changes and the teacher invitation registration form should work as intended now. Please review my PR and let me know! |
Hi @besque, That's awesome news, thank you! I've approved the pipeline runs and will start reviewing your PR ASAP, however in the meantime, could you please go ahead and 1) read through our Contributor Agreement and 2) follow the steps just below the agreement to become a verified contributor. It is required for us to merge in your PR 🙂 Let me know if you have any questions 😃 |
Hey @faucomte97, I've added my email id according to the contributor agreement |
Hi @besque, Perfect, I've just reviewed that and you should've now received an email, once you reply to that you will be an official Code for Life contributor 🥳 |
Hey @faucomte97, Awesome! I've replied to the mail :) |
Hi @besque, Sorry just one last thing, would you also be able to forward your reply to [email protected]? That'll be the last step, promise! 😅 |
No problem 😄 I've forwarded it to [email protected] |
Hey @besque, Congrats, you are now an official Code for Life contributor 🥳 |
Hey @faucomte97, I've updated the PR, hopefully the tests pass now 🙂 |
Hi @besque, Thanks for your work on this task! I've approved and merged in your PR 🥳 🙏🏻 |
Hey @faucomte97, I'm glad I could contribute 😄 Thank you so much for your patience and help! ✨ |
LGTM on staging. @lauracumming If LGT you too I can go ahead and deploy to prod. |
LGTM |
1 similar comment
LGTM |
LGTM - production |
LGTM |
Describe the bug
When a teacher is invited to join a school, they receive an email prompting them to finish the registration process - they just need to provide a password.
However, for some reason, the registration form at that stage is missing some JS elements like the reveal password icon as well as the password strength checker.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The form should allow the teacher to view their password as well as inform them regarding their password's strength, similarly to the main registration form.
Screenshots
Good Places to Start
Note that the template already includes the
passwordStrength.js
file, but my guess is that because the template doesn't have all the HTML elements thatregister.html
has, the JS code throws an error and doesn't run properly.The text was updated successfully, but these errors were encountered: