Commit Graph

46 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 212bd0c1ac a little more test cleanup. 2022-06-30 14:05:57 -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 c2390509bf Clean up the web frameworks (it is just webpack now, no more browserify)
Laying out the groundwork for running tests on the properties panel.
2022-06-28 15:30:50 -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
Dan 10caaf5242 Some quick additions so that we can run this thing independently, and still have breadcrumbs and downloads which will help when debugging with SpiffWorkflow. 2022-06-21 17:04:24 -04:00
jasquat b5b4f1d9a7 added some css for the launch editor button 2022-06-17 17:04:42 -04:00
jasquat 9c05546267 Upgrade to 0.0.3 to add button to launch editor 2022-06-16 09:24:56 -04:00
jasquat 165bb648f6 added launch button to script panel w/ burnettk 2022-06-15 17:34:45 -04:00
jasquat 6e38e9a732 Upgrade to 0.0.2 to update dependencies and get script panel working 2022-06-15 15:23:24 -04:00
jasquat 203686351b linting w/ burnettk 2022-06-15 15:22:42 -04:00
jasquat 2c336417a4 added bable preset env for ci w/ burnettk 2022-06-15 15:17:16 -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
jasquat a6ba6efd18 updated bpmn-js libs and let bpmn-js-properties-panel install the bpmn-ip prop panel it needs instead of specifying it w/ burnettk 2022-06-15 12:53:27 -04:00
Dan 1cd4220942 Merge branch 'main' of github.com:sartography/bpmn-js-spiffworkflow into main 2022-06-15 10:00:15 -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
burnettk de6c21e60e update usage example to match what we did in frontend 2022-06-10 17:34:26 -04:00
Dan Funk d8ec938281
Merge pull request #3 from sartography/dependabot/github_actions/crazy-max/ghaction-github-labeler-4.0.0
Bump crazy-max/ghaction-github-labeler from 3.1.1 to 4.0.0
2022-06-09 15:58:32 -04:00
Dan Funk 8fcab40e68
Merge pull request #2 from sartography/dependabot/github_actions/dependabot/fetch-metadata-1.3.1
Bump dependabot/fetch-metadata from 1.1.1 to 1.3.1
2022-06-09 15:58:23 -04:00
Dan Funk 89f5da0cb0
Merge pull request #1 from sartography/dependabot/github_actions/actions/setup-node-3
Bump actions/setup-node from 1 to 3
2022-06-09 15:57:56 -04:00
Dan e18bb22f6f Documenting the release process 2022-06-09 13:18:49 -04:00
Dan f8bf463a8a Npm Publication fixes. 2022-06-09 13:03:56 -04:00
Dan 175b24897b Bumping version. 2022-06-09 12:59:34 -04:00
Dan dc7cfb5ffa Allow running publish from the github ui, at least for now. 2022-06-09 12:53:52 -04:00
Dan 8cb2f7509f Fixing name 2022-06-09 12:51:52 -04:00
dependabot[bot] b33fa8bf5d
Bump actions/setup-node from 1 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 16:46:22 +00:00
Dan e0011d85de Update readme, fix github action. 2022-06-09 12:45:34 -04:00
Dan 5946b50c7c setting up an action to publish bpmn-js whenever there is a release. 2022-06-09 12:22:58 -04:00
Dan 82c0824c60 Adding tests badge. 2022-06-09 11:31:43 -04:00
Dan bb6e891833 Fxing Tests. 2022-06-09 11:26:30 -04:00
dependabot[bot] 8cd50408c8
Bump crazy-max/ghaction-github-labeler from 3.1.1 to 4.0.0
Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from 3.1.1 to 4.0.0.
- [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-labeler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-github-labeler/compare/v3.1.1...v4.0.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 15:17:54 +00:00
dependabot[bot] 7e62980b56
Bump dependabot/fetch-metadata from 1.1.1 to 1.3.1
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.1.1 to 1.3.1.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.1.1...v1.3.1)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 15:17:52 +00:00
Dan 4a62a6a804 Setting up some github workflows/actions 2022-06-09 11:17:29 -04:00
Dan 228478426b setting up some basic tests - just to assure things are working correctly. 2022-06-08 16:31:17 -04:00
Dan 8a244e5dc9 add license, update readme, add more docs in the file. 2022-06-07 15:30:55 -04:00
Dan 886daf9363 update readme with pretty picture 2022-06-07 15:15:32 -04:00
Dan f1b98bcb70 all the components for doing data/input and data/output 2022-06-07 15:08:47 -04:00
Dan e46505e9a3 Add IO Palette to display the input and output elements. 2022-06-07 14:52:29 -04:00
Dan 8cf9f9ca91 first commit 2022-06-07 14:16:49 -04:00