status-desktop/ui/imports
Pascal Precht 213924f6e9 feat(chat): support copy & pasting images into chat input
This adds support for receiving copied images from the clipboard
and pasting it into the chat input.

After pasting, chat input will recognize the image and render a preview
similar to how it would do it when selecting images via the file dialog.

**Also important to note**:

At the time of this PR, it seems that desktop only supports sending
jpegs to status-go. I'm not sure if this was deliberately done this way
because the protocol says it supports jpg, png, webp and gif.

Because of this, pasting for example pngs will work, however
transparency will be lost (which is also most likely the cause of #8820)

This PR operates on that assumption. So while it adds support for
copy/pasting images, it does not address the lack of file type support.

Closes #3395
2022-11-29 12:31:18 +01:00
..
Themes Adding qmake project file for wasm 2022-11-23 16:20:37 +02:00
assets Add profile fetching view to storyBook 2022-11-17 21:48:53 +02:00
shared feat(chat): support copy & pasting images into chat input 2022-11-29 12:31:18 +01:00
utils fix: unbreak suggestions for emojis containing an underscore 2022-11-28 12:11:23 +01:00