Puzzles on phones: fixed overlays that never scroll

A bar pinned at the top holds the puzzle's state (name, stars, money,
undo, menu), the goal being worked on with Show me, and a chip per flow
that opens its city. A city or a link opens a short card at the bottom,
split into tabs (links, router, traffic; size, traffic, routing) that
each fit on a 360 px phone, portrait or landscape. Architect runs get
the same bar. Reset moves to the menu on phones. Desktop is unchanged.
The old swipe-up sheet and its peek state are gone.
This commit is contained in:
Frederic Jung 2026-11-05 17:14:40 +01:00
parent d7fb2a9617
commit 107b0b825a
No known key found for this signature in database
10 changed files with 292 additions and 39 deletions

View file

@ -439,6 +439,8 @@ const API_VIEW={
bankClose:{args:[],doc:'Close the bank.'},
closePanel:{args:[],doc:'Close the selection panel.'},
tab:{args:[['t','string']],doc:'Switch the city panel\'s tab.'},
pzCity:{args:[['c','cityId']],doc:'Puzzles on a phone: open a city\'s card from its flow chip.'},
pzTab:{args:[['k','string'],['t','string']],doc:'Puzzles on a phone: switch the city (k:"city") or link (k:"link") card\'s tab.'},
leftTab:{args:[['t','leftTab']],doc:'Switch the left drawer and open it.'},
toggleLeft:{args:[],doc:'Open or close the left drawer.'},
netFocus:{args:[['id','netId']],doc:'Focus one network in the left drawer.'},