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
9 changes: 0 additions & 9 deletions .changeset/core-expression.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/dark-theme.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/flow-scrolls-in-host.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/new-bits-informatik.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/on-primary-token.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/page-font.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/parsons-long-lines.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/phone-fixes.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/shareable-report.md

This file was deleted.

25 changes: 25 additions & 0 deletions packages/bitflow-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @bitflow/core

## 0.8.0

### Minor Changes

- [`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - `parseExpression` and `parseQuantity` — the small, hand-parsed arithmetic
language task-numeric reads answers with — are exported from core, with
optional named variables (`{ variables: { x: 2 } }`) and, when there are any,
multiplication by juxtaposition (`3x`). Nothing is ever passed to `eval` or
`Function`; a name nobody gave a value is not arithmetic.

- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - A dark theme. Every colour token is a `light-dark()` pair, so bitflow follows
the `color-scheme` of the page around it: set `color-scheme: dark` on a
container (or `light dark` on the page to follow the OS) and the flow, its
native controls and its scrollbars go dark. A page that says nothing stays
light, whatever the OS prefers.

- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - New theme token `--bitflow-color-on-primary` for text drawn on the primary
colour (filled buttons, numbered badges), so a host with a light brand colour
can keep those labels readable. `--bitflow-shadow-outline` now derives from
`--bitflow-color-primary`.

- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - bitflow no longer asks for Montserrat: `--bitflow-font-family` defaults to
`inherit`, so a flow is set in the font of the page it sits on. Set the token
to a font stack to give bitflow its own.

## 0.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bitflow-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitflow/core",
"version": "0.7.0",
"version": "0.8.0",
"author": "Mike Barkmin",
"description": "Schema, flow engine, attempt runtime and bit registry for bitflow. Pure TypeScript, no UI.",
"homepage": "https://github.com/openpatch/bitflow#readme",
Expand Down
98 changes: 98 additions & 0 deletions packages/web-component/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,103 @@
# @bitflow/web-component

## 0.2.0

### Minor Changes

- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - A dark theme. Every colour token is a `light-dark()` pair, so bitflow follows
the `color-scheme` of the page around it: set `color-scheme: dark` on a
container (or `light dark` on the page to follow the OS) and the flow, its
native controls and its scrollbars go dark. A page that says nothing stays
light, whatever the OS prefers.

- [`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Nine new task types, for the questions a school computer science book asks:

- `task-array-steps` — the array after each step of an algorithm, answered by
swapping boxes for a sort or typing into them for a stack or a queue.
- `task-binary-tree` — a binary tree walked in a traversal order, searched, or
grown by inserting keys; the right answer is worked out from the tree.
- `task-pixel-grid` — a grid painted from a palette, marked cell by cell; the
form reads a pasted PBM listing.
- `task-table` — a table with blanks to fill in, for a predicted query result
(rows in any order), a value table or a copied spreadsheet formula.
- `task-point-plot` — points on a plot assigned to classes, for a
nearest-neighbour prediction or a k-means step.
- `task-call-stack` — the call stack at moments of a program's run, built by
pushing and popping frames; the code is never run.
- `task-cardinality` — an entity-relationship diagram whose relationship ends
are labelled in Chen, min-max or UML notation.
- `task-number-line` — values placed on a number line, each marked by how
close it lands.
- `task-function-plot` — a graph sketched by setting its value at a few x
positions, marked against the function the author wrote.

A Parsons puzzle can also be drawn as a structogram (`display: "structogram"`),
a Nassi–Shneiderman diagram of the same lines: a line reading "wenn"/"if" is
drawn as a Verzweigung with its ja/nein triangle, "sonst"/"else" as the start
of its other case, and any other block as a loop's frame.

A code trace takes `1,5` for 1.5 where a number is expected, and `wahr` and
`falsch` for `true` and `false` unless the author made case count.

All nine can be answered by tapping or typing, so they work the same on a
phone.

- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - New theme token `--bitflow-color-on-primary` for text drawn on the primary
colour (filled buttons, numbered badges), so a host with a light brand colour
can keep those labels readable. `--bitflow-shadow-outline` now derives from
`--bitflow-color-primary`.

- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - bitflow no longer asks for Montserrat: `--bitflow-font-family` defaults to
`inherit`, so a flow is set in the font of the page it sits on. Set the token
to a font stack to give bitflow its own.

- [`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - `createShareableReport(doc, attempt, subject)` — an attempt's report with every
answer taken out, for a page that tells a teacher how a learner is doing
without telling them what the learner wrote. Exported from the package and from
`@bitflow/web-component/flow`, together with `parseFlow` and `flowProgress`, so
a page embedding a flow for a class needs nothing else.

### Patch Changes

- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - `<bitflow-flow>` fits the box its host gives it instead of clipping whatever
does not fit — the result page in a fixed-height box lost its bottom half. The
progress bar stays at the top and the buttons at the bottom, in a compact bar
under a divider; only the step between them scrolls. With a fixed `height` the
flow fills it; with only a `max-height` it grows with the step up to the cap;
with neither it grows with the step. Moving to a new step scrolls back to the
top, and the step no longer draws a focus ring round itself when it takes
focus on arrival.

- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Parsons puzzles wrap long lines of code inside their block, with continuations
hanging one step in, and an indented line no longer sticks out past its column
by its own indentation.

- [`171964b`](https://github.com/openpatch/bitflow/commit/171964b214156a554baaeb83615b80f6d8288906) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Tasks work on a phone.

- Ordering and Parsons lines are dragged by a grip with a finger, so a swipe
anywhere else on a line scrolls the step instead of being swallowed, and a
Parsons line can now be reordered and indented on a touch screen at all. A
drag held near the edge of the step or the page scrolls it. On a touch
screen every placed Parsons line also has buttons to move it up and down and
to indent and outdent it.
- An image annotation with point marks no longer traps a swipe that starts on
the picture.
- The graph in a graph-path task keeps readable labels and tappable places on
a narrow screen instead of shrinking with it.
- A numeric answer gets a ± key on touch screens, where the iPhone's decimal
keypad has no minus; a hexadecimal answer gets a keyboard with letters; code,
short answers and blanks are no longer capitalised or autocorrected.
- A long blank stays inside the screen, and the crossword's word boxes no
longer make iOS zoom the page.
- Drag-and-drop labels scale with the picture and have a larger target on touch
screens; highlighting spaces its words out for a finger; matching keeps the
held card in view while the learner scrolls to its partner.
- Keyboard-speed and mouse-accuracy tell a touch-screen learner that their
result will not be comparable. Nothing about the device is recorded.
- A host can reserve room at the end of the navigation bar for its own button
with `--bitflow-controls-inset-end`, and a printed flow shows the whole step
rather than the part scrolled into view.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitflow/web-component",
"version": "0.1.0",
"version": "0.2.0",
"author": "Mike Barkmin",
"description": "bitflow as framework-agnostic custom elements.",
"homepage": "https://github.com/openpatch/bitflow#readme",
Expand Down
18 changes: 18 additions & 0 deletions platforms/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# bitflow-studio

## 0.1.2

### Patch Changes

- Updated dependencies [[`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2), [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd), [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5), [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd)]:
- @bitflow/core@0.8.0
- @bitflow/bitflow@0.0.0
- @bitflow/element@0.0.0
- @bitflow/end-tries@0.0.0
- @bitflow/input-markdown@0.0.0
- @bitflow/start-simple@0.0.0
- @bitflow/task-choice@0.0.0
- @bitflow/task-fill-in-the-blank@0.0.0
- @bitflow/task-highlighting@0.0.0
- @bitflow/task-input@0.0.0
- @bitflow/task-yes-no@0.0.0
- @bitflow/title-simple@0.0.0

## 0.1.1

### 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": "bitflow-studio",
"displayName": "Bitflow Studio",
"description": "Visual editor for .bitflow files \u2014 build and preview assessments",
"version": "0.1.1",
"version": "0.1.2",
"publisher": "openpatch",
"author": "Mike Barkmin",
"license": "MIT",
Expand Down