-
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 2022-12-20] [$1000] [Feature] Update the chat UI to reflect drag-and-drop update ability #11823
Comments
Triggered auto assignment to @shawnborton ( |
Bringing in @shawnborton for the mockups, then we can make this external. |
I think this was mentioned in the Slack thread, but we should think about what happens if someone tried to drag and drop over the LHN. Do we block that entirely? Do we highlight the individual row that is hovered over? I agree with @roryabraham that the chat window itself should be very straightforward, especially since we don't have threads and a right-docked side modal for reports yet. |
User example of this behaviour - user is trying to drag & drop a doc for bank verification and it's creating an expense instead. https://github.com/Expensify/Expensify/issues/233722 Should I file this GH as a bug? I closed it in favour of this GH but i can reopen if it's better. |
@JmillsExpensify for now I would suggest we just block the drag and drop action over the LHN, and only show feedback if the main chat pane is hovered. Will share screens shortly. |
Triggered auto assignment to @maddylewis ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Current assignee @roryabraham is eligible for the External assigner, not assigning anyone new. |
Cool, design LGTM let's get an upwork job created for this, then we can start accepting proposals. |
Calling all proposals...lol |
Quick clarification – I'm going to ask that we display the |
And the report header as well. This is the default behavior of the browser. We are only listening for drop over report body and composer |
Proposal The idea is to detect if dragging over dropzone is active and to use React Portal to render the overlay in the drop view. You can check the code in the diff below. @parasharrajat Details like adding the document icon from design, extracting the overlay to separate file, making sure there is no regressions on mobile etc ; will be a part of PR Outcome: Chrome/ Web Chrome.mp4Desktop Upload.-.Desktop.mp4 |
created job posting here - https://www.upwork.com/jobs/~0198538cbc40aff5b9 |
PR merged. I think the correct payout for this is:
So $1750 total |
@roryabraham That's fair, thank you! |
just noting here that i've seen this comment (#11823 (comment)) and will get this paid out before EOW. |
@roryabraham - will you confirm if we're paying out $1750 to both the C and C+ on this one? |
@vladamx There is an issue from this PR https://expensify.slack.com/archives/C01GTK53T8Q/p1670528976295469. Could you please take a look? |
In addition, I wanted to confirm - what's the expected behavior if you try to drag and drop a file while the right-hand panel is open? The QA team opened this issue but it kinda makes sense to me not to allow drag-and-dropping a file in this case (or that would mean you'd want to drag and drop in the RHP?) video_09.mp4 |
@francoisl I answered the same thing on the related issue. |
Thanks, works for me and I agree with you here. |
I think this error is happening because the child's componentDidMount is called before parent components. So it means that even though there is a microsecond difference in the mounting of these. Operations/calls are made in the wrong sequence. Thus the slightest delay will fix it. In short, changing the execution order of dropzone mounting and
But I am not suggesting this as a solution just the analysis. |
It seems that #11823 (comment) is not related to this PR but is caused by some other PR. 😄 |
im sorry for the delay on payment - will get this processed tomorrow. |
@maddylewis i think we made a mistake with payment. I received 1750 + 1000 and i think i should receive only 1750 for this job |
uh oh! thanks for saying something @vladamx. is there a way in Upworks for you to reject the $1000 payment? i will also look into this on my end. |
@parasharrajat - will you confirm the payment you're expecting for this issue? thanks! |
Same as #11823 (comment). For an extra payment, the contractor can make a refund. |
@maddylewis Hm, i don't seem to have that option. Maybe you can contact their support. Transactions are still in pending so they might be able to cancel $1000 transaction. I can confirm that i received the payment for this issue. |
it sounds like i can request a refund. i will get on that. thanks again for letting me know, Vlad! |
hey @vladamx - i needed @michaelhaxhiu to request a refund in Upwork since i didnt have the permissions for some reason. we requested a $1k refund, but then received notification from Upwork that the refund request was $1750. will you let me know the refund you were requested on your end? sorry for the hassle here! |
@maddylewis i edited a refund to be 1000. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.38-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 2022-12-20. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
Pretty sure this can be closed. Reopen and/or comment if not |
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:
Drag an image file over a chat
Expected Result:
+
Actual Result:
+
✅Workaround:
n/a – this is polish to make an existing feature more intuitive.
Platform:
Where is this issue occurring?
There is no concept of drag-and-drop on iOS, Android, mWeb, so this is a feature request for web and desktop only.
Version Number: 1.2.14-0
Notes/Photos/Videos:
This is how the feature looks in slack:
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1665684156253079
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: