okteto / docker-desktop-extension

Docker Extension for Okteto
Apache License 2.0
5 stars 4 forks source link

Add a "Relaunch" remote environment button #70

Closed rlamana closed 1 year ago

rlamana commented 1 year ago

Is your feature request related to a problem? Please describe. Once an environment has been launched, there is no way to relaunch it again unless you stop it, select the docker-compose file again and launch as you did the first time.

Describe the solution you'd like Since we already have the path to the docker-compose file, a "Relaunch" button in the extension UI could trigger a new okteto up call.

Relaunch Button Mock

Additional context The relaunch functionality should be as simple as updating the "environment" in the Okteto React context just like it is done here: https://github.com/okteto/docker-desktop-extension/blob/main/client/src/contexts/Okteto.context.tsx#L58

HeartBeat1608 commented 1 year ago

Hey @rlamana, I would like to give this a go. Is there anything else apart from the stated, that you would like me to know on this?

rlamana commented 1 year ago

@HeartBeat1608 it's already assigned to you, thanks for participating!