3 Commits
Author SHA1 Message Date
lucioandClaude Fable 5 72fa9f5742 Stop tracking tile pyramids; add tools/release.py for Gitea static releases
The tiles were 10.7k LFS objects for 82 MB: almost all of the per-object
transfer cost of a push/pull for 1% of the bytes. build.py regenerates them
from the committed build/<id>/base.png in a couple of minutes (and skips the
PSD render via base.stamp.json), so web/tiles* go back to .gitignore.

tools/release.py makes a stable static-site release: the read-only export ZIP
(server/serve.py export_static_site), an annotated git tag, and a Gitea
release for that tag with the ZIP attached through the REST API
(GITEA_TOKEN from env or .env). README documents the flow and deployment.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-22 09:59:16 -07:00
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