Repository navigation
Let the right sidebar and the shell panel be resized again, and draw visual cards less often - #122
Merged
Merged
Conversation
…gain Their grips were pinned outside their clipped containers, so they never drew or took a click. They now sit in the gutter, as the left sidebar's does. A test drags each grip with the pointer.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
The right sidebar and the shell panel under the terminal couldn't be resized: dragging their edge did nothing. The left sidebar's edge worked. Claude also reached for the visual card too often, once drawing a whole answer as a card.
Fix
show_visualdescription now say a card shows one part of a reply that is clearer drawn (a table, a comparison, a chart), never the whole answer, and that most replies need none. "Three or more items that each have details" and "steps" are no longer listed as reasons to draw a card, and the line telling Claude to keep the typed reply to a few lines is gone.Proof
the_sidebars_and_the_shell_resize_by_their_gripsdrags each grip with real pointer events (press, move, release) through Rune's hit testing. The earlier tests set the drag state directly, so they missed this.left: 272.0, right: 312.0). With only the shell fix reverted it failed on the shell (left: 260.0, right: 320.0). It passes with both.cargo clippy --locked --all-targets -- -D warnings: clean.cargo test --locked: 497 passed, 0 failed.Risk
Two pin offsets change, a test is added, and the card wording changes. To undo, revert this PR.