Skip to content

Clarify language when creating new git branch#90160

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
iannotian:eyeino/clarify-new-branch-prompt
Feb 7, 2020
Merged

Clarify language when creating new git branch#90160
joaomoreno merged 1 commit intomicrosoft:masterfrom
iannotian:eyeino/clarify-new-branch-prompt

Conversation

@iannotian
Copy link

When using the git extension, the intent is clear when clicking on "+ Create new branch..." and immediately being prompted "Please provide a branch name". But, when clicking on "+ Create a new branch from..." the intent is ambiguous, since the statement "Please provide a branch name" could refer to the branch from which you wish to base the new branch on or the name of the new branch, the latter being what actually happens.

By specifying "Please provide a new branch name...", the intent is clear: the prompt is asking for the name you wish to call the new branch.

This PR fixes #90158

When using the git extension, the intent is clear when clicking on "+ Create new branch..." and immediately being prompted "Please provide a branch name". But, when clicking on "+ Create a new branch from..." the intent is ambiguous, since the statement "Please provide a branch name" could refer to the branch from which you wish to base the new branch on or the name of the new branch, the latter being what actually happens.

By specifying "Please provide a *new* branch name...", the intent is clear: the prompt is asking for the name you wish to call the new branch.
Copy link
Contributor

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make placeholder be "New branch name"

Maybe expand prompt to read "Please provide a name for the new branch"

@joaomoreno joaomoreno merged commit 1302e22 into microsoft:master Feb 7, 2020
@joaomoreno
Copy link
Member

Thanks! 👍

@joaomoreno joaomoreno added this to the February 2020 milestone Feb 7, 2020
@joaomoreno joaomoreno added the git GIT issues label Feb 7, 2020
@iannotian iannotian deleted the eyeino/clarify-new-branch-prompt branch February 9, 2020 21:40
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify language in git extension for creating new branch from another branch

3 participants