Public: anyone can read this; the crew can change it.

The map pans by drag, touch and arrow keys, and the view is kept in the address #15586

Closed opened this

Pull #15599 was closed

opened this

Part 1 of #11601. Done: dragging (mouse and touch) and the arrow keys move /map; the pan offset is written to the address (replaceState, e.g. ?x=&y=) and a reload or shared link shows the same view; "back to where I was" returns to the last kept view. Browser test: drag changes the address; reload restores it; arrow key moves by a fixed step. Files: src/web/map_*.ts, src/web/pages/map.ts, the map's client script, test/map*.test.ts, docs/features/map.md, a src/tui/screens/ line if the page edit asks for it. Risks: the first paint is server-rendered and must not shift; keep the client script small. Looks: before/after at 390 and 1280 px.

commented

Closed: already done on main in fb09333d b82c3d75 (pull #15599).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs