Conversation
…ize toggle (#1434) The Work Column was capped at 60% of the window width, cramping the Preview editor when editing .tex alongside a compiled PDF. This removes the cap and makes Chat and the Work Column fully flexible peers: - Remove the 60% width cap in workColumnWidthMax (now 100%) - Chat collapses when squeezed below 200px (CHAT_COLLAPSE_THRESHOLD) - Maximize toggle button (expand/collapse icon) at top-right of the Work Column, with tooltip showing the hotkey - Cmd+Shift+M (Ctrl+Shift+M) keyboard shortcut to toggle - Double-click on the resize handle cycles: 50/50 → full → default - Restore chevron on the collapsed Chat edge - Drag-to-collapse: dragging the handle past the Chat threshold auto-collapses; dragging back restores All Work Column surfaces benefit (Preview, Files Changed, Context, Pulse Inspector), not just .tex editing.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The Icon import from @opencode-ai/ui/icon created a circular dependency in the Vite bundle, causing 'Cannot access Se before initialization' at runtime. Replace with inline SVG chevrons — same visual, no import.
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.
Closes #1434. Part of #1430 (Overleaf parity phase 2). Part of #1252.
What
The Work Column was capped at 60% of the window width. Editing
.texalongside a compiled PDF was cramped. This makes Chat and the Work Column fully flexible peers.Changes
Cap removal
The 60% cap in
workColumnWidthMaxis replaced with 100%. The Work Column can now fill the entire window.Chat collapse
When the Work Column is expanded so wide that the Chat panel would be narrower than 200px (
CHAT_COLLAPSE_THRESHOLD), the Chat collapses entirely. A restore chevron appears on the left edge. Clicking it or pressing Cmd+Shift+M restores the previous layout.Maximize toggle button
An expand/collapse icon button at the top-right of the Work Column. Tooltip shows the hotkey. Clicking toggles between full-width Preview and the previous split.
Keyboard shortcut
Cmd+Shift+M (Ctrl+Shift+M on Linux/Windows) toggles maximize from anywhere.
Double-click snap
Double-clicking the resize handle cycles through three positions:
Drag-to-collapse
Dragging the resize handle past the Chat threshold auto-collapses; dragging back restores.
Files
session-panel-width.tsCHAT_COLLAPSE_THRESHOLD(200px)session.tsxmanifest.jsonTesting