Skip to content

feat: support the Isometric and Connection block kinds - #6

Merged
bcostaaa01 merged 2 commits into
mainfrom
feat/isometric-connection-blocks
Oct 5, 2026
Merged

bcostaaa01 merged 2 commits into
mainfrom
feat/isometric-connection-blocks

Conversation

@bcostaaa01

Copy link
Copy Markdown
Collaborator

Summary

stickyflow.js (Stickyflow/stickyflow.js#13) added isometric objects and face-attached connections. The extension's ported SFL core didn't know either block kind, so any file using them failed with unknown block kind 'Isometric'.

  • Isometric: leaf canvas object, valid from:/to: endpoint (also offered in endpoint completion). size already accepts a third (depth) value.
  • Connection: same required from/to validation as a Link; diagnostics now name the actual block kind.
  • New property vocabulary: fromFace / toFace (with face value completion), labelOffsetX / labelOffsetY, labelBackground.
  • Hover docs, outline symbols, TextMate highlighting, CHANGELOG and README.

Test plan

  • npm run compile, npm test (74 passing)
  • Sample file with two Isometric blocks and a Connection resolves with zero errors here and renders with zero diagnostics in stickyflow.js
  • Manual check in the Extension Development Host: highlighting, hover, completion, outline

stickyflow.js added isometric objects (Isometric) and face-attached links
between them (Connection), so files using either were an "unknown block
kind" parse error here. Isometric is a leaf canvas object and a valid
from:/to: endpoint; Connection gets the same required from/to validation
as a Link. Adds the fromFace/toFace, labelOffsetX/Y and labelBackground
vocabulary, face value completion, hover docs, outline entries and
highlighting.
@bcostaaa01
bcostaaa01 merged commit b47165b into main Oct 5, 2026
@bcostaaa01
bcostaaa01 deleted the feat/isometric-connection-blocks branch October 5, 2026 17:58
@bcostaaa01
bcostaaa01 restored the feat/isometric-connection-blocks branch October 5, 2026 17:59
@bcostaaa01
bcostaaa01 deleted the feat/isometric-connection-blocks branch October 5, 2026 17:59
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