Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcs_menu: Streamline branch creation from branch selector #18712

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

maxdeviant
Copy link
Member

This PR streamlines the branch creation from the branch selector when searching for a branch that does not exist.

The branch selector will show the available branches, as it does today:

Screenshot 2024-10-03 at 4 01 25 PM

When entering the name of a branch that does not exist, the picker will be populated with an entry to create a new branch:

Screenshot 2024-10-03 at 4 01 37 PM

Selecting that entry will create the branch and switch to it.

Release Notes:

  • Streamlined creating a new branch from the branch selector.

@maxdeviant maxdeviant self-assigned this Oct 3, 2024
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 3, 2024
@maxdeviant maxdeviant merged commit 6635758 into main Oct 3, 2024
9 checks passed
@maxdeviant maxdeviant deleted the marshall/streamline-branch-creation branch October 3, 2024 20:18
@bersace
Copy link

bersace commented Oct 17, 2024

Would be fine to create new branch from origin/master instead of HEAD. Or current branch upstream by default.

noaccOS pushed a commit to noaccOS/zed that referenced this pull request Oct 19, 2024
…ries#18712)

This PR streamlines the branch creation from the branch selector when
searching for a branch that does not exist.

The branch selector will show the available branches, as it does today:

<img width="576" alt="Screenshot 2024-10-03 at 4 01 25 PM"
src="https://github.com/user-attachments/assets/e1904f5b-4aad-4f88-901d-ab9422ec18bb">

When entering the name of a branch that does not exist, the picker will
be populated with an entry to create a new branch:

<img width="570" alt="Screenshot 2024-10-03 at 4 01 37 PM"
src="https://github.com/user-attachments/assets/07f8d12c-9422-4fd8-a6dc-ae450e297a13">

Selecting that entry will create the branch and switch to it.

Release Notes:

- Streamlined creating a new branch from the branch selector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants