Skip to content

Feat dnd - #50

Merged
pod-III merged 19 commits into
mainfrom
feat-dnd
Jun 14, 2026
Merged

Feat dnd#50
pod-III merged 19 commits into
mainfrom
feat-dnd

Conversation

@pod-III

@pod-III pod-III commented Jun 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

pod-III and others added 19 commits June 14, 2026 08:54
… character data format, migrate localStorage to kk_dnd_campaigns key, add prompt modal type with input field, implement multi-campaign cloud sync, and auto-create default character for empty campaigns
…, add snap-to-grid for token placement with odd/even size logic, improve tool UI with descriptions and section dividers, replace token resize buttons with direct size selection menu, add tool-specific cursors, and prompt for grid squares on map upload to auto-calculate cell size
…I with card grid and sort options, map duplication, auto-save indicator, campaign assignment per map, and enhanced metadata tracking (createdAt, lastUsed, usageCount)
…10-5 diagonal measurement, waypoint markers with click-to-place/remove, active combatant token highlighting, import combatants from map tokens, ruler overlay canvas with distance labels, ping tool for player mode, and waypoint persistence in map data
…ll drawing tool with polygon creation and live preview, implement wall editing with node dragging/insertion/deletion, add wall erase tool with click-to-delete, convert wall interiors to fog shapes with stone-textured borders, add cyan visual indicators for DM wall editing mode, remove player fog reveal tool, and integrate wall persistence with undo/redo and map save/load
… Fill Room tool with flood-fill fog creation inside closed wall boundaries, implement wall segment drawing with drag-to-create and endpoint snapping, add wall edit mode with endpoint dragging and segment merging, update wall erase to delete individual segments, remove wall-generated fog shapes in favor of manual room fills, and add F hotkey for Fill Room tool
…putation, LOS toggle button with on/off states, separate LOS canvas layer with green tint for DM mode and full darkness cutout for player mode, cache invalidation on token movement and wall changes, ray-segment intersection algorithm with angle-based casting, and automatic LOS recomputation on token/wall mutations
… handling, evenodd fill rule for overlapping polygons, and improved ray-segment intersection with epsilon tolerance to prevent gaps and ensure correct winding order
…ectedToken separately from activeToken for keyboard control, move tokens by grid step with arrow keys, and remove F hotkey for FOG_DRAW tool
…cement with drag-to-create and click-to-toggle, implement door (brown) and window (cyan) variants with D/W switcher button, integrate open/closed states with LOS raycasting where closed openings block vision, add opening erase with wall erase tool, migrate old doorSegments/windowSegments data to unified openingSegments array, and change F hotkey to O for opening tool
…th grouped icon-based buttons, add selected token ring indicator for arrow key movement, and hide tool sidebar in player mode
…layer View" button to open second window, broadcast state updates on token movement/LOS toggle/history push/transform changes, auto-hide DM UI in player window, and sync tokens/fog/walls/openings/waypoints/grid/transform in real-time between DM and player windows
…ontext menu, exclude DM tokens from LOS generation, default new tokens to PC, persist isPC flag in save/load/undo/redo, add player-ready handshake for immediate state sync on player window open, and fix player window canvas sizing on map load
…, dark map overlay toggle, optimize player window map image broadcast with separate channel and loading screen, clip LOS polygons to view distance circles in both DM and player modes, add view distance slider (5-120m) and metres/square input (0.5-30m), show dashed green rings for DM view distance, send map image only on map change to reduce broadcast payload, add player window loading screen with DM connection retry, and persist
…ist, replace raycasting LOS with simple distance-based fog in open maps, show dashed green rings in DM mode for open-world view distance, apply losDarkMap toggle to control outer darkness (full black vs 50% dim) in player open-world mode, and skip polygon computation when wallSegments and openingSegments are empty
…d campaign cloud sync with create/update/delete operations, persist LOS settings (gridMetresPerSquare, losEnabled, losDarkMap, losViewDistance) in map save/load, sync walls and tokens separately via vttSaveWalls/vttSaveTokens, implement background cloud merge after local boot to prevent UI blocking, add token library cloud sync with vttSaveTokenLibraryEntry, and add sandbox localStorage fallback for all vtt_* operations
feat: add role-based privilege filtering across UI, hide pro/admin-on…
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
klasskit Ready Ready Preview, Comment Jun 14, 2026 11:57pm

@pod-III
pod-III merged commit 866de21 into main Jun 14, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant