You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-03-24] [$1000] Feature request: Allow for dragging and dropping a receipt file onto the expense without having to first click into the graphic. #53089
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.
Version Number: 9.0.66-3 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by:@mallenexpensify Slack conversation (hyperlinked to channel name): ts_external_expensify_open_source
Action Performed:
Create a manual expense
On submit expense page attempt to drag and drop a receipt
Expected Result:
User able to drag and drop receipt
Actual Result:
User have to click it first then add the receipt and unable to drag and drop
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️
optionally we can move that inside the ReceiptEmptyState itself so that we can have the same behaviour in the money request view as well
in acheive that we need to add a new prop onDrop that will be called on the drop inside the DragAndDropConsumer
then when calling the ReceiptEmptyState we should call the same function that is used in the scan (setReceiptAndNavigate) however this function navigates to the confirmation page again as show here which is not needed so to avoid that we can split it into two functions one will return the receipt and the other will set and navigate and we should use set receipt in this case.
also the same drag and drop stylings can be used from the scan ReceiptDropUI and the drag provider inside the StepScreenDragAndDropWrapper
What alternative solutions did you explore? (Optional)
@dylanexpensify the payment summary here is incorrect since the issue had been bumped to $1000. Could you please assist in making the correct payments since @mallenexpensify is ooo?
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.
Activity
melvin-bot commentedon Nov 25, 2024
Triggered auto assignment to @strepanier03 (
NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.melvin-bot commentedon Nov 25, 2024
melvin-bot commentedon Nov 25, 2024
Triggered auto assignment to Design team member for new feature review - @shawnborton (
NewFeature)abzokhattab commentedon Nov 25, 2024
Edited by proposal-police: This proposal was edited at 2024-11-25 22:12:40 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Allow for dragging and dropping a receipt file onto the expense without having to first click into the graphic
What is the root cause of that problem?
New Feature
What changes do you think we should make in order to solve the problem?
we should embed the empty receipt component in the
MoneyRequestConfirmationListFooterwithDragAndDropProviderandDragAndDropConsumerApp/src/components/MoneyRequestConfirmationListFooter.tsx
Lines 644 to 651 in d5e8710
similar to how it's done in the
ImportSpreadsheetApp/src/components/ImportSpreadsheet.tsx
Lines 165 to 185 in 8d3f1db
optionally we can move that inside the
ReceiptEmptyStateitself so that we can have the same behaviour in the money request view as wellonDropthat will be called on the drop inside theDragAndDropConsumerReceiptEmptyStatewe should call the same function that is used in the scan (setReceiptAndNavigate) however this function navigates to the confirmation page again as show here which is not needed so to avoid that we can split it into two functions one will return the receipt and the other will set and navigate and we should use set receipt in this case.ReceiptDropUIand the drag provider inside theStepScreenDragAndDropWrapperWhat alternative solutions did you explore? (Optional)
mkzie2 commentedon Nov 25, 2024
Edited by proposal-police: This proposal was edited at 2024-11-25 22:31:37 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
User have to click it first then add the receipt and unable to drag and drop
What is the root cause of that problem?
Feature request
What changes do you think we should make in order to solve the problem?
Replace
ScreenWrapperwithStepScreenDragAndDropWrapperand useReceiptDropUIsimilar toIOURequestStepScanApp/src/pages/iou/request/step/IOURequestStepScan/index.tsx
Line 765 in e08c53a
App/src/pages/iou/request/step/IOURequestStepScan/index.tsx
Lines 774 to 776 in e08c53a
StepScreenDragAndDropWrapperto configureHeaderWithBackButton(threeDotsMenuItems-related)validateReceipthere which returns the error message if anysetReceiptAndNavigatehere to util file.The overall code change might be like this:
shawnborton commentedon Nov 25, 2024
This seems pretty straightforward to me, perhaps we can just reuse the same styles we get when you go to upload a receipt from the Scan flow?
138 remaining items
Ollyws commentedon Mar 29, 2025
@mallenexpensify was the price of this not bumped to $1000 (#53089 (comment)) or was that in error?
melvin-bot commentedon Apr 1, 2025
Triggered auto assignment to @dylanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.luacmartins commentedon Apr 1, 2025
@dylanexpensify the payment summary here is incorrect since the issue had been bumped to $1000. Could you please assist in making the correct payments since @mallenexpensify is ooo?
dylanexpensify commentedon Apr 2, 2025
@luacmartins yes!
dylanexpensify commentedon Apr 2, 2025
Done!
Ollyws commentedon Apr 2, 2025
Requested on ND.
garrettmknight commentedon Apr 10, 2025
$1000 approved for @Ollyws
garrettmknight commentedon Apr 22, 2025
$1000 approved for @shubham1206agra