kossiitkgp / kwoc-2018

Web app for Kharagpur Winter of Code, 2018
https://kwoc.kossiitkgp.org
MIT License
0 stars 0 forks source link

Update Registration Page #60

Closed thealphadollar closed 5 years ago

thealphadollar commented 5 years ago

We've reached a point where Github login is working perfectly and we need to move onto student registration. Here is the proposed method:

Here is the list of Indian colleges: https://www.4icu.org/in/indian-universities.htm

[WHAT TO DO] Once the details from github has been fetched, under the condition that user is already present do not send him to registraion page and redirect him to dashboard directly. If the user is not present, direct him to the registration page and prefill the details we've got such as github username, email, avatar url etc.

One more thing is that here only the list of colleges is to be provided as a drop down and once it's selected update the university stats which is currently being done in kwoc/app.py itself.

Once the student has filled all the details; update the dictionary associated with the user (UPDATE gh_login/gh_login_students.json ONLY) with new keys for the additional details.

@yashrsharma44 Since you are most familiar with the above work, if you've time please do this. We already have the registration page and thus it shouldn't take much time. @xypnox If there are some design improvements needed in registraion form please suggest.

yashrsharma44 commented 5 years ago

@thealphadollar Do we have the registration page ready?

thealphadollar commented 5 years ago

@yashrsharma44 We will also keep an option to add university if it is not present in the dropdown and then add this university to the list.

themousepotato commented 5 years ago

@thealphadollar @yashrsharma44 I'm working on adding an option to choose a college.

thealphadollar commented 5 years ago

Fixed via #63