refactor(app): rename the Calendar view to Timeline

The tab has always rendered <Timeline>; 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) <[email protected]>
This commit is contained in:
Lucas Winther
2026-08-17 22:09:52 +02:00
co-authored by Claude Opus 5
parent d7b2f306ae
commit 39c633ea66
+2 -2
View File
@@ -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]) => (
<button