docs(help): what size of map works best (#1253) #1254

Merged
claude-bot merged 1 commit from docs/map-size-guide into main 2026-10-28 05:05:53 +00:00
Collaborator

Closes #1253.

Adds "Maps, and the best size for one" to the GM guide (/help/gm), as a ### under "6. Prep". The guide keeps its ten numbered sections, so "On this page" and the pinned section count in HelpPage.test.jsx are unchanged.

What it says, and where each number comes from:

  • Landscape 3:2 or 16:9, because the frame takes the map's shape but is capped at min(70vh, 560px) (60vh on a phone), per Map.css.
  • 3,000–4,000 px on the long side, up to about 6000 × 4000 for detail. A map opens fit-to-frame and only zoom 0 is cut (map_tiles.py), so every tile loads at once.
  • JPEG with a solid background: tiles are convert("RGB") JPEG at q85. Sides in multiples of 256 avoid edge padding.
  • Limits: 75 MB (map_max_upload_bytes, configurable), 16,384 px longest side (MAX_SIDE_PIXELS), 8192 × 6144 for JPEG/PNG (MAP_MAX_PIXELS), and about 12.5 MP for WebP (_WEBP_WEIGHT = 4, which still applies to maps).

HelpPage.test.jsx passes (20 tests). Changelog fragment changelog.d/1253-map-size-guide.added.md.

🤖 Generated with Claude Code

Closes #1253. Adds **"Maps, and the best size for one"** to the GM guide (`/help/gm`), as a `###` under "6. Prep". The guide keeps its ten numbered sections, so "On this page" and the pinned section count in `HelpPage.test.jsx` are unchanged. What it says, and where each number comes from: - Landscape 3:2 or 16:9, because the frame takes the map's shape but is capped at `min(70vh, 560px)` (60vh on a phone), per `Map.css`. - 3,000–4,000 px on the long side, up to about 6000 × 4000 for detail. A map opens fit-to-frame and only zoom 0 is cut (`map_tiles.py`), so every tile loads at once. - JPEG with a solid background: tiles are `convert("RGB")` JPEG at q85. Sides in multiples of 256 avoid edge padding. - Limits: 75 MB (`map_max_upload_bytes`, configurable), 16,384 px longest side (`MAX_SIDE_PIXELS`), 8192 × 6144 for JPEG/PNG (`MAP_MAX_PIXELS`), and about 12.5 MP for WebP (`_WEBP_WEIGHT = 4`, which still applies to maps). `HelpPage.test.jsx` passes (20 tests). Changelog fragment `changelog.d/1253-map-size-guide.added.md`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs(help): what size of map works best (#1253)
All checks were successful
CI / Bot/backend version sync (pull_request) Successful in 27s
CI / Backend lint (ruff) (pull_request) Successful in 35s
CI / Does this change touch the recording path? (pull_request) Successful in 13s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Feedback site tests (pull_request) Successful in 47s
CI / Which journeys does this change need? (pull_request) Successful in 13s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 58s
CI / Bot tests and audit (pull_request) Successful in 2m7s
CI / Docker image build (pull_request) Successful in 5m22s
CI / Frontend (shard 2/2) (pull_request) Successful in 20m2s
CI / End-to-end journeys (desktop) (pull_request) Successful in 15m46s
CI / Frontend (shard 1/2) (pull_request) Successful in 25m10s
CI / Backend migration, tests, and audit (pull_request) Successful in 37m9s
6053aedd42
A sub-section of "6. Prep" in the GM guide: where maps live, the shape
and size that suit the map frame, why a very large map is slow to open
(only zoom 0 is cut, and a map opens showing every tile), and the
limits on a map's picture, including WebP's quarter-size one.

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-28 04:19:49 +00:00
rbrooks force-pushed docs/map-size-guide from 6053aedd42
All checks were successful
CI / Bot/backend version sync (pull_request) Successful in 27s
CI / Backend lint (ruff) (pull_request) Successful in 35s
CI / Does this change touch the recording path? (pull_request) Successful in 13s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Feedback site tests (pull_request) Successful in 47s
CI / Which journeys does this change need? (pull_request) Successful in 13s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 58s
CI / Bot tests and audit (pull_request) Successful in 2m7s
CI / Docker image build (pull_request) Successful in 5m22s
CI / Frontend (shard 2/2) (pull_request) Successful in 20m2s
CI / End-to-end journeys (desktop) (pull_request) Successful in 15m46s
CI / Frontend (shard 1/2) (pull_request) Successful in 25m10s
CI / Backend migration, tests, and audit (pull_request) Successful in 37m9s
to 65ed84a154
All checks were successful
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 57s
CI / Bot/backend version sync (pull_request) Successful in 27s
CI / Does this change touch the recording path? (pull_request) Successful in 12s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Backend lint (ruff) (pull_request) Successful in 1m2s
CI / Feedback site tests (pull_request) Successful in 52s
CI / Which journeys does this change need? (pull_request) Successful in 14s
CI / Bot tests and audit (pull_request) Successful in 2m8s
CI / Docker image build (pull_request) Successful in 5m10s
CI / Frontend (shard 2/2) (pull_request) Successful in 8m24s
CI / Frontend (shard 1/2) (pull_request) Successful in 10m33s
CI / End-to-end journeys (desktop) (pull_request) Successful in 15m21s
CI / Backend migration, tests, and audit (pull_request) Successful in 44m45s
2026-10-28 04:19:50 +00:00
Compare
claude-bot deleted branch docs/map-size-guide 2026-10-28 05:05:55 +00:00
Sign in to join this conversation.
No description provided.