-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Simplify profile avatar setting logic #7789
Conversation
Saw the changes @NikkiWines, yeah this simplified the logic a lot! Thanks for sharing this. |
} | ||
// Check if the user has modified their avatar | ||
if ((this.props.myPersonalDetails.avatar !== this.state.avatar.uri) && this.state.isAvatarChanged) { | ||
// If the user removed their profile photo, replace it accoridngly with the default avatar |
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.
// If the user removed their profile photo, replace it accoridngly with the default avatar | |
// If the user removed their profile photo, replace it accordingly with the default avatar |
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.
oops 😄
LGTM once the spelling is corrected. |
Updated! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by @yuwenmemon in version: 1.1.40-2 🚀
|
Issue 1 - Title - [Medium]: Chrome+Jaws: Screen reader : Status message not announced for screen reader users. 7789_Status.message.is.not.being.announced.by.screen.reader.after.activating.the.Save.control.mp4Issue 2 - Title - [Medium]: Chrome: Insufficient color contrast for form controls. Issue 3 - Title - [High]: Chrome+Jaws : Screen reader: Role not defined for "back" control.
Issue 4 - Title - [High]: Chrome+Jaws: Screen reader: Role is not defined for control.
Issue 5 - Title - [Medium] Chrome: Color Contrast: Insufficient color contrast for 'Save' control. |
@SumitDiyora if possible could you make this a new issue for these bugs following this template so that they can easily be picked up and worked on? Thank you! |
Details
Update to the logic introduced in #7366 and #7785. Simplifies things a bit.
Note that inconsistent
Save
button coloring on web and desktop appears to be an existing regressioncc: @mananjadhav
Fixed Issues
N/A found while looking at this regression #7784
Tests
QA Steps
Same as tests
Tested On
Screenshots
Web
Screen.Recording.2022-02-16.at.16.43.59.mov
Mobile Web
Screen.Recording.2022-02-16.at.17.46.32.mov
Desktop
Screen.Recording.2022-02-16.at.17.43.14.mov
iOS
Screen.Recording.2022-02-16.at.17.23.36.mov
Android
Android device is super slow, will work on getting a video tomorrow