Fix - Update the scanned expense creation flow to allow user to see full receipt - with fix for regression#59166
Conversation
…ow user to see full receipt"" This reverts commit b3ac139.
|
Uploading snapshots.... |
|
Can you quickly summarize why this ended up being a regression too? Just so I know what to look out for when we re-review, thanks! |
|
Confirmation page was also used from SplitDetailsPage which is a page displayed when clicking on the iou action linked to an already created split expense. However, this feature should have only been applied for new expense creation flow so opening receipts from the SplitDetailsPage created regressions here and here. Now I have ensured that this new flow is only applied for new expense creation flow for non distance request. |
|
@brunovjk I couldn't add a receipt on latest main for desktop only. Do u reproduce this bug? 2025-03-26.19-02-07.mp4 |
|
Thank you @FitseTLT. I'm at college now, I will check ASAP |
|
Android native is failing others have been uploaded |
|
Sorry the delay, coming back here today. Let me check |
Reviewer Checklist
Screenshots/VideosAndroid: Native59166_android_native.movAndroid: mWeb Chrome59166_android_web.moviOS: Native59166_ios_native.moviOS: mWeb Safari59166_ios_web.movMacOS: Chrome / Safari59166_web_chrome.mp4MacOS: Desktop59166_web_desktop.mov |
There was a problem hiding this comment.
I'm also having trouble uploading the videos, I'll try again later. But everything looks great to me, good job @FitseTLT.
@Expensify/design do you need to confirm again? If you want to wait, I'll finish uploading the videos today. Thanks.
|
We can wait for the videos to upload, but as long as the UX is the same, we shouldn't have any blocking comments. |
|
Uploaded Android native vid |
|
Update |
|
When you go back from the replace screen (tap the arrow in the RHP header), I assume you just go back to the confirmation screen? Just want to confirm. |
2025-03-31.22-04-30.mp4 |
|
Looks great, let's get this thing merged! |
neil-marcellini
left a comment
There was a problem hiding this comment.
One important question
|
✋ 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/neil-marcellini in version: 9.1.22-1 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.1.22-10 🚀
|
Details
Fixed Issues
$ #58589
PROPOSAL: #58589 (comment)
Tests
Open any chat
Create an expense
Scan a receipt
On the confirmation page, click on the receipt to open the image to see it fully
Verify that Replace and Download options in three dot menu works well
Confirm the expense and verify it is created
Go to staging.new.expensify.com
Go to workspace chat.
Click + > Split expense > Distance.
Enter waypoints > Next.
Submit the distance expense.
Click on the split preview.
Click on the distance receipt.
Verify that a replace menu is not available in a three dot menu
Go to workspace chat.
Click + > Split expense > Scan.
Upload a receipt.
Click Split expense.
Click on the split preview.
Click on the receipt.
Verify Receipt will open in full screen and Not Found page is not displayed
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting 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)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
2025-03-28.18-51-28.mp4
Android: mWeb Chrome
2025-03-27.21-24-02.mp4
iOS: Native
2025-03-27.21-24-44.mp4
iOS: mWeb Safari
2025-03-27.21-26-01.mp4
MacOS: Chrome / Safari
w.mp4
MacOS: Desktop
d.mp4