fix(webapp): the map's thumbnail under its tiles, and a taller map on a phone (#1286) #1287

Merged
claude-bot merged 1 commit from fix/4.6.2-rc4 into main 2026-10-30 08:12:17 +00:00
Collaborator

Closes #1286. For 4.6.2-rc4: the owner's findings on rc3, on a phone.

  • The map never sharpened on zoom. #1282's thumbnail L.imageOverlay used Leaflet's overlay pane (z-index 400 in leaflet.css), which sits above the tile pane (200), so it covered the sharp tiles. It now has its own pane, qmapThumb, at 150. The canvas test asserts the pane and its z-index.
  • The map's box was a short strip on a phone. The inline aspectRatio becomes --qmap-ratio, still used on wide screens with the existing max-height. At 640 px and under, the box is 70svh tall.

Checked: vitest src/pages/wiki (349 passed); eslint reports 0 errors; changelog.py check passes. Frontend only, no backend change.
Not checked: not seen on a real phone; the owner checks on rc4.

🤖 Generated with Claude Code

Closes #1286. For 4.6.2-rc4: the owner's findings on rc3, on a phone. - **The map never sharpened on zoom.** #1282's thumbnail `L.imageOverlay` used Leaflet's overlay pane (z-index 400 in `leaflet.css`), which sits above the tile pane (200), so it covered the sharp tiles. It now has its own pane, `qmapThumb`, at 150. The canvas test asserts the pane and its z-index. - **The map's box was a short strip on a phone.** The inline `aspectRatio` becomes `--qmap-ratio`, still used on wide screens with the existing max-height. At 640 px and under, the box is `70svh` tall. **Checked:** vitest `src/pages/wiki` (349 passed); eslint reports 0 errors; `changelog.py check` passes. Frontend only, no backend change. **Not checked:** not seen on a real phone; the owner checks on rc4. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(webapp): the map's thumbnail under its tiles, and a taller map on a phone (#1286)
All checks were successful
CI / Does this change touch the recording path? (pull_request) Successful in 14s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Which journeys does this change need? (pull_request) Successful in 24s
CI / Bot/backend version sync (pull_request) Successful in 30s
CI / Backend lint (ruff) (pull_request) Successful in 37s
CI / Feedback site tests (pull_request) Successful in 50s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 59s
CI / Bot tests and audit (pull_request) Successful in 2m7s
CI / Docker image build (pull_request) Successful in 4m44s
CI / Frontend (shard 2/2) (pull_request) Successful in 15m58s
CI / Frontend (shard 1/2) (pull_request) Successful in 18m23s
CI / End-to-end journeys (desktop) (pull_request) Successful in 13m39s
CI / Backend migration, tests, and audit (pull_request) Successful in 52m50s
094bf7ad76
The thumbnail overlay was in Leaflet's overlay pane (400), above the tile
pane (200), so the sharp tiles never showed; it gets its own pane at 150.
The canvas's aspect ratio moves to a CSS variable, and at 640 px and under
the box is 70svh tall instead of the map's shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-bot scheduled this pull request to auto merge when all checks succeed 2026-10-30 07:19:30 +00:00
claude-bot deleted branch fix/4.6.2-rc4 2026-10-30 08:12:18 +00:00
Sign in to join this conversation.
No description provided.