Repository navigation
fix(threads): render the branch picker as a compact panel row - #470
Merged
Merged
Conversation
This was referenced Nov 13, 2026
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 thread-details branch picker had a 128 px minimum height, a chevron aligned with the label, and an upstream name that wrapped into awkward fragments. Render Branch and Worktree with shared compact field layouts on web/desktop and mobile: no resting fill, content-driven height, reserved value-line chevron, and middle-truncated upstream names with the full value in a web tooltip or selectable native text.
Running/offline/unsupported states keep the same muted row and an explanation. A dirty result from the existing branch-list request disables branch selection and shows “Commit or stash changes before switching branches.” Reopening refreshes the status after cleanup; the worker still enforces a fresh status before switching. Native picker options use compact single-line labels.
Fixes: #422
Verification
bun install --frozen-lockfile,bun run gen:check,bun run typecheck,bun run lint,bun run format:check, andbun run --filter @canopy/web buildpassed. No UI tests added; fullcheck:tmpleft to CI as requested.bunx [email protected] fingerprint:generate --platform ios --build-profile production --json --non-interactiveand the equivalent Android command passed before and after the changes. iOS remains6ddec9ef559ee0095ac33e94ff9418a942053b17; Android remains5f6eae3ab278f1cd543e9ed763f923a319b65ec9. Mobile changes are TS/TSX only. Native device rendering and live gateway/worker flows were not exercised.Copy audit (
docs/copy.md§8)