Skip to content

Let the right sidebar and the shell panel be resized again, and draw visual cards less often - #122

Merged
m4rocks merged 3 commits into
mainfrom
fix-resize-handles
Nov 17, 2026
Merged

m4rocks merged 3 commits into
mainfrom
fix-resize-handles

Conversation

@m4rocks

@m4rocks m4rocks commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

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

  • Grips. Each grip was pinned outside the panel that holds it, and that panel clips both drawing and clicks to its own bounds, so the grip never showed up and no click reached it. The grips now sit in the gutter, which is the inner column's padding, the way the left sidebar's grip does.
  • Visual cards. The session instructions and the show_visual description 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

  • New test the_sidebars_and_the_shell_resize_by_their_grips drags 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.
  • Before the fix it failed on the right sidebar (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.
  • No test can show how the model reacts to the new wording. It only shows up in new sessions.

Risk

Two pin offsets change, a test is added, and the card wording changes. To undo, revert this PR.

…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.
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
claudiu Ready Ready Preview Nov 17, 2026 11:50am UTC

@m4rocks m4rocks changed the title Let the right sidebar and the shell panel be resized by their grips again Let the right sidebar and the shell panel be resized again, and draw visual cards less often Nov 17, 2026
@m4rocks
m4rocks merged commit 8399090 into main Nov 17, 2026
5 checks passed
@m4rocks
m4rocks deleted the fix-resize-handles branch November 17, 2026 11:56

This branch was successfully deployed

1 active deployment
Preview — 97e19be6 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant