-
Notifications
You must be signed in to change notification settings - Fork 0
Edit Profile Page: Enter your info!
Now, as a competitive sports player, it's time to add our info to find other people with potentially similar sports interests!
There are many fields that the user can choose to enter, but be sure to fill all the fields!
- Biography should be a string of at least one character.
- Password should be a string of at least 8 characters (Enter your original password if you like, change it to a new one if you want!)
- Enter a valid, specific address. The more specific, the better. An example of a good address is: "330 De Neve Drive, Los Angeles, CA 90024".
- Enter your gender. There are three options: "Man", "Woman", and "Other".
- Enter your best sport. Since this app is likely used for competitive sports, users will likely want to compete in their best sports. Choose the best sport out of "Basketball", "Tennis", "Soccer", "Badminton", "Baseball", "Sprinting", "Volleyball", and "American Football".
- Enter your skill level in your best sport, on a scale of 1 to 10. A 10 refers to an expert within the game, while a 1 refers to a complete beginner. A 5 is around the skill level of a club or tournament player who has competed before.
- Enter the times you are available for each day of the week to play the sport. This can be entered in a string form (3 pm - 4pm, 6pm -7 pm, 10 am - 11 am). Preferably enter the times you are available in a clear way so others can see your availability and join a one on one game with you based on your availability.
Here is a good view of the top section of the profile filled out correctly:
And here is a good view of the bottom section of the profile filled out correctly:
Make sure that you input all information for the profile on this page! If an empty string is inputted, that will be inputted to the server. Since this page is the "edit profile page", make sure that you enter all the information you want to represent your account as, even if you've entered it in the sign up step or earlier! We feel this is important because in order to use this app to the fullest, you would need to enter all the information necessary so you become visible to other users.
If the "Submit" button is clicked, all information will be saved in our database, and your profile should be updated if you visit the "view profile" page. You will also be redirected to the home page.
If the "Cancel" button is clicked, all information will not be saved in the database, and you'll be redirected to the home page.