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

Finish signup validation #25084

Merged
merged 14 commits into from
Sep 28, 2018
Merged

Finish signup validation #25084

merged 14 commits into from
Sep 28, 2018

Conversation

maddiedierker
Copy link
Contributor

Lots of little style/UX tweaks, so I'm going to list them all out:

  • Remove scrollable/printable terms of service (woohoo! approval from @poorvasingal and our lawyer on this)
  • Remove gender dropdown for teachers
  • Change email preference dropdown to radio buttons
  • If user type is supplied on page load, show appropriate student/teacher form
  • Don't show required indicators (*) next to any school info fields
  • Fixed: terms of service choice was being supplied twice during POST /users
  • Display and style errors

Student form with errors

screen shot 2018-09-27 at 3 51 12 pm

Teacher form with errors

screen shot 2018-09-27 at 3 51 02 pm

Copy link
Contributor

@islemaster islemaster left a comment

Choose a reason for hiding this comment

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

🎉 This looks awesome!

renderSchoolInfo();
init();

function init() {
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the advantage of init() here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

once i added a second step on page load (setUserType and renderSchoolInfo), i figured it would be cleaner to just make a method

@maddiedierker maddiedierker merged commit c9c3389 into staging Sep 28, 2018
Copy link
Member

@breville breville left a comment

Choose a reason for hiding this comment

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

Great work!

@maddiedierker maddiedierker deleted the finish-signup-validation branch October 29, 2018 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants