feat: open the timeline two steps further in
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) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
e587e7e106
commit
5761e89163
@@ -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.
|
* 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
|
* Two steps up from where it used to sit. Thirteen px/day opened on about a
|
||||||
* phone — dense enough that a bar's length reads as a duration rather than a
|
* quarter of calendar, and a quarter is more time than these schedules are
|
||||||
* dash, wide enough that most event names fit inside their own bar.
|
* 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.
|
* The nearest valid scale to a stored number.
|
||||||
|
|||||||
Reference in New Issue
Block a user