Skip to content
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 #30153 - $500] The selected attachment modal don't hide when drag a file #27564

Closed
2 of 6 tasks
kavimuru opened this issue Sep 15, 2023 · 58 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@kavimuru
Copy link

kavimuru commented Sep 15, 2023

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:

  1. Go to any report
  2. Click +
  3. Click Add Attachment
  4. Drag a file to report screen

Expected Result:

The selected attachment modalshould hide when drag a file

Actual Result:

The selected attachment modal don't hide when drag a file

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?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.70-3
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-09-13.at.11.09.50.mov
Recording.252.mp4

Expensify/Expensify Issue URL:
Issue reported by: @DylanDylann
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694578316488209

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0148455e0883b1f9ba
  • Upwork Job ID: 1702778220407894016
  • Last Price Increase: 2023-10-06
Issue OwnerCurrent Issue Owner: @situchan
@kavimuru kavimuru added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 15, 2023
@melvin-bot melvin-bot bot changed the title The selected attachment modal don't hide when drag a file [$500] The selected attachment modal don't hide when drag a file Sep 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 15, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0148455e0883b1f9ba

@melvin-bot
Copy link

melvin-bot bot commented Sep 15, 2023

Triggered auto assignment to @peterdbarkerUK (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 15, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot
Copy link

melvin-bot bot commented Sep 15, 2023

Triggered auto assignment to @laurenreidexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Sep 15, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan (External)

@raymondchooi
Copy link

raymondchooi commented Sep 15, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

File picker does not close on file drag and drop

What is the root cause of that problem?

The user is allowed to drop files in the <ReportDropUI /> component while the file picker is open.

What changes do you think we should make in order to solve the problem?

  1. When the picker is opened with Add attachment:

fileInput.current.click();

  1. We can call another function to set the state setIsAttachmentPreviewActive to false:

setIsAttachmentPreviewActive(false);

  1. This will disable the file drop here:

  1. We should probably rename this state to something like setIsAttachmentPicking

What alternative solutions did you explore? (Optional)

As we have limited access to the file picker, we could listen for images dropped and force a redirect or similar to trigger the file picker to close

@laurenreidexpensify laurenreidexpensify removed their assignment Sep 18, 2023
@melvin-bot melvin-bot bot added the Overdue label Sep 18, 2023
@peterdbarkerUK
Copy link
Contributor

Discussed a little here.

@melvin-bot melvin-bot bot removed the Overdue label Sep 19, 2023
@raymondchooi
Copy link

@peterdbarkerUK ignore if the discussion link wasn't meant to be seen externally but I can't access the link or see/find any other discussions other than the initial linked slack discussion

@peterdbarkerUK
Copy link
Contributor

Hey @raymondchooi - yes, that one was private, left it here for my own ease of tracking! Apologies for the confusion

@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Sep 25, 2023
@peterdbarkerUK
Copy link
Contributor

@situchan - what do you think of the proposal?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Sep 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 29, 2023

@peterdbarkerUK @situchan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot
Copy link

melvin-bot bot commented Sep 29, 2023

@peterdbarkerUK, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot
Copy link

melvin-bot bot commented Sep 29, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2023

@peterdbarkerUK, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@situchan
Copy link
Contributor

situchan commented Oct 3, 2023

Let's fix this case as well so ideally all popovers, system modals should be closed while dragging file.

Screen.Recording.2023-10-03.at.5.30.39.PM.mov

Still open for better proposals

@peterdbarkerUK
Copy link
Contributor

Friendly bump on this one @situchan :)

@melvin-bot melvin-bot bot removed the Overdue label Nov 13, 2023
Copy link

melvin-bot bot commented Nov 21, 2023

@peterdbarkerUK, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@melvin-bot melvin-bot bot added the Overdue label Nov 21, 2023
@situchan
Copy link
Contributor

FAB menu is automatically closed while dragging over LHN. Similar to this, we can fix all popover cases

@melvin-bot melvin-bot bot removed the Overdue label Nov 21, 2023
@DylanDylann
Copy link
Contributor

@situchan It seems we have another PR handle this issue

Copy link

melvin-bot bot commented Nov 27, 2023

@peterdbarkerUK, @situchan Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot melvin-bot bot added the Overdue label Nov 27, 2023
@situchan
Copy link
Contributor

@peterdbarkerUK let's hold this for #30153. I subscribed to that PR so we'll see how it goes.

@melvin-bot melvin-bot bot removed the Overdue label Nov 27, 2023
@peterdbarkerUK peterdbarkerUK changed the title [$500] The selected attachment modal don't hide when drag a file [HOLD for #30153 - $500] The selected attachment modal don't hide when drag a file Nov 28, 2023
Copy link

melvin-bot bot commented Nov 30, 2023

@peterdbarkerUK, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Nov 30, 2023
@situchan
Copy link
Contributor

situchan commented Dec 1, 2023

Holding PR is still in review

@melvin-bot melvin-bot bot removed the Overdue label Dec 1, 2023
Copy link

melvin-bot bot commented Dec 4, 2023

@peterdbarkerUK, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Dec 4, 2023
@situchan
Copy link
Contributor

situchan commented Dec 5, 2023

#31154 was merged today. Waiting for hitting production

@melvin-bot melvin-bot bot removed the Overdue label Dec 5, 2023
@DylanDylann
Copy link
Contributor

Can't reproduce anymore. let's close this

@melvin-bot melvin-bot bot added the Overdue label Dec 8, 2023
Copy link

melvin-bot bot commented Dec 8, 2023

@peterdbarkerUK, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@situchan
Copy link
Contributor

situchan commented Dec 8, 2023

Let's close

@melvin-bot melvin-bot bot removed the Overdue label Dec 8, 2023
Copy link

melvin-bot bot commented Dec 12, 2023

@peterdbarkerUK, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

6 participants