Allow pasting images from clipboard #502

Closed
opened 2023-04-09 06:13:31 +00:00 by vivganes · 3 comments
vivganes commented 2023-04-09 06:13:31 +00:00 (Migrated from github.com)

Is your feature request related to a problem? Please describe.
When I want to upload a screenshot to Snort, I first need to store it in my local desktop. That's a wee bit inconvenient when compared to flows in Telegram, etc.

Describe the solution you'd like
I want to be able to paste from my clipboard.

Describe alternatives you've considered
None

Additional context
I am willing work on this feature
Probable solution: https://stackoverflow.com/a/73659331

**Is your feature request related to a problem? Please describe.** When I want to upload a screenshot to Snort, I first need to store it in my local desktop. That's a wee bit inconvenient when compared to flows in Telegram, etc. **Describe the solution you'd like** I want to be able to paste from my clipboard. **Describe alternatives you've considered** None **Additional context** I am willing work on this feature Probable solution: https://stackoverflow.com/a/73659331
v0l commented 2023-04-10 13:03:15 +00:00 (Migrated from github.com)

This is supported by void.cat, please use the code from here: https://github.com/v0l/void.cat/blob/v4-re/VoidCat/spa/src/Components/FileUpload/Dropzone.js

This is supported by void.cat, please use the code from here: https://github.com/v0l/void.cat/blob/v4-re/VoidCat/spa/src/Components/FileUpload/Dropzone.js
vivganes commented 2023-04-11 11:34:11 +00:00 (Migrated from github.com)

@v01 void.cat seems to have a multi-file upload progress indicator too. I am hoping that's not needed here.

In that case, we just have to add a paste listener and upload the image, like you are already doing in the existing code.

Is my thinking correct?

@v01 void.cat seems to have a multi-file upload progress indicator too. I am hoping that's not needed here. In that case, we just have to add a paste listener and upload the image, like you are already doing in the existing code. Is my thinking correct?
v0l commented 2023-04-11 11:40:23 +00:00 (Migrated from github.com)

Yea just pasting is fine, i will add progress myself at some stage, its badly needed

Yea just pasting is fine, i will add progress myself at some stage, its badly needed
Kieran referenced this issue from a commit 2023-05-09 15:26:51 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kieran/snort#502
No description provided.