mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
bbcf17d816
The stays Dawarich recorded used to be a panel above the timeline: every open stay of every day, stacked over the entries. A fortnight of driving puts forty of them between the reader and their own first entry, which is the scrolling Roel described on the 16th. They belong where the day is. Each day of the timeline now ends in one line: the Dawarich mark, how many stays, and the span they cover. A tap opens them, and what opens is the panel's own rows, imported rather than copied — one row this detailed in two places would be two things to keep in step and a straight hit on the duplication budget. Nothing is drawn on a day with nothing pending. A stay falls on the day it happened, which is often a day the journal has no entry on yet, and that is the whole point of offering it. Those days join the timeline so their stays can be reached at all; without that the only way to a quiet day's stays would be to write an entry on it first. Not while a search is running, where a day whose entries the query filtered out is not a day the reader is looking at. The count takes two keys picked by the number, the shape this codebase already uses for a noun that changes with it: there is no plural engine in the i18n layer, and one key with a placeholder in it reads as "1 stays". Russian, Polish, Czech, Ukrainian and Arabic inflect again at 2-4 and 5+, which two forms cannot express, so their plural puts the number after a colon, where no form has to agree with it. The phone is untouched: it opens the same list in a sheet from its own button, which is where it works on a screen that shows one entry at a time.