-
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
[$250] [Image] Implement the ability to copy images to the clipboard #4629
Comments
Okay, there was a fair deal of discussion over in #3313 and other issues, but the task at hand here is to:
|
No Upwork job created for this yet. |
This comment has been minimized.
This comment has been minimized.
@puneetlath things have gotten quite a bit busier for me lately so I'm going to have to pass. |
@puneetlath, @roryabraham Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
No new proposals here |
@puneetlath, @roryabraham Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@puneetlath, @roryabraham it looks like no one is assigned to work on this job. |
This comment was marked as outdated.
This comment was marked as outdated.
ProposalCurrently used setString function for copy to clipboard for attachement And when paste, it is not parsing content correctly in handlePaste for textinput embeddedImages length always showing 0 Reason: setString to clipboard making extra span tag image element converted to string To fix issue Screen.Recording.2021-08-24.at.5.42.13.PM.movPlease review and give me feedback @roryabraham , @puneetlath |
Sorry, I'm having difficulty understanding this. Can you help me understand this better? Other than that, there are two main concerns I have with your proposal:
|
ProposalUse native share workflow for mobile (with react-native-share ), and keep web/desktop version with the "Copy to Clipboard" Context menu. Explanation: Solution Create a This is how it would look like in android and ios: |
@anboia That is an interesting alternate solution, I love it! That said, I think it should really be a separate context menu option. I recommend that you create a separate issue in this repo to propose adding a share option to the context menu using the native share menu, and we can discuss over there. Plus, if we decide to move forward with this new feature, there's an additional bonus we pay to contributors if you open an issue and also implement the solution. 🤑 |
Found solution for web version. Screen.Recording.2021-08-25.at.3.53.29.AM.movRead image blob data from url and make clipboard item and write to clipboard Screen.Recording.2021-08-25.at.5.23.05.AM.mov |
@roryabraham one question, currently how to open context menu in the ios? long press on image is working? |
It's mobile web version Screen.Recording.2021-08-25.at.4.04.24.AM.mov |
Hmm I've been treating this as a monthly priority :/ I did figure out that on an android device, you can go to chrome, search for an image, press & hold, and copy to the clipboard -> so shouldn't we make sure this is possible on our android app too? 👍 |
That would make sense to me. |
Cool so how about we open this back up for proposals! 🚀 |
Job added to Upwork: https://www.upwork.com/jobs/~01b3973ec74ce159e9 |
Done! |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
Awaiting proposals. |
@roryabraham are you going to close this in favour of #41239 or something? 😕 |
I'm fine with moving this to that new issue as long as we align on the desired outcome 👍 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@Beamanator, @trjExpensify, @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
There's a decent amount of activity in #41239 so I'm going to close this one for that one |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Coming from #3313
Action Performed:
Right-click or long-press on an image in a chat.
Expected Result:
Copy image to clipboard
Note: the solution implemented must be an offline-first solution. Meaning the user should be able to copy the image to their clipboard, whether or not they have internet connection.
Actual Result:
Copy to clipboard
copies the HTML image tag to the clipboard, not the binary image itself.Workaround:
Screenshot the image? Also you can click on it and download it.
Platform:
Version Number:
1.0.85-3
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Upwork job: https://www.upwork.com/jobs/~012fd9a807faaf42aa
View all open jobs on Upwork
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: