-
-
Notifications
You must be signed in to change notification settings - Fork 177
feat: add optional worktree display name with branch auto-sync #336
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
feat: add optional worktree display name with branch auto-sync #336
Conversation
|
@codex review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c21c73a591
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed: rename_worktree now keeps the display name unless it matched the old branch, so custom labels survive renames. Added worktree rename tests to cover both cases. |
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@codex review |
|
@imodeveloper he only listen to me 🤣 |
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
I have mine configured too, not sure why it is not working 🤓, or it works only on my repositories? |
Summary
codex/branch slug from the name until the branch is manually editedMotivation
Sometimes a friendly label is easier to scan than a raw branch name. This keeps worktrees readable while still producing valid branch names, and it lets users opt into custom labels without extra steps. It also helps when you paste a ticket title that includes special characters—branch names are normalized automatically for a fast, valid branch.
Testing
npm run test -- useWorktreePromptcargo test(insrc-tauri)npm run tauri build(fails atbundle_dmg.sh: failed to run bundle_dmg.sh / command not found)