Repository navigation
Adjust condition to access submit button - #51012
Beamanator merged 3 commits into
Conversation
|
@ikevin127 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] |
|
@cretadn22
♻️ I will be moving forward with the PR Reviewer Checklist but won't be able to 🟢 Approve until the checked checkboxes are actually completed. |
|
@cretadn22 Given the following workflow:
Once the submitter (John Krakauer) posts a new expense, this is how it looks on their side:
This is how things look on the 1st Approver's side (K3vin Brian):
This is how things look on the 2nd Approver's side (kevin.bader96+2@gmail.com):
|
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safariweb.mov |
|
@cretadn22 🟢 I retested the fix again today after the latest sync w/ main and the tests passes now:
web.mov |
|
@ikevin127 I'm experiencing issues with the Android and IOS emulators after updating my MacOS. I'm working on fixing this problem and will upload all the videos soon. |
|
@ikevin127 I completed the author checklist |
ikevin127
left a comment
There was a problem hiding this comment.
Thanks for completing the checklist. LGTM ✅
|
@Beamanator looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Not emergency, all checks were passing :/ |
|
✋ 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/Beamanator in version: 9.0.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
| const shouldShowSubmitButton = | ||
| !!moneyRequestReport && | ||
| isDraft && | ||
| reimbursableSpend !== 0 && |
There was a problem hiding this comment.
coming from #55086 {BZ Checklist}, this might have expected at time of implementation, but we end up removing reimbursableSpend !== 0 and also adding few more cases see: https://github.com/Expensify/App/pull/55610/files#diff-9c07b44e092fd3d975806649be46d76b75a377c16e32ed86597b630a84c290d0 and https://app.slack.com/client/E047TPA624F/C02NK2DQWUX









Details
Fixed Issues
$ #48778
PROPOSAL: #48778 (comment)
Tests
QA steps section
Offline tests
QA Steps
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
Screen.Recording.2024-10-20.at.13.32.11.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-19.at.00.16.11.mp4
MacOS: Desktop