mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
A point of a value line now shows a card for that line and that point only: its name, the value with its unit, the stretch it is the mean of and the readings behind it, in the tooltip the other charts use. Each point has a 24 px HTML target over it: a pointer resting on it shows the card, the keyboard reaches every line once and walks its points with the arrows, a tap shows the card and a second tap (or its "View the whole day") opens the day. The card is clamped to the chart's width. The SVG's native titles are gone. The two screen-reader tables beside the chart were hidden with sr-only on the table element itself, where overflow: hidden does not apply: they laid out at full size below the page and made <main> scroll sideways and past its last card. They are hidden by a wrapper now, and the page ends where its content does at every width, with and without the docked day. The docked day stays open across pages. Leaving a page drops ?day= from the URL, and the column folded to its edge on every navigation. The remembered day now also remembers that it was left open (per account and record, as before); a page reached without ?day= while it was left open brings the day back, without taking focus from the page. Folding, closing, Escape, a swipe down or opening the Coach's conversations beside it is what closes it.