Skip to content

Commit 12c0768

Browse files
author
zelzhou
authored
feat(stepfunctions): use readonly mode of workflowStudio to render StateMachine in CDK Applications (#6874)
## Problem As we added support for WorkflowStudio in Toolkit for editing ASL language files, we want to upgrade the render StateMachine Graph in CDK applications experience with the a readonly mode of WorkflowStudio which has better visualization, a code pane for view ASL definition, an export mechanism for exporting ASL definition in JSON/YAML or PNG/SVG. ## Solution Removed the old visualization classes that links to the legacy renderer CDN. From the `renderStateMachineGraphCDK` wizard, upon finding the `template.json` file for a specific stateMachine, we send the file uri to WorkflowStudioEditorProvider to open a readonly WFS to render the StateMachine Graph. --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 65a1fc5 commit 12c0768

19 files changed

+140
-1242
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"newChange": "echo 'Must specify subproject/workspace with -w packages/<subproject>' && false",
3434
"createRelease": "echo 'Must specify subproject/workspace with -w packages/<subproject>' && false",
3535
"lint": "npm run lint -w packages/ --if-present",
36-
"lintfix": "eslint -c .eslintrc.js --ignore-path .gitignore --ignore-pattern '**/*.json' --ignore-pattern '**/*.gen.ts' --ignore-pattern '**/types/*.d.ts' --ignore-pattern '**/src/testFixtures/**' --ignore-pattern '**/resources/js/graphStateMachine.js' --fix --ext .ts packages plugins",
36+
"lintfix": "eslint -c .eslintrc.js --ignore-path .gitignore --ignore-pattern '**/*.json' --ignore-pattern '**/*.gen.ts' --ignore-pattern '**/types/*.d.ts' --ignore-pattern '**/src/testFixtures/**' --fix --ext .ts packages plugins",
3737
"clean": "npm run clean -w packages/ -w plugins/",
3838
"reset": "npm run clean && ts-node ./scripts/clean.ts node_modules && npm install",
3939
"generateNonCodeFiles": "npm run generateNonCodeFiles -w packages/ --if-present",

packages/core/resources/css/stateMachineRender.css

Lines changed: 0 additions & 265 deletions
This file was deleted.

0 commit comments

Comments
 (0)