Repository navigation
feat(composer): name the branch and mark a worktree in the strip under the message box - #991
Merged
Merged
Conversation
…r the message box
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 22 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# Conflicts: # docs/guide.md # src/AGENTS.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
The strip under the message box (#951) had a place for the branch that nothing filled:
Composertakesbranch, andPaneTerminalpassed onlycwd.lib/paneBranch.tsis a small store the sidebar'suseWorktreeBranchespublishes into andPaneTerminalreads (usePaneBranch), so the roster stays the only reader of the git inventory and no second poll is added. A detached checkout reads "Detached HEAD".FolderGit2and the word Worktree after its name, fromworkspace.worktree.is_linked_worktreein the snapshot.It only names them; nothing in the strip is pressed. A repository with no linked worktree open has no branch there (the roster does not inventory it), and a PC whose roster is folded names the folder alone.
This touches the same lines of
Composer.tsx, the guide,DESIGN.md,src/AGENTS.mdand the language files as #988; whichever merges second needs a rebase.Validation
bun run check faston macOS arm64, Bun 1.4.0: generated types, typecheck and build ok. Unit tests: every file passes exceptserver/voice.test.ts("streams deltas and the done text from a split SSE answer"), which fails the same way onmaina4b2295 on this Mac.portal,plugin,install-starandci-setuptests failed in a run that shared the PC with another full suite; each passes alone here and onmain.src/lib/paneBranch.test.ts; one new string, translated in the four language files.login-form, Worktree,feature/login-form; the repository's readtest-project,main, no mark.