learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
84 stars 57 forks source link

Streamlining Teacher Registration #3276

Open reneesu99 opened 3 years ago

reneesu99 commented 3 years ago

Currently the Cloud Teach landing page has two options for teachers: "create account" and "register for classes". This causes confusion for teachers since they may both want to create an account and register for classes.

Current: image

Changes: Have one button titled "register for classes". Upon clicking check account status (is there an account, and is it a teacher account?) if yes put them on their teacher landing page. If there is no account, push them to the create account landing page, if the account is a student account give them the current student error. :

image

If user is already in a teacher account: image

If user is in a non teacher account: image

If user has no account: image

willgearty commented 3 years ago

I do believe if you click the "Register for Classes" button and are not logged in, the website should prompt you to log in or to create an account. If you log in and are a teacher, it should take you to the class registration page. If you log in and are not a teacher, you should get the error above. If you create an account, it should take you to the teacher index page (/teach/index.html). The first two behaviors seem to align with what you are describing @reneesu99, but maybe new teacher accounts should be taken to the teacher registration page after creating an account, not the teacher index page?

With respect to the actual buttons that are on the Cloud page, it should be noted that this layout is custom to Cloud, so maybe that is something else for @nrjean or @laurenmaclachlan to work on with @reneesu99 specifically on Cloud.