InditexTech / gh-sherpa

Streamline branch and pull request creation for Jira or GitHub issues from command line
Apache License 2.0
48 stars 2 forks source link

Branch naming not working for types other than feature #70

Closed lluisoh closed 2 months ago

lluisoh commented 5 months ago

Detailed description

When we try to create a PR or branch and the cli prompts us to select the type of branch, if we select the type other, instead of prompting to select among the other types (bugfix, dependency, deprecation, etc), it jumps straight to branch naming and ends up using "other" as a prefix.

Check this video:

https://github.com/InditexTech/gh-sherpa/assets/155542567/02ab12d5-1495-4e55-9eb6-a0c0921ccf36

Expected behaviour

When we select other in the type of branch prompt, it should offer other branch types allow the user to select among them. Like the following screenshot from a previous version of sherpa-cli:

Screenshot 2024-03-20 at 12 16 11

hielfx commented 5 months ago

Hi! Thanks for reporting this issue. We will review this behavior and address it.

jorgegarciarey commented 4 months ago

@lluisoh , we're going to release a new version in a few days with this fix and some additional features.