-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2023-09-07] [$1000] Web - Money Request - Dev - On money request page distance page user is able drag & drop file #25661
Comments
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
Proposal from @dhairyasenjaliyaPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?option - 1
isDisabled={props.selectedTab === CONST.TAB.MANUAL || props.selectedTab === CONST.TAB.DISTANCE} // example
option -2
What alternative solutions did you explore? (Optional)
|
Job added to Upwork: https://www.upwork.com/jobs/~0106fe9a0ed877de3e |
Current assignee @garrettmknight is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Confirmed, seems like odd behavior. |
+1 to izarutskaya's proposal option 2. Proposal option 2 is better than option 1 since explicit whitelisting instead of blacklisting will prevent exactly this type of errors in the future. There just might be a typo in proposal option 2 as it should be: |
Yeah I just forget to add |
ProposalPlease re-state the problem that we are trying to solve in this issue.On money request page, users can drag and drop files directly on the Distance tab. What is the root cause of that problem?The root cause of the problem is that we are not handling all cases except for the scan tab in the MoneyRequestSelectorPage.
What changes do you think we should make in order to solve the problem?To solve this problem, we can wrap the App/src/pages/iou/ReceiptSelector/index.js Lines 107 to 108 in a2096c8
What alternative solutions did you explore? (Optional)
However, this option has some drawbacks. |
📣 @napster125! 📣
|
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@dhairyasenjaliya Proposal (2nd option) looks good to me. @napster125 Your solution will break the expected behavior in this test
Hmmm, this is the code for the native, we just return App/src/components/DragAndDrop/Provider/index.native.js Lines 5 to 7 in 9a0dd42
When we implement new tab that need the drag-and-drop, then we should enable it.
This is the expected behavior as I already mentioned. |
hm @fedirjh I believe Melvin didn't assign an internal member for review perhaps any issue on above template ? |
Yeah missed adding the tag Let's proceed with @dhairyasenjaliya Proposal (2nd option). 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dhairyasenjaliya 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@fedirjh PR ready for review |
https://drive.google.com/file/d/1gfn-AYSfXMfu5bQ-J73MoJOqtVDPD79U/view?usp=sharing Has anything changed lately? When I directly try this URL It redirects me to this address There are three tabs present but in my video there is none. Is this happening with someone else here? |
@kaushiktd This feature is in beta it will not be accessed until the release |
@kaushiktd You should enable this beta from the permissions.js file. |
🎯 ⚡️ Woah @fedirjh / @dhairyasenjaliya, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.59-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-09-07. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
BugZero Checklist:
Regression Test Proposal
|
Summary of payments
|
@dhairyasenjaliya just realized that we didn't generate a contract for reporting. I just sent you another offer and will pay the $250 once you accept. |
done @garrettmknight I think there was previous contract but will cancel that |
Paid and canceled the duplicate contract. |
@garrettmknight can you please close the contract as well thanx |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
User should not be able to drag & drop files directly on Distance tab same as manually tab
Actual Result:
Describe what actually happened
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.56-0
Reproducible in staging?: Y
Reproducible in production?: Y
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-08-12.At.1.50.41.Am.1.mp4
Recording.2948.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhairyasenjaliya
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691785104348009
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: