-
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
[Fix] Composer text and icon not aligned center vertically for native app #12669
Conversation
@Julesssss @Santhosh-Sellavel One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Looking good, but it would be good to show the padding in the screenshots, and maybe some with multiple lines of text. |
@Julesssss Updated |
Screen RecordingDesktop & WebScreen.Recording.2022-11-13.at.9.09.00.PM.movNative Android & iOSScreen.Recording.2022-11-13.at.9.13.38.PM.movmWeb Android & iOSScreen.Recording.2022-11-13.at.9.21.11.PM.mov |
Reviewer Checklist
|
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.
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.
Looking great, but would you mind adding a couple of comments to the styles, to try and prevent further regressions.
@trjExpensify here are the comments I have suggested we add to help avoid regressions here. Shall we also figure out the Test rails case now? I'm thinking something like:
Note: I added this to the test steps |
Add Comments to prevent regressions
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.
Perfect, thank you!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Jules, for the regression test, they look largely good but I think we use "verify" instead of "check" as that's how they are all generally written and followed by Applause. I think we add it to the Compose Box - Text Input existing test case, I've created an issue here. |
Ideal, thanks for updating and creating. |
🚀 Deployed to staging by @Julesssss in version: 1.2.28-0 🚀
|
🚀 Deployed to staging by @Julesssss in version: 1.2.28-0 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.2.28-2 🚀
|
Details
paddingTop
andpaddingBottm
instead ofpaddingVertical
will fix issuepaddingVertical: 6
add2px
extra to topFixed Issues
$ #10202
$ #10202 (comment)
Tests
QA Steps
Run the above tests!
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting 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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting 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
have been tested & I retested again)/** 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)Screenshots
Web
1 line
2 lines
3 lines
Mobile Web - Chrome
1 line
2 lines
3 lines
Mobile Web - Safari
1 line
2 lines
3 lines
Desktop
1 line
2 lines
3 lines
iOS
1 line
2 lines
3 lines
Android
1 line
2 lines
3 lines