-
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
Fix alignment issue in zoom knob when uploading avatar #17347
Fix alignment issue in zoom knob when uploading avatar #17347
Conversation
not sure what went wrong here @mountiny |
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.
Adding myself as reviewer
@PankajAS you have to link the issue with a full link |
@PankajAS Thanks, this is for future reference, you have to have it right when the PR is ready for review, then it will assign the correct reviewers |
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.
Thanks for the PR!
Please fill the details, tests and offline tests section. You can mention same as online if it is not related to offline.
Also, I think there is no need to mention issue number in PR title and it can be more meaningful and relatable, For example: "Fix alignment issue in zoom knob when uploading avatar"
Updated @MonilBhavsar , please check |
Thanks!
|
Updated @MonilBhavsar |
@MonilBhavsar we can merge pull request today |
As this is a UI Improvement, @Expensify/design does this look good? |
Reviewer Checklist
Screenshots/Videos |
@Santhosh-Sellavel i have updated changes, check now |
Looks good to me! |
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 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 staging by https://github.com/MonilBhavsar in version: 1.3.2-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.2-5 🚀
|
Details
In order to vertically center the Knob, I removed the top style property and set justifyContent: 'center'. As for horizontally centering the rotation button, I removed its height property to prevent overflow.
Fixed Issues
$ #16091
PROPOSAL: #16091 comment
Tests
Offline tests
same as online
QA Steps
Check that knob is aligned in center with the slider, and slider, knob and rotate button are aligned inline
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Untitled.2.mp4
Mobile Web - Chrome
AndroidChrome.mp4
Mobile Web - Safari
Untitled.6.mp4
Desktop
Untitled.4.mp4
iOS
Untitled.5.mp4
Android
AndroidNative.mp4