Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Sep 09:55
· 166 commits to dev since this release
a546c13

Minor Changes

  • #209 45cdb47 Thanks @farskid! - Embedded Mode!

    The visualizer/inspector can now be used in embedded mode. In this mode, some parts of the application can be configured such as control buttons, panning, zooming, etc.

    The embed preview frame lets users configure how they want the embedded visualizer to look:

    image
  • #198 784ded9 Thanks @mattpocock! - Added generated OG images to visualized machine links. You can copy these links yourself to embed an up-to-date image of your visualized machine - for instance in docs. Here's where the share button is in the viz:

    Share button on Stately Viz

  • #246 22f1724 Thanks @Andarist! - Added a hand icon to the canvas' toolbar:

    Canvas toolbar with the hand icon

    This allows you to enable the "pan mode" to drag the canvas around without holding the spacebar button down at the same time.

Patch Changes

  • #263 4a0f041 Thanks @Andarist! - Fixed an issue with right-side panels getting cut off after stretching them and shrinking back with the resize handle.
  • #240 fbb2f00 Thanks @mattpocock! - Added support for using setInterval, setTimeout, clearInterval and clearTimeout in the viz.
  • #217 92a2bba Thanks @mattpocock! - Added a button to allow users to report any issues they find, using a GitHub issue template.

    Report an issue button in the info menu

  • #238 e074059 Thanks @mattpocock! - When you press visualize, machines will now automatically 'fit to view'. This prevents various bugs around state machines appearing not to be visible, when they're actually just off screen.
  • #214 b9020a6 Thanks @davidkpiano! - Multiple actors are now correctly visualized in the actors panel. This includes actors that are:

    • Created with createMachine(...) (automatically interpreted by default)
    • Invoked with invoke: { ... }
    • Spawned with spawn(...)
    Screenshot showing multiple actors visible in the actors panel
  • #247 bdbc892 Thanks @Andarist! - Fixed an issue with the code editor becoming visually broken after saving a machine.