Diff wrap cutoff fix, worktree chat tabs, and actionable gh merge errors - #12
Merged
Conversation
In wrap mode a long line spans several visual rows, but the virtualizer estimates every off-screen line at a single row. That under-counts total height, so the scrollbar bottoms out before the last file's trailing lines can be scrolled into view. Over-estimate the row height only in wrap mode; the library shrinks it back via measured deltas as items render, so the last file stays reachable without a permanent gap. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a tab row beneath the chat header listing every chat in the active thread's worktree, with the current one highlighted, click-to-switch, and a trailing button to start a new chat in the same worktree. Collapse the "Open in editor" and "Add action" header controls behind a single "…" overflow menu so the header keeps room for the project and thread identity. The controls render unchanged inside the popover, so their dropdowns and add/edit dialogs keep working. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Merging a PR could fail with the opaque "GitHub CLI command failed.",
which was especially confusing with multiple GitHub accounts where the
account selected for a project isn't a collaborator on its repo.
Classify non-zero VCS exits into two new safe buckets — permission-denied
and merge-blocked — from stderr patterns, and map them to clear GitHub
errors ("the selected account lacks permission…", "GitHub wouldn't merge
this PR — conflicts, failing checks, branch protection, or a disallowed
merge method"). Raw stderr is still never retained, so no secret it might
contain can leak.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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 freeto 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.
Summary
permission-denied/merge-blockedand surface clear, actionable messages. Raw stderr is still never retained (no secret leakage).Testing
tsgotypecheck: web, server (t3), contracts — passvitestVcsProcess (12) and sourceControl (119) suites — passscrollHeight.🤖 Generated with Claude Code