Add primary receipt scan option on mobile and web - v2#72714
Conversation
…ipt-scan-option-2
|
@ZhenjaHorbach 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] |
|
Actually, about this issue I suppose it's expected that we skip a recipient list after choosing for the first time and returning back
2025-10-15.18.44.34.mov |
Reviewer Checklist
Screenshots/Videos |
| const platform = getPlatform(true); | ||
| // We want to display the floating camera button on mobile devices (both web and native) | ||
| const shouldShowFloatingCameraButton = platform !== CONST.PLATFORM.WEB && platform !== CONST.PLATFORM.DESKTOP; | ||
|
|
There was a problem hiding this comment.
Shouldn't shouldUseNarrowLayout be used for this purpose (mobile screens = narrow layout), or I'm missing something?
There was a problem hiding this comment.
You can also have a narrow layout on desktop/web, but we only want this to be shown on devices that have cameras - so narrow devices that are not desktop/web
|
@ZhenjaHorbach updated the test steps |
|
Looks like this issue is still reproducible 2025-10-15.19.01.41.mov |
I'm checking! |
Thanks |
|
@ZhenjaHorbach can you test again? |
|
Okay 2025-10-15.19.15.59.mov |
|
LGTM! |
|
✋ 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/mountiny in version: 9.2.32-0 🚀
|
|
Hello @JKobrynski @mountiny , QA team found issue about Expense shortcut does not appear in bottom menu when app is resized (Reproduce in both web and desktop) . Is this expected behavior, or should we create a new issue for it? Bug6976280_1760591165427.Button_disapears.mp4 |
|
@mitarachim yes, it was agreed on Slack that we want to keep it this way for now and we are going to add the same receipt button as a floating button (similar to the mobile one) in a follow-up. Hope that helps! |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.32-6 🚀
|




Explanation of Change
This PR reintroduces changes that were originally implemented in #72236 and reverted in #72690. It also fixes #72616 #72617 #72621 #72624 #72638 #72646
Fixed Issues
$ #72030
PROPOSAL: N/A
Tests
#72030
#72616
#72617
Precondition:
#72621
#72624
Log into the app (mobile web)
Create a new workspace
Observe the scan button on workspace page
Make sure that you can scroll up if the button overlaps with "Go to workspace" chevron
#72638
Precondition:
2.Click the expense shortcut button.
#72646
Offline tests
N/A
QA Steps
Same as Tests section above.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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