Integrate BE for Manager McTest feature#57171
Conversation
…to integrate-be-manager-mctest
…to integrate-be-manager-mctest
…thod to read local recipt
…to integrate-be-manager-mctest
…ted to marking transactions as paid elsewhere
…to integrate-be-manager-mctest
…to integrate-be-manager-mctest
…to integrate-be-manager-mctest
| height={32} | ||
| width={32} |
There was a problem hiding this comment.
Don't we have constants for this?
There was a problem hiding this comment.
I am not sure I didn't add this 😅 I just moved this component
|
@DylanDylann 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] |
|
And I believe we have a margin of 28px around the whole thing, so it would be 28px away from the left and right edges of the RHP. |
| }; | ||
|
|
||
| return shouldShowTestReceiptTooltip ? ( | ||
| <EducationalTooltip |
There was a problem hiding this comment.
Why do you remove EducationalTooltip here?
There was a problem hiding this comment.
this is moved to IOURequestStepScan screens, but lets wait until this #57480
|
@kubabutkiewicz Could you help to merge the latest main because we merged #57480? Many thanks |
|
Start on reviewing again |
|
We can ignore ios ^ its a cache issue |
|
I can't get past this Mar-13-2025.16-19-01.mp4 |
|
We are held on final QA -> #57554 (comment) |
|
@kubabutkiewicz The date looks wrong Screen.Recording.2025-03-14.at.10.49.21.mov |
|
@kubabutkiewicz @grgia After receiving the BE response, the request currency changed to local currency. Should we need to adjust the currency on the optimistic data? Offline
Online
|
…to integrate-be-manager-mctest
|
@DylanDylann if its only the report total, we can match the typical IOU flows for scan receipt currencies |
|
@kubabutkiewicz could we fix the date? |
|
@grgia @DylanDylann About date, I think this is what is happening for every scan receipt, so for optimistic date for scans its using current date, do we want to change it for scans to manager mc test? I posting screens for using my own receipt |
|
@kubabutkiewicz let's leave as is in that case! |
|
conflicts? |
|
We CPd the scan fix btw |
…to integrate-be-manager-mctest
…to integrate-be-manager-mctest
|
@grgia conflicts resolved |
|
@grgia I think this PR is fine to merge |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@kubabutkiewicz Any QA steps for this? |
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.1.14-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.14-5 🚀
|
|
|
||
| const {shouldShowProductTrainingTooltip, renderProductTrainingTooltip} = useProductTrainingContext( | ||
| CONST.PRODUCT_TRAINING_TOOLTIP_NAMES.SCAN_TEST_TOOLTIP, | ||
| !getIsUserSubmittedExpenseOrScannedReceipt() && Permissions.canUseManagerMcTest(betas) && isTabActive, |
There was a problem hiding this comment.
You have not checked for screens where we don't want to show this tooltip, which caused #58959
| total: isTestReceipt ? CONST.TEST_RECEIPT.AMOUNT : iou.report?.total, | ||
| currency: isTestReceipt ? CONST.TEST_RECEIPT.CURRENCY : iou.report?.currency, | ||
| lastActionType: CONST.REPORT.ACTIONS.TYPE.MARKED_REIMBURSED, | ||
| statusNum: CONST.REPORT.STATUS_NUM.REIMBURSED, |






Explanation of Change
Fixed Issues
$ #55069
$ #55070
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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.mp4
Android: mWeb Chrome
iOS: Native
ios.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4