-
Notifications
You must be signed in to change notification settings - Fork 150
client: Provide a very easy way to import a project #46
Comments
I'd be interested in helping with this. Perhaps this feature could be introduced alongside a delete button in the UI. |
Cool, sounds great! I created a separate issue for project deletion: #99. The way I see it, for project upload:
And we'll need to figure out which package to use for unzipping (I don't believe we already do any unzipping in Superpowers currently, but it's worth a quick check to see if we already have a useful dependency). Is that enough info to get you started? |
We do some unzipping in server/index when installing/updating systems or plugins. |
Ah right, somehow didn't think of that. Well then that's one less decision to make! |
Hi! Is there any new stuff about this issue? :) Importing a project is a very interesting feature |
Hi! I would like to try this issue :3 |
sorry for dropping this back then, have been moving country / job etc. |
Hi guys! Sure feel free to give it a shot @Ilphrin! We haven't worked on it at all so what @elisee specified above should still be pretty much valid. You can open a pull request when you have some basics going on even if it's not finished and we can then help you if needed. And no problem @basiclaser ;) |
Hi @bilou84 , thanks :) I am on Discord so I will probably ask for help. |
The discord chat is more about helping each other on how to use Superpowers. As for your question, we should use the source project. So the data inside the Superpowers folder indeed. The exported project could be very different from the source (although it's not at the moment on the game system, but that is not a requirement). We can't provide a general way to convert it back into the source data. |
Thanks, I am registered now on gitter, if there is some question I will post it on there :) OK, that's what I thought but wasn't sure. By the way, shouldn't there be a button in "Build Project" to export in a ZIP file, that can be imported back later? |
I don't know if it should be a part of the build project interface or in the server hub where you can see all projects and where you should be able to import them. But we definitly need something to export the project as well. |
IMHO, the "Build Project" button should be entirely in the server hub, as the project interface has already a lot of stuff printed and maybe later will need to show more things, but the server hub has a lot of free space to show something like this. |
I have the core of the code to fix this, but I have some troubles with the last point
I don't understand exactly what are these variables (manifest and actualIndex). |
One should be able to upload a project ZIP file to a server from the server hub and have it be unzipped and loaded automatically. Also an option to import from URL.
The text was updated successfully, but these errors were encountered: