mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-04 03:47:02 +01:00
* feat(globe): one globe, one level per tap, one colour scale with its legend The home page, /places, /places/tax and every statistic now draw the same globe (`Atlas`, configured by `mode` and `layer`), not two renderers with their own colours. Drill-down: what is drawn and what a tap can reach follow the place chosen, never the zoom (`drill.ts`). World -> country -> its first-level places (Wyoming whole, beside the other states) -> the places Solon draws there (Wyoming's counties) -> a county's towns. A tap reaches only a child of the place open; Back goes up one level. Opening the United States used to draw Wyoming's counties directly, so the tap after "Wyoming" chose a county. The map data now carries the levels between a country and its drawn places (`above`), the pack's ISO 3166-2 places (`regions`, so Texas opens its page), and how much law Solon holds at each place (`law`, from counts.ts). Colour: one scale from the design tokens, read out by a legend under the globe on every page: acts of law in force, 1-9 to 10,000 and more, and "none yet", which is now the colour such places are painted. Phone: the canvas takes `touch-action: pan-y` so a vertical swipe scrolls the page; town dots answer within 22px (a 44px target), nearest first; Back, the place's page and the legend sit outside the canvas. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(ci): give tests 30 s on the merge check's shared, low-priority runners Three CPU-heavy unit tests overran Vitest's 5 s default when the laptop ran two forge-ops jobs at nice 15 and failed solon#607's merge check on code that passes everywhere else. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>