Repository navigation
fix(web): remember maximized browser when reopening side panel - #30121
digitalbase wants to merge 1 commit into
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Hiding and reopening the side panel now preserves its previously selected maximized layout. Initial defaults remain unchanged, and users can still restore the panel using the existing control. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Note Written by Verified in a real dev environmentverified
before, reopened on main: after, reopened on the pr: maximize, close, and reopen on the pr: Not verifiednative electron, macos/windows shortcuts, ios/android, and remote relay/tunnel connections were not exercised on this linux web run. uploaded video playback and seeking were checked in chrome; playback inside t3's own media viewer was not exercised. |



before
t3-code-maximise-lost.mp4
after
T3.Code.Beta.with.fix.mp4
Closing the side panel with its toggle shortcut clears its saved maximized state. Reopening the Browser panel therefore restores the narrow layout, forcing users to maximize it again each time.
Preserve the per-thread size preference when hiding the panel. The existing open-state guard still restores the chat while the panel is hidden, and the maximize/restore control still changes the saved preference. This is a small, focused fix to the existing panel toggle behavior.
Verification on macOS Apple Silicon:
maximizedvalue isundefined, and passes with the fix.vp run check:changed upstream/main --concurrency 2passes formatting, lint, both Knip checks, affected typechecks, the browser test, and the React Compiler check.vp run dist:desktop:artifact --platform mac --target dir --arch arm64builds and validates the upstream T3 Code app bundle.Reproduction: open the side panel, select Browser, maximize it, close the panel using the toggle shortcut, and reopen it using the same shortcut. The panel should remain maximized.
Model: GPT-6.1 Sol. Harness: Codex in T3 Code.