"New branch" quick action

Usecase & Problem

Most of the time I am at the bottom of the discussion in an issue when i decide i want to create a new branch for that said issue. I want an easy way to create a new branch without having to scroll up.

Proposal

Create a new branch slash command, like:

/branch <optional: branch name> create a new branch

If no branch name is given it will act exactly the same as the "new branch" button.

Value

More efficient new branch creation, from the bottom of a discussion in an issue.

Additional thoughts
  • This should only be possible from an issue discussion?
  • Should you perhaps be able to relate existing and new branches that do not follow the naming convention required for it currently?

Related issues

gitlab-ce#27796 gitlab-ce#27798 gitlab-ce#21143 https://gitlab.com/gitlab-org/gitlab-ce/issues/27799

cc: @smcgivern @victorwu @lbennett @awhildy @pedroms

Edited by Rémy Coutable