From 39c633ea66dcd9e94d40d614e46ea2d06da6a3a4 Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Mon, 17 Aug 2026 22:09:52 +0200 Subject: [PATCH] refactor(app): rename the Calendar view to Timeline The tab has always rendered ; only its label disagreed. Naming one thing two ways costs a reader nothing on the screen and costs the next person reading the code a lookup. The view is component state, not a stored preference, so no localStorage key moves. Prose uses of "calendar" elsewhere mean a schedule rather than this tab and are left alone. Co-Authored-By: Claude Opus 5 (1M context) --- src/client/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/App.tsx b/src/client/App.tsx index 4dc8088..6901827 100644 --- a/src/client/App.tsx +++ b/src/client/App.tsx @@ -38,7 +38,7 @@ import { } from "../shared/custom.ts"; import { metaFor } from "../shared/games.ts"; -type View = "soon" | "calendar"; +type View = "soon" | "timeline"; /** * Connection state. Offline is not an error here — the service worker serves @@ -326,7 +326,7 @@ export function App() { {( [ ["soon", "Ending soon"], - ["calendar", "Calendar"], + ["timeline", "Timeline"], ] as const ).map(([id, label]) => (