-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$1000] Feature request: Allow for dragging and dropping a receipt file onto the expense without having to first click into the graphic. #53089
Comments
Triggered auto assignment to @strepanier03 ( |
|
Triggered auto assignment to Design team member for new feature review - @shawnborton ( |
Edited by proposal-police: This proposal was edited at 2024-11-25 22:12:40 UTC. ProposalPlease 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 App/src/components/MoneyRequestConfirmationListFooter.tsx Lines 644 to 651 in d5e8710
similar to how it's done in the ImportSpreadsheet App/src/components/ImportSpreadsheet.tsx Lines 165 to 185 in 8d3f1db
optionally we can move that inside the
What alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-11-25 22:31:37 UTC. ProposalPlease 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
App/src/pages/iou/request/step/IOURequestStepScan/index.tsx Lines 774 to 776 in e08c53a
The overall code change might be like this: <StepScreenDragAndDropWrapper>
{(isDraggingOverWrapper) => (
<>
{isLoading && <FullScreenLoadingIndicator />}
{!!gpsRequired && <LocationPermissionModal />}
{!isDraggingOverWrapper && <MoneyRequestConfirmationList />}
<ReceiptDropUI />
<ConfirmModal />
</>
)}
</StepScreenDragAndDropWrapper> |
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? |
Opps. I linked the wrong issue. |
Job added to Upwork: https://www.upwork.com/jobs/~021861562318502187449 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
yeah, this makes sense and should make things a bit easier. |
@shawnborton, @Ollyws, @luacmartins, @mallenexpensify Huh... This is 4 days overdue. Who can take care of this? |
Should we increase the bounty on this one? We haven't gotten any new proposals in a while |
@abzokhattab If you could create a new PR we can try and get to the bottom of #55935 there, Thanks. |
Upwork job price has been updated to $1000 |
Hello @Ollyws @shawnborton @mallenexpensify @luacmartins, I have addressed all issues related to this issue in #53089 (comment) (Please see attached video below). Can I take this issue as a contributor? I can write a formal proposal for this, but it will be similar to other people. Screen.Recording.2025-02-25.at.11.17.12.PM.movScreen.Recording.2025-02-25.at.11.13.00.PM.movScreen.Recording.2025-02-25.at.11.14.26.PM.movScreen.Recording.2025-02-25.at.11.15.55.PM.movScreen.Recording.2025-02-25.at.11.10.25.PM.movScreen.Recording.2025-02-25.at.11.19.39.PM.mov![]() |
Hello, |
📣 @hayes102! 📣
|
ProposalPlease 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 will use
Result - #53089 (comment) Note - We will refactor the common code in the util file. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA since this is a UI change What alternative solutions did you explore? (Optional)NA |
Hi @hayes102 , welcome! |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-26 04:46:01 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?This is a new feature request What changes do you think we should make in order to solve the problem?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?This is a new UI, no need the test What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
|
@Ollyws If you want to test the changes, you can test it here https://github.com/shubham1206agra/App/tree/test-receipt. |
Thanks @shubham1206agra I will give it a test now. |
@shubham1206agra's solution looks good and fixes all of the issues with the previous PR so I'd be happy to move forward with that. |
@luacmartins 👀 above. (I see you're assigned here so pinging you cuz if @Ollyws adds 🎀 it was assign an engineer) |
Thanks! Let's keep this one moving. All yours @shubham1206agra |
It seems like @lakchote is working on a design doc that touches drag & drop, so tagging him for visibility |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
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:
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?
Screenshots/Videos
Add any screenshot/video evidence
Recording.796.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @abzokhattabThe text was updated successfully, but these errors were encountered: