[Fix] Composer text and icon not aligned center vertically for native app#12669
[Fix] Composer text and icon not aligned center vertically for native app#12669Julesssss merged 2 commits intoExpensify:mainfrom
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 RecordingDetailsDesktop & 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
|
Julesssss
left a comment
There was a problem hiding this comment.
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
|
✋ 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
paddingTopandpaddingBottminstead ofpaddingVerticalwill fix issuepaddingVertical: 6add2pxextra to topFixed Issues
$ #10202
$ #10202 (comment)
Tests
QA Steps
Run the above tests!
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris 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 Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris 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