6 Commits
Author SHA1 Message Date
lucioandClaude Fable 5 472c983287 Commit build outputs via LFS; right-click markers, inline edit box, panel pin
Make a fresh clone servable after `git lfs pull` alone, and rebuildable with
`tools/build.py` without re-rendering unchanged PSDs:

- Track build/ (rendered base PNGs, previews, world composites), web/tiles/,
  web/tiles-trimmed/, web/data/world.json and web/data/markers/. Large PNGs
  and the tile pyramids go through Git LFS (.gitattributes); JSON stays plain.
- build.py: decide PSD re-export from build/<id>/base.stamp.json (PSD size,
  mtime, SHA-256 recorded at export time) instead of file mtimes, which are
  meaningless after an LFS checkout. Same size + new mtime hashes once and
  refreshes the stamp; --stamp-only writes stamps for existing base.pngs.
- Ignore .DS_Store and .env files; track sources/**/*.jpg through LFS.

Viewer:
- Right-click (long-press) the map for a category menu that drops a draft
  marker under the pointer and enters marker edit mode for that map.
- Marker editing moves out of the side panel into a box anchored next to the
  marker: Enter or a left click anywhere else saves, Esc cancels, Delete
  inside the box; drags save position plus the box contents.
- Maps panel expands on hover, header click pins/unpins (status shown in the
  header), unpinned collapses 2 s after the pointer leaves; Overview is the
  first list entry instead of a separate button. Only the panel scrolls; the
  page never grows past the viewport. Hover tooltips render above markers.

Also includes the pending source additions (overall square base, skirt
textures, AI regeneration tooling and notes), service worker, Caddyfile and
map config updates.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-22 09:46:02 -07:00
lucio 234dc32c86 Add editable export workflow and new map sources 2026-08-09 17:04:36 -07:00
lucio bbb4cadddd Add per-map editable markers and backups 2026-08-08 22:03:49 -07:00
lucio e71447da5d Add permanent trims and semantic map layers 2026-08-08 18:47:56 -07:00
lucio 3abdc95500 Add interactive map placement and sizing editor 2026-08-08 16:40:09 -07:00
Claude 9e7ff82280 Add DOCUMENTATION.md and reconcile the other docs with it
A single technical reference covering architecture, the four coordinate
systems, the padding trick that keeps tile grids integral, the build
pipeline, both config contracts, the viewer, serving benchmarks, source-art
findings, traps, design decisions, troubleshooting and current state.

The traps section is the point of it. Six separate things cost real
debugging time -- psd-tools filling stroke-only shapes, crashing on stroke
effects with empty bboxes, and shadowing its own submodule; layer effects
needing the [composite] extra; immutable caching blending two builds; and
the tilt resisting automated measurement. Each is written down with the
symptom, so nobody pays for them twice.

Also reconciles README.md and PLAN.md, which had drifted: PLAN still
described the revision-2 per-map underlay, the 8192 px grid, 31 degrees as
current, and claimed all re3mr PSDs share the LOCATION convention -- which
revision 3 disproved. Verified every cross-document link resolves and swept
for stale figures.
2026-08-08 15:23:31 -07:00