Commit graph

4 commits

Author SHA1 Message Date
Andre482
4bac5c0b35 Release 1.0.12: Multiline labels, inspector auto-expand, and pan-from-node fixes.
Improves label editing in the inspector and on nodes, renders line breaks on the diagram, and lets users pan by dragging from nodes while tap/click still selects.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 23:46:45 +03:00
Andre482
bb4bbcde18 Release 1.0.10: Fit zooms out enough to show the full diagram.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 21:22:13 +03:00
Andre482
a784ad5851 Fix inline-edit cancel, lenient file/view validation, and filename hardening
- Inline edit: add one-shot guard so Enter commits once (no duplicate
  undo/render) and Escape reliably cancels instead of saving via blur.
- validateBowtie: normalize threats/consequences missing barrier arrays or
  labels instead of throwing and flagging recoverable files as malformed.
- deserializeBowtie: sanitize and clamp view zoom/pan to avoid an invisible
  canvas and Infinity divide during export.
- Add shared sanitizeBaseName: strip control/leading/trailing dot chars,
  reject bare dot names, and escape Windows reserved names; reuse for new
  file and PNG export names.
- Add model tests for the above.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 19:46:47 +03:00
Andre482
8a376a87a8 Release 1.0.8: Pan from anywhere on touch, keyboard selection, and quality audit.
- Single-finger touch panning now works even when starting on a node; a tap still selects.

- Add keyboard node selection (Tab/Enter/Space/Escape) and validated settings input.

- Guard against overwriting malformed .bowtie files; show a notice and keep original data.

- Add Vitest tests (model/layout/panZoom) and a GitHub Actions CI workflow.

- Split bowtieView into history/panZoom/stackRows/externalSync modules; refresh README, examples, and contributor docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 19:26:42 +03:00