beehave icon indicating copy to clipboard operation
beehave copied to clipboard

Auto-update addon inside the editor

Open bitbrain opened this issue 2 years ago • 2 comments

Similar to how https://github.com/nathanhoad/godot_dialogue_manager works, it is possible to download the latest addon version inside the editor.

Potentially, there could be a new button somewhere (in case there is an update available) prompting the user to download the new version.

Another idea (preferable) could be a notification message that has a clickable action in it.

See https://github.com/nathanhoad/godot_dialogue_manager/blob/08ee0579a6828386cdd6000edfb2871a96a7fd62/addons/dialogue_manager/components/download_update_panel.gd for an example implementation.

bitbrain avatar Mar 03 '23 19:03 bitbrain

So should the button only appear when there is a new update availible?

FonkinS avatar Mar 05 '23 08:03 FonkinS

@FonkinS yes!

My thinking was that this button could live somewhere at the top right of the Godot editor, however, introducing a whole new tab just to host such button sounds overkill/counter intuitive.

Godot might solve addon updating itself at some point with a dedicated flow. Until then, my thinking was that there is some button telling users "Hey! There is a new update available"

Instead of a button, we could also produce a notification message instead (that has a clickable link that triggers the update?)

No idea if that is doable, though.

bitbrain avatar Mar 05 '23 10:03 bitbrain