Skip to content

Instantly share code, notes, and snippets.

@watilde
Last active October 29, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save watilde/b243af1c2f8b1d58c46e29d56d24ffea to your computer and use it in GitHub Desktop.
Save watilde/b243af1c2f8b1d58c46e29d56d24ffea to your computer and use it in GitHub Desktop.

Title

Ask users if it's ok to stop the service when disconnecting

Description

Is your feature request related to a problem? Please describe.

Disconnecting branches stopped a service I'm working on which was not expected. I was expecting the service will be kept hosting as is.

Describe the solution you'd like

When users do disconnect a branch, it should make a prompt to ask if it's ok to stop the service + putting a branch name to do double-check carefully. Currently, it just says "You've chosen to disconnect the branch "", are you sure?", but it does not clearly explain what is going to happen right after.

Refs - How GitHub handles a similar thing well

https://docs.github.com/en/enterprise-server@2.22/github/administering-a-repository/deleting-a-repository

Additional context

I was expecting to keep hosting a service having a connected branch even I disconnect but disconnecting the branch immediately stop hosting the site which impacted the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment