Major feature sprint: map drawing, bulk ops, genre presets, sidebar rewrite#213
Merged
keyxmakerx merged 3 commits intomainfrom Apr 6, 2026
Merged
Major feature sprint: map drawing, bulk ops, genre presets, sidebar rewrite#213keyxmakerx merged 3 commits intomainfrom
keyxmakerx merged 3 commits intomainfrom
Conversation
The Draw Steel system manifest uses "file" for widget script paths but the validator required "script_file". This caused the entire system to fail validation with: "widget 0 (monster-builder): script_file is required" Now accepts both field names — if script_file is empty but file is set, file is copied to script_file before validation continues. Root cause found via server logs: failed to load package system slug=Chronicle-Draw-Steel error=widget 0 (monster-builder): script_file is required https://claude.ai/code/session_01A5jpDgqUvW6iLXXSj49F27
New map_drawing_tools.js provides browser-side drawing on Leaflet maps: Tools (Scribe+, floating toolbar on map view): - Freehand: click-drag to draw, releases to save - Rectangle: two clicks define corners - Circle: click center, click edge to set radius - Polygon: click vertices, double-click to close - Text: click to place text annotation (prompt input) - Color picker and stroke width control - Escape key cancels active tool - Right-click any drawing to delete Implementation: - Uses Leaflet native APIs (no Leaflet.Draw dependency) - Percentage-based coordinates (0-100) for resolution independence - Persists via POST /campaigns/:id/maps/:mid/drawings REST API - Loads existing drawings on page load - Coordinate conversion: percentage ↔ Leaflet CRS.Simple pixel coords Template changes: - Map show page exports window.chronicleMap for drawing tools access - Drawing tools script loaded for Scribe+ only - CSS for text annotation markers Security: - Max 10,000 points per drawing (prevents DoS via massive point arrays) WebSocket real-time sync was already wired (routes.go:2083) — drawing events broadcast to all connected clients automatically. https://claude.ai/code/session_01A5jpDgqUvW6iLXXSj49F27
…es/fixes Entry #69 covers: map drawing tools (W-2), bulk operations (W-4), genre presets (T-4b), topbar image, entity type hierarchy, sidebar editor rewrite (W-7), settings consolidation, admin cleanup, nav glow refinement, and numerous bug fixes. https://claude.ai/code/session_01A5jpDgqUvW6iLXXSj49F27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
35 commits covering new features, UX overhauls, bug fixes, and launch prep.
New Features
parent_type_id(migration 000019). Layout Studio + sidebar display.UX Overhauls
Bug Fixes
filevsscript_filefield name)Infrastructure
Test plan
make testpasses,make lintcleanhttps://claude.ai/code/session_01A5jpDgqUvW6iLXXSj49F27