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

Implement settings - edit profile #54

Merged
merged 7 commits into from
Jun 13, 2020
Merged

Implement settings - edit profile #54

merged 7 commits into from
Jun 13, 2020

Conversation

emily-zhu
Copy link
Contributor

Overview: Implement edit profile capabilities --> connected to Firebase

Screenshots:
Screen Shot 2020-06-13 at 11 50 48 AM
Screen Shot 2020-06-13 at 11 50 58 AM
Screen Shot 2020-06-13 at 11 51 07 AM
Screen Shot 2020-06-13 at 11 51 19 AM

Edited screens:
• hub_screen: implemented UI + backend for editing profile under 'Profile' --> 'Settings' tab

New widgets:
• EditFormField: TextField for editing profile

Edited data models:
• User: added phoneNumber instance variable

New assets (1):
• edit_button.png

@emily-zhu emily-zhu linked an issue Jun 13, 2020 that may be closed by this pull request
Copy link
Contributor

@shalandy shalandy left a comment

Choose a reason for hiding this comment

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

I'm getting this error on the following data :( (see below, password: test123)

I looked into the code and honestly not sure why user.name seems to be null in this instance, because I saw that you already did make the check of user not being null—my only suggestion is maybe try using the getName() function from the User class? Although I wouldn't be sure why it seems to be working on your end with the same code/maybe cached somehow 😮 feel free to try on my sample account

Screen Shot 2020-06-13 at 12 46 46 PM
Screen Shot 2020-06-13 at 12 55 30 PM

@shalandy shalandy self-requested a review June 13, 2020 20:26
shalandy
shalandy previously approved these changes Jun 13, 2020
Copy link
Contributor

@shalandy shalandy left a comment

Choose a reason for hiding this comment

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

ACTUALLY just reran with resetted data and lgtm !!
idk if matters much but with a longer name it kinda pushes stuff down so i got this but its not that urgent lol maybe set maxchars for the name/maxheight for the header anytime/later

Screen Shot 2020-06-13 at 1 29 22 PM

Screen Shot 2020-06-13 at 1 29 33 PM

@emily-zhu emily-zhu requested a review from shalandy June 13, 2020 21:37
@emily-zhu
Copy link
Contributor Author

thank you for review!! overflow should be fixed now!

@emily-zhu emily-zhu merged commit 62c89d9 into master Jun 13, 2020
@emily-zhu emily-zhu deleted the settings branch June 13, 2020 23:57
@emily-zhu emily-zhu linked an issue Jun 23, 2020 that may be closed by this pull request
5 tasks
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.

Update profile information Collection Hub: Settings
2 participants