marketplace icon indicating copy to clipboard operation
marketplace copied to clipboard

Feat/export import

Open CharlieS1103 opened this issue 1 year ago • 1 comments

CharlieS1103 avatar Aug 25 '22 03:08 CharlieS1103

Making this pull request as a reminder that we should probably get this done.

CharlieS1103 avatar Aug 25 '22 03:08 CharlieS1103

you still gonna implement this and add it to marketplace? we have spotify backup ext.

Tetrax-10 avatar Sep 26 '22 15:09 Tetrax-10

Yes

CharlieS1103 avatar Sep 26 '22 16:09 CharlieS1103

you still gonna implement this and add it to marketplace? we have spotify backup ext.

I think it is the right decision to do that I also didn't knew about it before (backup ext.), after I uninstalled spicetify and regretted

NeuroCPP avatar Oct 05 '22 16:10 NeuroCPP

This isn't done...

theRealPadster avatar Oct 10 '22 22:10 theRealPadster

@theRealPadster Yeah I did get it working though, essentially all we need to do is make it look nice and it'd work. Although, we may want to transition to loading in the imports through a file rather than the text-area (for the sake of speed.)

CharlieS1103 avatar Oct 10 '22 23:10 CharlieS1103

@theRealPadster Yeah I did get it working though, essentially all we need to do is make it look nice and it'd work. Although, we may want to transition to loading in the imports through a file rather than the text-area (for the sake of speed.)

I'm taking a look now and though it does copy to clipboard fine, pasting a massive amount of data back in still freezes the client. I think using a file is the only way. Idk how to make it download a file though. My method I was testing with making an <a> tag with the download attribute set and the href set to a blob URI didn't seem to do anything.

We should be able to use a file input to upload and parse though, since I got that working for the snippet images.

theRealPadster avatar Oct 11 '22 21:10 theRealPadster

We don't need to download as a file if copying works( probably just impossible), and yeah we can just upload as file

CharlieS1103 avatar Oct 11 '22 21:10 CharlieS1103

We don't need to download as a file if copying works( probably just impossible), and yeah we can just upload as file

Yeah don't need to, but it would make it easier for people to transfer and back things up if they don't need to paste it into a text editor and save their own.

theRealPadster avatar Oct 11 '22 21:10 theRealPadster

We don't need to download as a file if copying works( probably just impossible), and yeah we can just upload as file

Yeah don't need to, but it would make it easier for people to transfer and back things up if they don't need to paste it into a text editor and save their own.

Yeah you're definitely right but if I had to guess, it will be impossible. Might give it a try regardless though.

CharlieS1103 avatar Oct 11 '22 21:10 CharlieS1103