-
Notifications
You must be signed in to change notification settings - Fork 3k
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-04] [$1000] Not allowed sign does not show when an attachment is drag and dropped #22218
Comments
Triggered auto assignment to @flaviadefaria ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @deetergp ( |
Just coming online, but @deetergp seems to be on it! |
This one is problematic. It looks like @deetergp located the original PR, but as we've already followed up with additional changes for other blockers I don't think we can simply revert it... Best course of action might be to unblock the release and resolve this without classing it as a blocker. I think this is fine as it's not blocking the user. We're already one day behind the release schedule and the alternative of reverting multiple PRs in a certain order is too time-consuming/complex and will prevent me from releasing. |
@kidroca it would be great if you could confirm/deny our suspicion about this. We'll need to fix but I'm moving forward with the app release. |
I'd love @kidroca's thoughts on it, but I'm going to go ahead and apply the |
Job added to Upwork: https://www.upwork.com/jobs/~010870acccad3ed186 |
Current assignee @flaviadefaria is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Drag and drop is not prevented in the attachment preview modal. What is the root cause of that problem?As suspected in previous comments, this is a result of the restructuring in #20167. Previously, What changes do you think we should make in order to solve the problem?We need to add these event handlers to ReportAttachments, as this is the top-level component for the new stack dedicated to showing attachment modals. We can use the same logic as is in const preventDropEvent = useCallback((event) => {
event.preventDefault();
// eslint-disable-next-line no-param-reassign
event.dataTransfer.dropEffect = 'none';
}, []);
useEffect(() => {
document.addEventListener('dragenter', preventDropEvent);
document.addEventListener('drop', preventDropEvent);
return () => {
document.removeEventListener('dragenter', preventDropEvent);
document.removeEventListener('drop', preventDropEvent);
}
}, [preventDropEvent]) What alternative solutions did you explore? (Optional)We could wrap ReportAttachments in the |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.57-6 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-04. 🎊 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:
|
Payment summary:
@ginsuma = $1000 (no bonus) |
@deetergp, @ginsuma, @allroundexperts, @flaviadefaria Eep! 4 days overdue now. Issues have feelings too... |
@deetergp, @ginsuma, @allroundexperts, @flaviadefaria Huh... This is 4 days overdue. Who can take care of this? |
@ginsuma can you please share your UW profile here, I'm not sure that I have found the right person- thanks! |
Thanks, @ginsuma - contract sent. |
@flaviadefaria I'm the contributor who fixed the issue. Your offer is $250. |
Oops, sorry about that, sent a new offer with the correct amount. |
@ginsuma - paid |
@flaviadefaria accepted offer, thank you! |
@daveSeife you have been paid.
@allroundexperts please request payment I'll switch this to weekly for now. |
Still holding for payment? |
Requested payment. |
Cool seems like all payments have been requested or made so closing this for now. |
$1,000 payment approved for @allroundexperts based on BZ summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Not allowed to drag and drop when an attachment is open.
Actual Result:
allowed to drag and drop when an attachment is open.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.36-3
Reproducible in staging?: y
Reproducible in production?: n
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
Test56_Dragdrop-1.mp4
Recording.1162.mp4
Expensify/Expensify Issue URL:
Issue reported by: @daveSeife
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688500850249469
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: