Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KOGITO-6903: Integrate stunner-based SWF Diagram Editor with multiplying architecture #1052

Merged
merged 49 commits into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ff2160f
Add serverless-workflow-combined-editor package
caponetto May 4, 2022
6ac773a
Add serverless-workflow-text-editor package (#20)
inodeman May 5, 2022
42c22a6
Integration between combined, diagram and text editors
caponetto May 5, 2022
4c97960
Fixes after sync with tiagobento/swf-ls2-text-doc
caponetto May 5, 2022
42bd838
Fixes after cherry-picking commits
caponetto May 6, 2022
1ececaa
Rename ServerlessWorkflowEditorChannelApi -> ServerlessWorkflowTextEd…
caponetto May 6, 2022
aad164a
Workaround hoist issues while pnpm is not in
caponetto May 7, 2022
7e8606e
Delete duplicated file after sync with main
caponetto May 7, 2022
575beca
Fixes after pnpm migration
caponetto May 11, 2022
cbebc9e
Improve loading experience of the combined editor
caponetto May 11, 2022
c38d2f1
Bring back mermaid and load it for yaml files
caponetto May 16, 2022
58e0828
Add option to provide a custom KeyboardShortcutsService in the envelo…
caponetto May 16, 2022
a79664a
Remove alias no longer necessary and replace yarn by pnpm
caponetto May 16, 2022
ff15bfd
Minor improvement to envelope paths
caponetto May 17, 2022
152abe9
Logging node click event (#24)
fantonangeli May 18, 2022
98c8e9f
Remove unnecessary dependencies
caponetto May 18, 2022
e1d5f81
Ignore WEB-INF folder when copying swEditor
caponetto May 24, 2022
db3b0c5
Fix build:prod
caponetto May 25, 2022
2b1b34b
Fix tests (@kie-tools-core/editor package)
caponetto May 25, 2022
f0ca4c5
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto May 31, 2022
3ca737f
Remove throttle
caponetto May 31, 2022
d3acba9
Minor fixes/improvements
caponetto May 31, 2022
39fad54
Use state control subscription from inner editors to add a new edit f…
caponetto May 31, 2022
6f4908e
Create a generic text formatter
caponetto May 31, 2022
998e9ca
Fix chrome-extension envelopes
caponetto Jun 1, 2022
8e0f02e
Copy stunner editor to chrome-extension deployment dir (staging/release)
caponetto Jun 1, 2022
189d691
Fix test:it dev ports
caponetto Jun 3, 2022
ac1fab7
KOGITO-7171: [SWF Editor] GWT-REACT bridge for TextEditorAPI - 2 (#27)
fantonangeli Jun 7, 2022
e687cc7
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 7, 2022
ee2666e
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 8, 2022
afba6e2
Update pnpm lock file
caponetto Jun 8, 2022
0199ded
KOGITO-7172 [SWF Editor] Analzyzing and Defining a API to manage curs…
fantonangeli Jun 9, 2022
40bb149
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 13, 2022
4cbc791
KOGITO-7369: [SWF Editor] Scroll text when selecting a node on the d…
fantonangeli Jun 14, 2022
51bb69b
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 14, 2022
9ff71e8
Rename envelope mapping type
caponetto Jun 15, 2022
25a61db
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 15, 2022
47da2fd
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 17, 2022
b2cd73a
Fix cypress
caponetto Jun 17, 2022
afa0044
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 17, 2022
c173876
Fixes after sync with main
caponetto Jun 17, 2022
eff856f
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 20, 2022
3751f2f
KOGITO-7367: [SWF Editor] Investigate on different ways to search a …
fantonangeli Jun 22, 2022
fd0a385
Add a feature flag to enable/disable stunner (default is false)
caponetto Jun 27, 2022
552783a
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jun 27, 2022
97cf1d5
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jul 4, 2022
f7315ed
Register feature toggle subscriber to context subscriptions
caponetto Jul 4, 2022
c1d4a87
Merge remote-tracking branch 'upstream/main' into KOGITO-6903-main
caponetto Jul 8, 2022
1408127
Fixes after code review
caponetto Jul 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
echo "Copy Chrome Extension resources"
rm -rf $DEPLOYMENT_DIR
mkdir -p $DEPLOYMENT_DIR
cp -r ${{ github.workspace }}/kie-tools/packages/chrome-extension-serverless-workflow-editor/dist/{fonts,*-envelope.*,*.bundle.js,*.worker.js} $DEPLOYMENT_DIR
cp -r ${{ github.workspace }}/kie-tools/packages/chrome-extension-serverless-workflow-editor/dist/{fonts,diagram,*-envelope.*,*.bundle.js,*.worker.js} $DEPLOYMENT_DIR

echo "Commit changes and push"
git add .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ jobs:
cp -r ${{ github.workspace }}/kie-tools/packages/chrome-extension-pack-kogito-kie-editors/dist/{bpmn,dmn,scesim,fonts,*-envelope.*} $DEPLOYMENT_DIR/chrome-extension

echo "Copy SWF Editor Chrome Extension resources to the deployment directory"
cp -r ${{ github.workspace }}/kie-tools/packages/chrome-extension-serverless-workflow-editor/dist/{fonts,*-envelope.*,*.bundle.js,*.worker.js} $DEPLOYMENT_DIR/swf-chrome-extension
cp -r ${{ github.workspace }}/kie-tools/packages/chrome-extension-serverless-workflow-editor/dist/{fonts,diagram,*-envelope.*,*.bundle.js,*.worker.js} $DEPLOYMENT_DIR/swf-chrome-extension

echo "Remove gwt-editors from the Online Editor deployment"
rm -rf $DEPLOYMENT_DIR/gwt-editors
Expand Down
3 changes: 2 additions & 1 deletion .syncpackrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{
"dependencies": ["monaco-editor"],
"packages": [
"@kie-tools/serverless-workflow-editor",
"@kie-tools/serverless-workflow-text-editor",
"@kie-tools/serverless-workflow-combined-editor",
"@kie-tools/yard-editor",
"chrome-extension-serverless-workflow-editor",
"vscode-extension-serverless-workflow-editor",
Expand Down
25 changes: 19 additions & 6 deletions packages/build-env/graph.dot
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ digraph G {
"@kie-tools/kie-bc-editors" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/stunner-editors" [ color = "black", fontcolor = "black", style = "dashed, rounded" ];
"chrome-extension-serverless-workflow-editor" [ color = "black", fontcolor = "black", style = "dashed, rounded" ];
"@kie-tools/serverless-workflow-editor" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/serverless-workflow-combined-editor" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/cors-proxy-image" [ color = "black", fontcolor = "black", style = "dashed, rounded" ];
"@kie-tools/dashbuilder" [ color = "black", fontcolor = "black", style = "dashed, rounded" ];
"@kie-tools/dashbuilder-component-assembler" [ color = "black", fontcolor = "black", style = "dashed, rounded" ];
Expand Down Expand Up @@ -76,6 +76,9 @@ digraph G {
"@kie-tools/pmml-editor" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/unitables-dmn" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/serverless-workflow-diagram-editor" [ color = "black", fontcolor = "black", style = "dashed, rounded" ];
"@kie-tools/serverless-workflow-diagram-editor-envelope" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/serverless-workflow-mermaid-viewer" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/serverless-workflow-text-editor" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/serverless-workflow-language-service" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/serverless-workflow-service-catalog" [ color = "blue", fontcolor = "blue", style = "rounded" ];
"@kie-tools/stunner-editors-dmn-loader" [ color = "blue", fontcolor = "blue", style = "rounded" ];
Expand Down Expand Up @@ -121,7 +124,7 @@ digraph G {
"chrome-extension-pack-kogito-kie-editors" -> "@kie-tools/kie-bc-editors" [ style = "solid", color = "black" ];
"chrome-extension-pack-kogito-kie-editors" -> "@kie-tools/stunner-editors" [ style = "dashed", color = "black" ];
"chrome-extension-serverless-workflow-editor" -> "@kie-tools-core/chrome-extension" [ style = "dashed", color = "black" ];
"chrome-extension-serverless-workflow-editor" -> "@kie-tools/serverless-workflow-editor" [ style = "dashed", color = "black" ];
"chrome-extension-serverless-workflow-editor" -> "@kie-tools/serverless-workflow-combined-editor" [ style = "dashed", color = "black" ];
"@kie-tools/cors-proxy-image" -> "@kie-tools-core/run-script-if" [ style = "dashed", color = "black" ];
"@kie-tools/dashbuilder" -> "@kie-tools/dashbuilder-component-assembler" [ style = "solid", color = "black" ];
"@kie-tools/dashbuilder-client" -> "@kie-tools-core/run-script-if" [ style = "dashed", color = "blue" ];
Expand Down Expand Up @@ -218,12 +221,19 @@ digraph G {
"@kie-tools/pmml-editor" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "blue" ];
"@kie-tools/pmml-editor-marshaller" -> "@kie-tools-core/run-script-if" [ style = "dashed", color = "blue" ];
"@kie-tools-core/run-script-if" -> "@kie-tools/build-env" [ style = "dashed", color = "purple" ];
"@kie-tools/serverless-workflow-combined-editor" -> "@kie-tools/serverless-workflow-diagram-editor" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-combined-editor" -> "@kie-tools/serverless-workflow-diagram-editor-envelope" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-combined-editor" -> "@kie-tools/serverless-workflow-mermaid-viewer" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-combined-editor" -> "@kie-tools/serverless-workflow-text-editor" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-diagram-editor" -> "@kie-tools-core/run-script-if" [ style = "dashed", color = "black" ];
"@kie-tools/serverless-workflow-editor" -> "@kie-tools-core/editor" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-editor" -> "@kie-tools/serverless-workflow-language-service" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-editor" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "blue" ];
"@kie-tools/serverless-workflow-diagram-editor-envelope" -> "@kie-tools/kie-bc-editors" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-language-service" -> "@kie-tools/serverless-workflow-service-catalog" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-mermaid-viewer" -> "@kie-tools-core/editor" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-mermaid-viewer" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "blue" ];
"@kie-tools/serverless-workflow-service-catalog" -> "@kie-tools-core/envelope-bus" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-text-editor" -> "@kie-tools-core/editor" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-text-editor" -> "@kie-tools/serverless-workflow-language-service" [ style = "solid", color = "blue" ];
"@kie-tools/serverless-workflow-text-editor" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "blue" ];
"@kie-tools/stunner-editors" -> "@kie-tools/stunner-editors-dmn-loader" [ style = "solid", color = "black" ];
"@kie-tools/stunner-editors-dmn-loader" -> "@kie-tools-core/keyboard-shortcuts" [ style = "solid", color = "blue" ];
"@kie-tools/stunner-editors-dmn-loader" -> "@kie-tools/boxed-expression-component" [ style = "solid", color = "blue" ];
Expand Down Expand Up @@ -258,7 +268,10 @@ digraph G {
"vscode-extension-pmml-editor" -> "@kie-tools/pmml-editor" [ style = "solid", color = "blue" ];
"vscode-extension-red-hat-business-automation-bundle" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "blue" ];
"vscode-extension-serverless-workflow-editor" -> "@kie-tools-core/vscode-extension" [ style = "solid", color = "blue" ];
"vscode-extension-serverless-workflow-editor" -> "@kie-tools/serverless-workflow-editor" [ style = "solid", color = "blue" ];
"vscode-extension-serverless-workflow-editor" -> "@kie-tools/serverless-workflow-diagram-editor-envelope" [ style = "solid", color = "blue" ];
"vscode-extension-serverless-workflow-editor" -> "@kie-tools/serverless-workflow-language-service" [ style = "solid", color = "blue" ];
"vscode-extension-serverless-workflow-editor" -> "@kie-tools/serverless-workflow-mermaid-viewer" [ style = "solid", color = "blue" ];
"vscode-extension-serverless-workflow-editor" -> "@kie-tools/serverless-workflow-diagram-editor" [ style = "dashed", color = "blue" ];
"vscode-extension-yard-editor" -> "@kie-tools-core/vscode-extension" [ style = "solid", color = "blue" ];
"vscode-extension-yard-editor" -> "@kie-tools/yard-editor" [ style = "solid", color = "blue" ];
"@kie-tools-core/vscode-java-code-completion" -> "@kie-tools-core/run-script-if" [ style = "dashed", color = "purple" ];
Expand Down
16 changes: 14 additions & 2 deletions packages/build-env/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,21 @@ module.exports = {
},
},

serverlessWorkflowEditor: {
serverlessWorkflowCombinedEditor: {
dev: {
port: 9007,
port: 9002,
},
},

serverlessWorkflowTextEditor: {
dev: {
port: 9003,
},
},

serverlessWorkflowMermaidViewer: {
dev: {
port: 9004,
},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@
"url": "https://github.com/kiegroup/kie-tools.git"
},
"devDependencies": {
"@kie-tools/build-env": "0.0.0",
"@kie-tools/serverless-workflow-diagram-editor": "0.0.0",
"@kie-tools/serverless-workflow-combined-editor": "0.0.0",
"@kie-tools/serverless-workflow-diagram-editor-envelope": "0.0.0",
"@kie-tools/serverless-workflow-mermaid-viewer": "0.0.0",
"@kie-tools/serverless-workflow-text-editor": "0.0.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"@kie-tools-core/chrome-extension": "0.0.0",
"@kie-tools-core/editor": "0.0.0",
"@kie-tools-core/keyboard-shortcuts": "0.0.0",
"@kie-tools-core/patternfly-base": "0.0.0",
"@kie-tools/serverless-workflow-editor": "0.0.0",
"@kie-tools/build-env": "0.0.0",
"@kie-tools-core/run-script-if": "0.0.0",
"@kie-tools-core/webpack-base": "0.0.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"monaco-editor": "^0.33.0",
"monaco-yaml": "^3.2.1"
"monaco-yaml": "^3.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"scripts": {
"lint": "pnpm run-script-if --bool \"$(build-env global.build.lint)\" --then \"pnpm eslint ./src --ext .ts,.tsx\"",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright 2022 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { init } from "@kie-tools-core/editor/dist/envelope";
import { NoOpKeyboardShortcutsService } from "@kie-tools-core/keyboard-shortcuts/dist/envelope";
import { ServerlessWorkflowCombinedEditorFactory } from "@kie-tools/serverless-workflow-combined-editor/dist/editor";

init({
container: document.getElementById("combined-envelope-app")!,
bus: { postMessage: (message, targetOrigin, _) => window.parent.postMessage(message, targetOrigin!, _) },
editorFactory: new ServerlessWorkflowCombinedEditorFactory(),
keyboardShortcutsService: new NoOpKeyboardShortcutsService(),
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright 2022 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { initCustom } from "@kie-tools-core/editor/dist/envelope";
import {
ServerlessWorkflowDiagramEditorChannelApi,
ServerlessWorkflowDiagramEditorEnvelopeApi,
} from "@kie-tools/serverless-workflow-diagram-editor-envelope/dist/api";
import {
ServerlessWorkflowDiagramEditor,
ServerlessWorkflowDiagramEditorEnvelopeApiImpl,
} from "@kie-tools/serverless-workflow-diagram-editor-envelope/dist/envelope";

initCustom<
ServerlessWorkflowDiagramEditor,
ServerlessWorkflowDiagramEditorEnvelopeApi,
ServerlessWorkflowDiagramEditorChannelApi
>({
container: document.getElementById("diagram-envelope-app")!,
bus: { postMessage: (message, targetOrigin, _) => window.parent.postMessage(message, targetOrigin!, _) },
apiImplFactory: {
create: (args) =>
new ServerlessWorkflowDiagramEditorEnvelopeApiImpl(args, { shouldLoadResourcesDynamically: true }),
},
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright 2022 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { init } from "@kie-tools-core/editor/dist/envelope";
import { NoOpKeyboardShortcutsService } from "@kie-tools-core/keyboard-shortcuts/dist/envelope";
import { ServerlessWorkflowMermaidViewerFactory } from "@kie-tools/serverless-workflow-mermaid-viewer/dist/viewer";

init({
container: document.getElementById("mermaid-envelope-app")!,
bus: { postMessage: (message, targetOrigin, _) => window.parent.postMessage(message, targetOrigin!, _) },
editorFactory: new ServerlessWorkflowMermaidViewerFactory(),
keyboardShortcutsService: new NoOpKeyboardShortcutsService(),
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Copyright 2022 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { init } from "@kie-tools-core/editor/dist/envelope";
import { ServerlessWorkflowTextEditorFactory } from "@kie-tools/serverless-workflow-text-editor/dist/editor";

init({
container: document.getElementById("text-envelope-app")!,
bus: { postMessage: (message, targetOrigin, _) => window.parent.postMessage(message, targetOrigin!, _) },
editorFactory: new ServerlessWorkflowTextEditorFactory(),
});
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ startExtension({
githubAuthTokenCookieName: "github-oauth-token-kie-editors",
editorEnvelopeLocator: new EditorEnvelopeLocator(window.location.origin, [
new EnvelopeMapping(
"sw",
"swf",
"**/*.sw.+(json|yml|yaml)",
`${resourcesPathPrefix}/sw`,
`${resourcesPathPrefix}/serverless-workflow-editor-envelope.html`
`${resourcesPathPrefix}`,
`${resourcesPathPrefix}/serverless-workflow-combined-editor-envelope.html`
),
]),
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!--
~ Copyright 2022 Red Hat, Inc. and/or its affiliates.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<!DOCTYPE html>
<html lang="en">
<head>
<style>
html,
body,
div#envelope-app {
margin: 0;
border: 0;
padding: 0;
overflow: hidden;
height: 100%;
width: 100%;
}
</style>

<title></title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="combined-envelope-app"></div>
<script src="serverless-workflow-combined-editor-envelope.js"></script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!--
~ Copyright 2022 Red Hat, Inc. and/or its affiliates.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<!DOCTYPE html>
<html lang="en">
<head>
<style>
html,
body,
div#envelope-app {
margin: 0;
border: 0;
padding: 0;
overflow: hidden;
height: 100%;
width: 100%;
}
</style>

<title></title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="diagram-envelope-app"></div>
<script src="serverless-workflow-diagram-editor-envelope.js"></script>
</body>
</html>
Loading