Auto picks panes from 900 px wide, a laptop's window too, not 1600

One pane and the stack of earlier ones beside it read well from there. The browser tests start in
the column (playwright.config.ts) where they mean it; a panes test lets the layout follow the window
(helpers.ts autoLayout). New: auto gives panes at 1366 and the column at 820 and 390.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
thalladaandClaude Opus 5.5 committed 2026-11-16 16:31:21 -05:00
1 parent f8d663ebc1
commit 5f6ea8e5c9
13 files changed
+53 -19

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ export const HELP: [string, [string, string][]][] = [
["/resolve", "have the model resolve open conflicts"],
["/auto on|off", "reconcile automatically after edits"],
["/speculate on|off", "start writing the focused sentence's expansion early"],
["/view mode", "page layout: auto, column or panes; auto shows panes on windows 1600 px wide or more"],
["/view mode", "page layout: auto, column or panes; auto shows panes on windows 900 px wide or more"],
["/curves on|off", "in panes: the faint curves from where each pane was opened to it"],
["/colors line|top|edge|off", "in panes: each fork's own colour, on its curves and the rule under its panes' titles (line, the default), across their tops, down their left edges, or none"],
["/user name", "set the name on your commits"],
+1 -1
View File
@@ -130,7 +130,7 @@ export type View = "auto" | "column" | "panes";
export type Colors = "line" | "top" | "edge" | "off";
const COLORS: Colors[] = ["line", "top", "edge", "off"];
/** The narrowest window, in CSS px, on which `auto` chooses panes. */
export const PANES_MIN_WIDTH = 1600;
export const PANES_MIN_WIDTH = 900;
/** Text being generated that is not in the document yet. */
export interface Pending {