trails/apps/planner/app/components
Ullrich Schäfer 743169550e
Add undo/redo to planner
Yjs UndoManager tracks waypoints, no-go areas, and notes. Only
local mutations (origin "local") are undoable — remote changes
from other users are not.

- Keyboard shortcuts: Ctrl/Cmd+Z (undo), Ctrl/Cmd+Shift+Z/Y (redo)
- Shortcuts suppressed in text inputs (browser-native undo there)
- Undo/redo buttons in header with disabled state
- stopCapturing on drag to isolate drag as one undo step
- All mutation sites wrapped with "local" origin
- 5 unit tests for UndoManager behavior
- Archived undo-redo change

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 10:04:01 +01:00
..
ClientOnly.tsx Fix SSR and automerge timing 2026-03-23 00:49:54 +01:00
ColoredRoute.tsx Add route interactions: click-to-split, drag-to-reshape, colored route rendering 2026-03-26 21:15:55 +01:00
ElevationChart.tsx Add route interactions: click-to-split, drag-to-reshape, colored route rendering 2026-03-26 21:15:55 +01:00
ExportButton.tsx Add descriptions to export dropdown, fix z-index and alignment 2026-04-03 11:06:58 +01:00
MidpointHandles.tsx Add route interactions: click-to-split, drag-to-reshape, colored route rendering 2026-03-26 21:15:55 +01:00
NoGoAreaLayer.tsx Add undo/redo to planner 2026-04-04 10:04:01 +01:00
NotesPanel.tsx Add undo/redo to planner 2026-04-04 10:04:01 +01:00
ParticipantList.tsx Add multiplayer awareness: participant list, name editing, cursor styling, join/leave toasts 2026-03-25 08:40:35 +01:00
PlannerMap.tsx Add undo/redo to planner 2026-04-04 10:04:01 +01:00
ProfileSelector.tsx Wire up i18n in both apps 2026-03-25 01:47:58 +00:00
RouteInteraction.tsx Fix waypoint drag creating unwanted split points 2026-03-29 12:34:09 +02:00
SaveToJournalButton.tsx Save full planning state to journal (waypoints + no-go areas) 2026-04-03 12:41:35 +01:00
SessionView.tsx Add undo/redo to planner 2026-04-04 10:04:01 +01:00
WaypointSidebar.tsx Add undo/redo to planner 2026-04-04 10:04:01 +01:00
YjsDebugPanel.tsx Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00