godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.13k stars 88 forks source link

Move "Download Project Source" from the Godot web project editor to the project manager #3143

Open SIsilicon opened 3 years ago

SIsilicon commented 3 years ago

Describe the project you are working on

A realtime text geometry generator, but that's irrelevant to the proposal.

Describe the problem or limitation you are having in your project

As I was testing a script with the tool keyword (since the print() function doesn't work when running the project), I ran into a while loop that completely freezes the editor on boot up. Normally if I were using the desktop version, I would edit the script file manually, but I can't here since the project source is stuck in the IndexedDB. And I can't download to edit it since the editor is frozen on boot up.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Well it's as the title suggests: move the download source button, or at least copy it over to the projects list so that projects can be downloaded without running them.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

I'd expect the new button to show up somewhere here. image

If this enhancement will not be used often, can it be worked around with a few lines of script?

Not at all. This can only be done by modifying core. Edit: Fortunately, I did eventually find a workaround to download part of the indexedDB using JS snippets, but this would still be useful for convenience and productivity purposes.

Is there a reason why this should be core and not an add-on in the asset library?

Because I may not be the only one that runs into this issue. Due to circumstances in my situation, I'm not allowed to download Godot as an executable. The editor version is the only one I can use. Being able to download the projects you create no matter what is crucial, especially with the web editor's limitations.

Faless commented 3 years ago

Depends on #1482 to be done properly.

Calinou commented 3 years ago

Depends on #1482 to be done properly.

If https://github.com/godotengine/godot-proposals/issues/227 is implemented, we don't need a project manager plugin to expose this feature in the project manager.