Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/block-palette-adding.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/struktolab/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# struktolab

## 0.7.0

### Minor Changes

- 21daee0: Rework adding nodes in the editor.

- A block palette under the toolbar: drag a block into the diagram, or pick it and then pick the place. Works the same with mouse, pen, finger and keyboard.
- While placing or moving, the diagram opens a gap with a "+" block at every place the block can go, so targets are big, never overlap, and sit exactly where the node will land. This also fixes nodes that could not be added at the end of an if/else branch.
- Empty branches, cases, loop bodies and the end of the diagram show a "+" block at all times; an if/else with two empty branches gets a body to click into.
- A new node opens its text editor right away; on touch, tapping a selected node again edits it.
- Every node gets a "+" button to insert after it; a do-while's buttons sit in its footer so they are reachable, and a switch's "+ Case" button no longer overlaps them.
- Moving a node out of a body no longer leaves a duplicate slot behind.

## 0.6.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/struktolab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "struktolab",
"version": "0.6.3",
"version": "0.7.0",
"description": "A web-based structogram (Nassi-Shneiderman diagram) editor and renderer with code generation",
"type": "module",
"main": "dist/editor/struktolab-editor.umd.js",
Expand Down
7 changes: 7 additions & 0 deletions platforms/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# struktolab-studio

## 0.5.4

### Patch Changes

- Updated dependencies [21daee0]
- struktolab@0.7.0

## 0.5.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion platforms/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "struktolab-studio",
"displayName": "StruktoLab Studio",
"description": "Visual editor for .struktolab files — Nassi-Shneiderman structograms",
"version": "0.5.3",
"version": "0.5.4",
"publisher": "openpatch",
"author": "Mike Barkmin",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions platforms/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# web

## 0.5.4

### Patch Changes

- Updated dependencies [21daee0]
- struktolab@0.7.0

## 0.5.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion platforms/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web",
"version": "0.5.3",
"version": "0.5.4",
"description": "The StruktoLab web app, served at struktolab.openpatch.org",
"private": true,
"type": "module",
Expand Down