Teyvat.moe icon indicating copy to clipboard operation
Teyvat.moe copied to clipboard

[FEATURE] Export as downloadable file, and Drag/drop upload for importing

Open mchubby opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Export button to generate a timestamped download (blob or data-uri) we can keep instead of copy-pasting, which can be frustrating (click to copy did not live to expectations either). Plus, no need to open an editor, copy paste, save, close.

Import this file using a drag and drop operation based on its naming pattern.

Describe the solution you'd like You can use either a base64 or plaintext data uri, or a Blob if text tends to be large

Describe alternatives you've considered #245 for people willing to log in

Additional context

mchubby avatar Jan 10 '21 01:01 mchubby

I like this idea. Currently the export button displays the textbox, but it shouldn't be too hard to generate and download a file.

Additionally, I already have drag and drop functionality implemented with the image uploader.

EliteMasterEric avatar Jan 10 '21 06:01 EliteMasterEric