Commit Graph

14 Commits

Author SHA1 Message Date
Dan d20c7e8677 Don't create new data objects each time you add a data reference, rather, use the first data object you can find. If no data objects exist, add one. 2022-07-07 11:20:43 -04:00
Dan a582fa6b55 Ability to add and delete data objects (not just data object references)
Adding and removing these objects through the event bus / command stack to enable undo.
2022-07-06 13:25:53 -04:00
Dan 13a00d1762 fixes to the Data Object model - some serious cleanup of names so things make a little more sense. 2022-07-05 13:44:02 -04:00
Dan 4c413c4907 merged reverse of pre/post scripts
updated spiffworkflow moddle to use "script" rather than "text" - to match up with bpmn.io's script task.
Added some ability to change what a DataObjectReference, references.  But more work needed here.
Fixed a bug in the script task that prevented you from writing text in that script object.
2022-07-05 10:27:38 -04:00
Dan Funk b9ed7363f3
Merge pull request #5 from sartography/fix/reverse-pre-post-tags
fix reverse pre/postscript tags
2022-07-05 10:23:14 -04:00
Dan 2527bf2823 Added ability to select which data object is associated with a data object reference. 2022-07-01 13:01:52 -04:00
Elizabeth Esswein 97bd3e9abb fix reverse pre/postscript tags 2022-06-30 17:07:06 -04:00
Dan 84be279476 More test refactoring - lots of crazy hell going on in helpers.js -- but the actual tests are now very clean and simple, and should be easy to extend and replicate as this thing grows. 2022-06-30 14:02:38 -04:00
Dan 0c9e21a2a5 Adding ability to define pre-scripts and post-scripts on every task that isn't aleady a script task (All tasks, call activities and sub-processes) Scripts will show up as:
```
<userTask id="Task_1" name="What is your favorite color?">
      <extensionElements>
        <spiffworkflow:postScript>x=1</spiffworkflow:postScript>
        <spiffworkflow:preScript>answer="blue"</spiffworkflow:preScript>
      </extensionElements>
     ...
```
2022-06-27 17:29:24 -04:00
jasquat b5b4f1d9a7 added some css for the launch editor button 2022-06-17 17:04:42 -04:00
jasquat 165bb648f6 added launch button to script panel w/ burnettk 2022-06-15 17:34:45 -04:00
jasquat 152777b024 changed the magic example into the script editor that we need w/ burnettk 2022-06-15 15:13:35 -04:00
Dan cd7f3032e6 final fixes to get the custom panel to work. 2022-06-15 10:00:03 -04:00
Dan c8a14b6d4e Initial work to get a properties panel working. 2022-06-15 09:51:46 -04:00