Do not show dualdropzone on approved requests#65264
Do not show dualdropzone on approved requests#65264lakchote merged 20 commits intoExpensify:mainfrom
Conversation
…eipt on single transaction
|
I've started reviewing, and in web everything seems fine in initial testing: MacOS: Chrome / SafariScreen.Recording.2025-07-02.at.13.18.15.movBut getting deeper it seems like there are several bugs that we're dealing with here. I can continue reviewing, but maybe @getusha has more context. What do you think @getusha? Thanks. |
|
yeah, maybe @getusha or @shubham1206agra could review this PR? cc @lakchote |
|
Assigning @getusha as they have the most context on this |
|
@koko57 prettier is failing |
|
fixed |
|
@getusha could you please take this PR if you'll be still waiting on fixes for Stage 5 PR? |
I may be missing something, but couldn't we do for instance:
|
|
@koko57 typescript checks are failing |
|
@lakchote typecheck fixed |
|
@DylanDylann conflicts resolved, comments addressed |
|
@koko57 GH actions are failed |
|
@DylanDylann Eslint fixed, I've added the prop to the ReportFooter in MoneyRequestReportView earlier |
|
@DylanDylann I've changed the dropzone title to Replace Receipt for transaction views as per this conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1752000301663539 |
|
@DylanDylann could you please proceed with the review? If there are some small improvements or NABs, please leave a comment here #65722 - it'll be fixed in a follow up. |
Yes, as @koko57 said, @DylanDylann please proceed with the rest of the review. If there any improvements or NABs, we will do them in the follow-up issue. The goal is to have momentum so that we can have it live as soon as possible. |
|
Finish on 30 mins |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariUploading Screen Recording 2025-07-09 at 23.38.43.mov… MacOS: DesktopScreen.Recording.2025-07-09.at.23.40.02.mov |
|
✋ 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/lakchote in version: 9.1.79-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.1.79-11 🚀
|
| const shouldAddOrReplaceReceipt = (isTransactionThreadView || isSingleTransactionView) && !isDistanceRequest(transaction); | ||
|
|
||
| const isEditingReceipt = isTransactionThreadView && transactionID && hasReceipt; | ||
| const shouldDisplayDualDropZone = useMemo(() => { |
There was a problem hiding this comment.
Coming from #66643.
We should exclude isChatRoom and isGroupChat, same as the previous condition. Otherwise, it will display dual zone in group chat and chat room.



Explanation of Change
Fixed Issues
$ #63807
$ #63312
PROPOSAL: -
Tests
PREREQUISITES: all betas / newDotMultiFilesDragAndDrop beta enabled
ONLY ON WEB / DESKTOP
FIX #63807
FIX #62650 (comment)
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
same as above
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop