statelyai / studio-issues

Report issues found in Stately Studio
5 stars 0 forks source link

[Visual Editor] Cannot pull out child state from parent #136

Open aral opened 1 year ago

aral commented 1 year ago

Description

I created a child state. Now I think it would be better as a separate state so I want to pull it out of its parent state. I haven’t been able to find a way to do that.

Things I’ve tried:

  1. Dragging the state outside the parent (the parent’s boundaries grow)

  2. Trying keyboard modifiers to see if that would work (ctrl, alt, shift)

  3. Trying to cut the child state, click on the canvas outside the parent and paste the state back (does not work, as statelyai/studio-issues#135.)

  4. Dragging the child state up in the sidebar tree (you don’t seem to be able to reorder nodes in the sidebar tree).

  5. Searching for documentation/inline help on the subject but couldn’t find any.

Expected Result

It should be possible to change the hierarchy of states.

Actual Result

It doesn’t seem to be possible to change the hierarchy of states.

Reproduction

https://stately.ai/registry/editor/60414bc8-3740-48e0-a223-b0bdd4575f79?machineId=a005dd2a-f6a0-4240-bade-5beec2654f42

Additional context

Mozilla Firefox 105.0.1 (64-bit) (on Fedora Silverblue)

davidkpiano commented 1 year ago

Quick note: it is possible to change the parent of a state node as a workaround:

https://user-images.githubusercontent.com/1093738/202229002-e2cfc740-4dbe-4204-9bc4-ce226629cf17.mp4