fix: Incorrect numpad horizontal padding on the native and mweb devices.#38542
fix: Incorrect numpad horizontal padding on the native and mweb devices.#38542mountiny merged 5 commits intoExpensify:mainfrom
Conversation
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
|
@abdulrahuman5196 Please 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] |
|
cc @Expensify/design can you please double check? I mean this PR should fix the tax value modal to mach request money |
|
They look identical to me, but is there a reason why the offline indicator is in a separate spot? Let's fix that by putting it in the same spot. I prefer the "tax numpad" placement, but given the "request money numpad" is likely canonical, I'd say use that as the guide. |
|
@Krishna2323 Can you look into that too? |
|
updating in a hour. |
|
Good catch @dubielzyk-expensify! |
|
@mountiny, I need sometime to investigate the other issue, it seems like the modals (pickers) doesn't take the full height. |
|
@shawnborton @dubielzyk-expensify, could you please confirm which of them is expected? It seems like the tax amount form isn't the expected one since we display the offline text at the very bottom of the page on almost every page. |
|
Hmm, hard to say. Perhaps the version on tax is correct because it has the correct amount of space for the safe area above the iOS home bar? Or perhaps the request money flow has that gap there for form validation? |
|
Seems we need to confirm if the screenshots added are accepted from design. Will continue review once the same is done. |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
|
Hey @mountiny, @shawnborton @dubielzyk-expensify @abdulrahuman5196, I've been diving deep into the code and stumbled upon something interesting. So, there's this component called While checking things out, I noticed that the submit buttons/forms within modals don't have enough bottom padding in offline mode. Took a closer look and found out that most forms, including
|
|
This is awesome investigation, @Krishna2323 👏 ! I definitely think we should apply Here's my take on what it should ideally look like: Which gives us with some outlines: I'm not sure what the spacing is on our offline component at the moment though? Keen to hear what @Expensify/design thinks before we go and change anything |
|
Yeah, I like Jon's mocks above as it reduces the extra space below the green button and above the offline indicator. |
|
Same here. I like what Jon has proposed. |
|
@mountiny, I believe the above issue will require a lot of changes and testing. Can we create a new issue for the second design bug with a regular bounty? I've already spent a lot of time on investigation. |
|
@Krishna2323 Alright, can you prepare only the horizontal problem fix in this PR and we will look into the rest on separate issue for $250. |
|
@abdulrahuman5196 can you complete the review on this one please? |
|
@mountiny sure, Thanks! |
|
Checking now |
|
@Krishna2323 The horizontal padding is fixed. But I am now seeing more padding between numpad and the action button and with action button and bottom. The space is high compared to request money and as well as pre-existing padding. Screen.Recording.2024-04-01.at.5.17.09.PM.mov |
|
Good catch @abdulrahuman5196 - I agree with that |
|
@Krishna2323 can you please address this comment? |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
|
@abdulrahuman5196 thanks for the testing. I mistakenly added vertical margin while fixing the second issue. Pushed the updated code. |
|
@abdulrahuman5196 can you please complete the testing and checklist on this one? |
|
Hi, will check in an hour. |
Reviewer Checklist
Screenshots/Videos |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @mountiny
🎀 👀 🎀
C+ Reviewed
|
@dubielzyk-expensify @shawnborton do you want to give this a final approval before I merge it? |
dubielzyk-expensify
left a comment
There was a problem hiding this comment.
Looks good on the design end. Good work!
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.61-0 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.61-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.61-8 🚀
|



















Details
Fixed Issues
$ #38523
PROPOSAL: #38523 (comment)
Tests
Savebutton.Offline tests
Savebutton.QA Steps
Savebutton.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop