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

Enables viz to send events in child machines #352

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

sfvb
Copy link

@sfvb sfvb commented Mar 31, 2022

This commit enables to send events in child machines by clicking on the transitions.
https://discord.com/channels/795785288994652170/958236297967829042/958707869501501500

This commit enables to send events in child machines
by clicking on the transitions.
https://discord.com/channels/
795785288994652170/958236297967829042/958707869501501500
@changeset-bot
Copy link

changeset-bot bot commented Mar 31, 2022

⚠️ No Changeset found

Latest commit: 63114a7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Mar 31, 2022

Someone is attempting to deploy a commit to the Stately Team on Vercel.

A member of the Team first needs to authorize it.

@Andarist
Copy link
Member

Andarist commented Apr 1, 2022

Could you elaborate? What is the exact user story here? I'm not sure how to properly test this.

@sfvb
Copy link
Author

sfvb commented Apr 1, 2022

@Andarist
For sure.
Use for example this machine:
https://stately.ai/viz/1cd64657-0d61-4ce7-b198-295de5e3f119

Behaviour In the current version:
If you spawn a child machine, select the child machine in the Actors tab and then click on a transition: nothing will happen.
https://www.loom.com/share/1bde3e788f104c0a80fd3f812f820b07

Desired behaviour after this PR:
If you spawn a child machine, select the child machine in the Actors tab and then click on a transition: the event is send to the child and the machine transitions to the new state.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants