-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[User Settings] Add new Profile view #1767
[User Settings] Add new Profile view #1767
Conversation
@shawnborton updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments, I think the first way of approaching the self-select
option @Maftalion is good.
This might be slightly outside the scope of this particular PR @shawnborton but it seems awkward to me that after clicking Save
in the profile section that nothing happens to indicate the details were actually saved. I feel like we should give the user a small pop-up like User details updated!
and it can just be added as a callback from the updatePersonalDetails
method.
Visually this looks good to me, will leave the code review for @nickmurray47 |
@nickmurray47 updated
I brought this up in the proposal as well, sounds like it will be covered with follow-up work #1711 (comment) |
Oh nice! Missed this comment, thanks for the clarification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great @Maftalion!
Think there was a weird GH bug yesterday, going to re-run the checks @Maftalion so we can get unblocked on this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking really great. Left som minor comments and style suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than a couple minor color alterations, this is looking great 🎉 Will re-review once those are updated and conflicts are resolved.
@NikkiWines @michelle-thompson @Maftalion I wanted to get your thoughts on some things quickly: Do we think the Save button should be fixed to the bottom of the profile view? Can we conditionally show the save button? |
Yeah, I like the idea of disabling the button until changes are detected. Since we'll also eventually add in-line buttons with the same behavior, this would make things more consistent too! |
I do think we should fix it to the bottom and make the profile scrollable. This is helpful for users with smaller screens too.
I don't really think we should do this. For the password page, it makes sense to have the Overall, I think it adds complexity for no real reason. |
Since this issue is holding up a couple of other ones, maybe we could think about a conditionally enabled safe button as a v2? I'd like to get this one out asap if possible. |
Both variants seem fine, I think the main thing is being consistent across the app. Do we think the Save button should be fixed to the bottom of the profile view? Can we conditionally show the save button? PS. I've been replicating the button behavior on the change password screen (it's been merged recently) so if we change it here, we should probably update that screen as well. |
Cool, so sounds like fix the button to the bottom, and use a disabled button instead of show/hide. I like it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM rn, and it sounds like it'd be best for those additional UI updates to be in v2, right @NikkiWines?
I guess it depends on how quickly @Maftalion can make those changes. @Maftalion, is that something you think you can handle today? If not maybe we can make a follow-up issue to implement this. |
I can prob get to it later today, just a couple of questions.
|
If you go to create a new group in Expensify.cash, you will see the behavior we want for the fixed button. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two minor comments -- looks great overall! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and tests well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one minor comment, also you have conflicts.
# Conflicts: # src/CONST.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 🎉 Going to merge since Nick approved previously
Details
Fixed Issues
Fixes https://github.com//issues/1711Tests
Tested On
Video
Screen.Recording.2021-03-13.at.1.44.57.PM.mov
Web
Mobile Web
Desktop
iOS
Android