Uh oh!
There was an error while loading. Please reload this page.
Version Packages - #21
Merged
Merged
Conversation
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
struktolab@0.6.0
Minor Changes
21aaf82: Add StruktoLab Studio, a VS Code extension that opens
.struktolabfiles as astructogram instead of as JSON, and split the repository into a pnpm workspace to
make room for it: the component library moves to
packages/struktolab, the web appto
platforms/web, and the extension lives inplatforms/vscode.The editor gains an
embeddedattribute for hosts that own the file — it hides theSave/Load buttons and turns PNG/SVG export into an
export-imageevent — and ashared document envelope (
serializeDocument,applyDocument) so a structogrammoves between a file and a shared URL unchanged.
21aaf82: Six usability changes to the editor.
Ctrl+Z/Ctrl+Shift+Z, toolbar buttons, andeditor.undo()/editor.redo()on thecomponent. Deleting a node is no longer a one-way door. Under
embeddedthehistory is left to the host, so VS Code's own undo stack stays in charge.
instead of mouse-only handlers, and hit areas grow on coarse pointers, so
tablets can do everything a mouse can.
navigation in reading order,
Enterto edit,+to insert,Deletetoremove, and a visible focus ring. Each node is exposed as a button named like
If/Else: a[i] > max.green bar with a
+that opens the type menu right there, and each nodecarries its own move and delete buttons, revealed on hover or focus. The
toolbar's row of node types and its delete mode are gone entirely; what
remains is undo/redo, a view-settings popover (language, size, scale, colours)
and the file actions, on one row that collapses to icons on narrow screens.
pointer and thickens the slot it would land in; tapping the grip and then a
slot still works, and
mdoes it from the keyboard. The node being carried isoutlined, the diagram no longer grows and slides out from under the pointer
when a move starts, and
Escapeputs it back.moveNodedetached the nodebefore looking for the target, so a target inside that node could no longer be
found and the half-finished move was returned with the node — and everything
nested in it — gone. It is now a no-op, and those slots are not offered in the
first place.
i = 2 bis nnowgenerates
for i in range(2, n + 1),for (int i = 2; i <= n; i++)and theJavaScript equivalent, instead of repeating the German verbatim. Text that is
not a range is still passed through untouched.
struktolab/core, a new DOM-free entry point exporting the parser, the codegenerator and the tree operations for use in Node.
In VS Code,
StruktoLab: Open Generated CodeandCopy Generated Codeturn theactive structogram into Python, Java or JavaScript.
struktolab-studio@0.5.0
Minor Changes
21aaf82: Add StruktoLab Studio, a VS Code extension that opens
.struktolabfiles as astructogram instead of as JSON, and split the repository into a pnpm workspace to
make room for it: the component library moves to
packages/struktolab, the web appto
platforms/web, and the extension lives inplatforms/vscode.The editor gains an
embeddedattribute for hosts that own the file — it hides theSave/Load buttons and turns PNG/SVG export into an
export-imageevent — and ashared document envelope (
serializeDocument,applyDocument) so a structogrammoves between a file and a shared URL unchanged.
21aaf82: Six usability changes to the editor.
Ctrl+Z/Ctrl+Shift+Z, toolbar buttons, andeditor.undo()/editor.redo()on thecomponent. Deleting a node is no longer a one-way door. Under
embeddedthehistory is left to the host, so VS Code's own undo stack stays in charge.
instead of mouse-only handlers, and hit areas grow on coarse pointers, so
tablets can do everything a mouse can.
navigation in reading order,
Enterto edit,+to insert,Deletetoremove, and a visible focus ring. Each node is exposed as a button named like
If/Else: a[i] > max.green bar with a
+that opens the type menu right there, and each nodecarries its own move and delete buttons, revealed on hover or focus. The
toolbar's row of node types and its delete mode are gone entirely; what
remains is undo/redo, a view-settings popover (language, size, scale, colours)
and the file actions, on one row that collapses to icons on narrow screens.
pointer and thickens the slot it would land in; tapping the grip and then a
slot still works, and
mdoes it from the keyboard. The node being carried isoutlined, the diagram no longer grows and slides out from under the pointer
when a move starts, and
Escapeputs it back.moveNodedetached the nodebefore looking for the target, so a target inside that node could no longer be
found and the half-finished move was returned with the node — and everything
nested in it — gone. It is now a no-op, and those slots are not offered in the
first place.
i = 2 bis nnowgenerates
for i in range(2, n + 1),for (int i = 2; i <= n; i++)and theJavaScript equivalent, instead of repeating the German verbatim. Text that is
not a range is still passed through untouched.
struktolab/core, a new DOM-free entry point exporting the parser, the codegenerator and the tree operations for use in Node.
In VS Code,
StruktoLab: Open Generated CodeandCopy Generated Codeturn theactive structogram into Python, Java or JavaScript.
Patch Changes
web@0.5.0
Minor Changes
21aaf82: Add StruktoLab Studio, a VS Code extension that opens
.struktolabfiles as astructogram instead of as JSON, and split the repository into a pnpm workspace to
make room for it: the component library moves to
packages/struktolab, the web appto
platforms/web, and the extension lives inplatforms/vscode.The editor gains an
embeddedattribute for hosts that own the file — it hides theSave/Load buttons and turns PNG/SVG export into an
export-imageevent — and ashared document envelope (
serializeDocument,applyDocument) so a structogrammoves between a file and a shared URL unchanged.
Patch Changes