Closed YavizGuldalf closed 2 weeks ago
As the reviewer of these two issues, I've added some comments on the code.
The User Level on the profile is clickable. If this is unintentional, it should be fixed to be non-pressable.
The text and background colors of the Edit Profile section should be adjusted for better visibility.
I'm not sure if this is intentional, but when I navigate to the "Other Profile" view, the title appears as shown in the screenshot below. It should be corrected if unintended.
@aoengin, I have made the changes you requested. Specifically,
You can find screenshots of the changed pages below:
The About Me section expands indefinitely when a user types, making the button and other sections unreachable after a certain point. The edit profile page having a resizable 'About Me' input box was intentional. That page is scrollable so every item can be viewed, as you can see in the screenshots.
Can you please review these changes?
Thanks for the changes.
You can change the text color to white.
That page is scrollable so every item can be viewed, as you can see in the screenshots.
It's unnecessary and does not appear professional. Please try entering an example description in the quiz creation settings.
Thanks for the changes.
You can change the text color to white.
That page is scrollable so every item can be viewed, as you can see in the screenshots.
It's unnecessary and does not appear professional. Please try entering an example description in the quiz creation settings.
Okay, the 'Edit Profile' button's style has been changed to be the same as the ones in the edit profile page. Also, the 'About Me' section of the edit profile page now has a fixed height and a character limit (120 chars). I have also added a 40 char limit to the name field and fixed its height
I guess it's okay to have a character limit, but why didn’t you make it the same as the description part in the quiz settings? I already suggested that.
Please try entering an example description in the quiz creation settings.
I guess it's okay to have a character limit, but why didn’t you make it the same as the description part in the quiz settings? I already suggested that.
The main reason why I put a character limit was so the profile page wouldn't look weird if the user tried to enter a really really long "About Me". Without a limit they could write so many characters that it would be unreasonable to display it in their profile. Of course, 120 may not be the appropriate number for the 'About Me' section (it can be lower or higher, it's up for debate), but I think having a character limit on almost all of our inputs is good practice.
Please try entering an example description in the quiz creation settings.
I don't think I quite understand what you mean by this. The "Description" input part in the quizCreationSettings page looks like the following:
<TextInput
style={[styles.input, styles.descriptionInput]}
placeholder="Enter quiz description"
value={quizDescription}
onChangeText={setQuizDescription}
multiline={true}
/>
...
styles = StyleSheet.create({
input: {
backgroundColor: '#E8E8E8',
borderRadius: 10,
padding: 10,
fontSize: 16,
marginBottom: 20,
},
descriptionInput: {
height: 100,
textAlignVertical: 'top',
},
...
Do you want me to use the same style props with multiline
set to True?
This PR includes a plethora of changes related to the mobile app. You can find a full list of changes below:
Fixes the Issues #466 and #467.