From 5761e89163ff9d2ad983ec25e9075c5f7b015320 Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Tue, 18 Aug 2026 22:23:58 +0200 Subject: [PATCH] feat: open the timeline two steps further in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thirteen px/day opened the board on about a quarter of calendar, which is more time than these schedules are written in: a patch is six weeks, so most bars were short enough that their length stopped reading as a duration and their title no longer fit inside the bar it named. Thirty- two opens on roughly one patch cycle on a laptop. Only new readers move. `prefs` is written on every load, so anyone who has opened the app has a timelineDayWidth of their own and keeps it. A phone now shows about twelve days rather than thirty, which is the cost; the longer view is one press of − away and that answer is remembered. Co-Authored-By: Claude Opus 5 (1M context) --- src/client/state/zoom.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/client/state/zoom.ts b/src/client/state/zoom.ts index afe0495..a810a59 100644 --- a/src/client/state/zoom.ts +++ b/src/client/state/zoom.ts @@ -15,11 +15,18 @@ export const DAY_WIDTHS = [6, 9, 13, 20, 32, 48] as const; /** * The scale the board opens at for a reader who has never touched the control. * - * Thirteen px/day is a little over a quarter on a laptop and a patch cycle on a - * phone — dense enough that a bar's length reads as a duration rather than a - * dash, wide enough that most event names fit inside their own bar. + * Two steps up from where it used to sit. Thirteen px/day opened on about a + * quarter of calendar, and a quarter is more time than these schedules are + * written in: a patch is six weeks, so most bars were short enough that the + * length stopped reading as a duration and the title stopped fitting inside the + * bar it belonged to. Thirty-two opens on roughly a patch cycle on a laptop — + * bars long enough to compare by eye, and wide enough to carry their own name. + * The longer view is one press of − away, and that answer is remembered. + * + * This moves new readers only: `prefs` is written on every load, so anyone who + * has opened the app has a `timelineDayWidth` of their own and keeps it. */ -export const DEFAULT_DAY_WIDTH = 13; +export const DEFAULT_DAY_WIDTH = 32; /** * The nearest valid scale to a stored number.