GeezerVison is showing github.com — feat(web): reset right panel width on double click by t3-code-bot[bot] · Pull Request #12395 · pingdotgg/t3code
Conversation
t3-code-bot
Bot
commented
Sep 18, 2026
•
edited by juliusmarminge
Loading
Uh oh!
There was an error while loading. Please reload this page.
Right panels remember resized widths but have no quick way back to their current default. Double-clicking the existing divider now restores the clamped default and removes only that panel's saved override, so a later mount can choose a responsive default again.
The reset lives in the shared resize hook and uses its current bounds. Width updates before storage removal, so storage failures still allow a visible reset. Existing per-thread persistence, drag cleanup, CSS-variable resizing and panel presentation remain intact. Inline non-maximized panels inherit the gesture; other presentations have no divider. Native mobile is unchanged.
Validation: replaced the original three mock tests with two browser behavior tests in the existing suite. Exact main hook: 13 pass / 2 fail; final hook: 15 pass. The two tests cover current clamped defaults, current-key-only removal, adaptive remounts, and storage failure. Including existing PreviewPanelShell coverage, 25 browser and 13 unit tests pass. Scoped web typecheck, targeted lint/format and diff checks pass.
Live verification used the actual authenticated local web app and Files panel, with trusted pointer dragging and double-clicking. A drag saved 664px. With the exact main hook, double-click left 664px saved. On the takeover head it reset to 540px, removed the thread's saved key, and remained 540px after full reload. The temporary main-hook substitution was restored before validation and publication.
Before — exact main hook, after double-click:

Before recording
After — takeover head:

Reset and reload recording
The shared hook and divider also serve preview, device and pull-request panels in web and desktop. Those individual surfaces, hosted/remote/tunnel modes, Electron, macOS, Windows, iOS and Android were not run here. Native mobile does not use this hook. Coordinator owns landing.
Independent full-diff R1 reviews by Opus and Sol found no blockers. A narrow 1024px viewport also reset a dragged 360px panel to the current 408px maximum and cleared its saved override.
Credit: original contribution by @cmaciasjimenez and request by @extoci, carried forward from #11219 through #12395. Their existing coauthor trailers remain unchanged.
Maintainer takeover: Codex gpt-6.1-sol in T3 Code; tests by Codex gpt-6-astra; independent review by Claude Opus 5.5 and Codex gpt-6-sol.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
ilyaliao reacted with rocket emoji
Approvability
Verdict: Approved at 37ea3a3
Macroscope's review found this PR approvable — Adds a narrowly scoped double-click gesture to restore an existing panel-width default and clear only that panel’s saved override. The production impact is confined to the shared resize hook, with browser tests covering clamping, key isolation, remount behavior, and storage failures.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Thread transfer impact
⚠️ The latest CI run did not produce a thread transfer result for 37ea3a3.
This comment will update automatically after the next completed run.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Taking over this one for maintainer batch settings-theme-01. I will preserve the original branch and contributor credits, merge current main, reduce the tests to the required behavior, and verify the divider interaction before pushing. Landing remains with the coordinator.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
commented
Oct 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
updated the original branch at 37ea3a3d58e328669a81a783ca13b10bd4287a4a. merged current main and preserved the contributor commits and credits. the reset keeps the original current-default/current-key behavior while retaining main's stable drag ref and cleanup. reduced the old test file to two focused browser cases using real double-clicks.
verification passed:
- blacksmith
vp run check:changed: format, lint, both knip checks, affected typechecks, and both browser tests. the same two tests failed against main's hook before the fix.
- actual local web app in system chrome: drag to 664px, double-click to 540px, saved key removed, reload at 540px, then drag and reload at 664px.
- 1024px viewport: drag to 360px, double-click to the current 408px maximum, saved key removed.
- two independent sol reviews found no issues on this exact head. uploaded images and video playback/seek were inspected.
github ci: all 30 checks are green on this head, and the branch is conflict-free. the web suite passed after one rerun: its initial failure was an unchanged attachment-preview test counting a background environment-discovery fetch. no unrelated code was changed. macroscope approved the current head.
unverified: electron separately, other panel contents, remote/tunnel modes, native clients, and inline pr video playback. github renders the screenshots inline; gitcafe renders external media as links. direct recording playback and seeking passed.
before: main's hook leaves the panel at 664px after double-click.

after: the same panel resets to 540px.


|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Note 🤖 Claude Opus 5.5 responding on behalf of Theo
Closing. This PR has been open for more than 3 weeks, and main has moved a long way since then. If the change still matters, open a fresh PR from current main.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Labels
size:S
10-29 changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|