Commit Graph
1 Commits
Author SHA1 Message Date
haelyra 1da04b1d59 fix(ui-canvas): address review findings on gestures, exports, and replay
- Editor: pass the finished gesture to endResize/endDrag (mouseup cleared it
  first, so handle resize, reorder, and Alt-drag threw on release); compute
  the drop target on the move that starts a drag; report border-radius from
  the four real corner properties.
- Exports: refuse feedback for an ended session before writing any file; give
  each Apply batch its own <name>.apply-<batch>.* pair so a later batch never
  rewrites an earlier queued snapshot. Finish keeps <name>.edited.html.
- Replay: applied edits keep replaying on reload until the artifact changes
  on disk, instead of vanishing as soon as the request is queued.
- Stop hook: an ended UI session still delivers an undelivered Save and Finish.
- Shell: clamp viewports from the bootstrap and sessionStorage; `pending`
  next_step points at each session's resume command.
- Split ui.js (inspector.js, ui-css.js), editor.js (editor-gestures.js), and
  the UI routes out of plan-canvas/server.js (ui-canvas/server-routes.js) to
  keep every file under 800 lines.
- Docs: state the server-side Host/Origin checks behind the sandbox claim.
- Remove two unreferenced captured-export fixtures (one held a local path).
2026-10-25 19:22:17 -04:00