fix #523 - feat: Integrate Serverless Workflow Editor package into DevUI#575
Conversation
|
After a long investigation, it seems the React import issue was a bundling issue related to I found a way to keep Currently I can see the Diagram Editor internal Error page. |
| try { | ||
| const { result } = await this.jsonRpc.getWorkflowDefinition({ id: this.workflow.id }); | ||
| this._workflowDefinition = JSON.stringify(result, null, 2); | ||
| this._workflowDefinition = workflowExample; |
There was a problem hiding this comment.
This line show a fixed WF example because the definition from the service seems not compatible with the typescript SDK.
You can comment this line to try.
There was a problem hiding this comment.
This POM is only for PR reviewers until my fix on the Diagram Editor lands on a published version.
We can remove this file before merge this PR or after a new DE release.
|
I think I found a useful error from the SDK, which is hidden by another and the value of |
|
@fjtirado @lornakelly @ricardozanini @handreyrc I updated the PR description and now this is ready for review |
|
@fantonangeli can you do a new alpha editor release with the bugs fixed? |
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
1dc9b3b to
6ac35eb
Compare
…grate-Serverless-Workflow-Editor-package-into-DevUI Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
…grate-Serverless-Workflow-Editor-package-into-DevUI Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
…grate-Serverless-Workflow-Editor-package-into-DevUI Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
…grate-Serverless-Workflow-Editor-package-into-DevUI Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
|
@fantonangeli the CI errors are unrelated, I'm fixing on another PR. |
|
I guess the Langchain4J failures are not related to this PR. |
|
@fantonangeli can you rebase? |

Closes #523
Required PRs:
@openworkflowspec/sdkas thepom.xmlstill have to reference@serverlessworkflow/sdkThe problem
The goal is to replace the current Mermaid-based diagram visualization with the Serverless Workflow Diagram Editor component in the Quarkus Dev UI.
Quarkus Flow should not require
pnpm,npm, or Node.js to build the Quarkus extension modules. Users should be able to add Quarkus Flow as a dependency and have the Dev UI work without any frontend setup.Proposed solution / API
Consume
@serverlessworkflow/diagram-editordirectly throughmvnpm, as a Maven-resolvable web dependency. Do not create a separate/editormodule or aquarkus-flow-editorwrapper artifact.This keeps the Quarkus extension build Maven-based and avoids introducing a separate editor artifact, nightly publishing, or additional GH Actions workflows.
How to test:
from Quarkus Flow:
mvn clean install -DskipTestsRun an example:
Known issues:
This can be replicated with the micrometer-prometheus example.
CC @ricardozanini @fjtirado
[Fix #1489] Serializing java defined files open-workflow-specification/sdk-java#1514
fix #260 - bug: Start/End node styles reference unavailable Tailwind CSS variables inside Shadow DOM open-workflow-specification/editor#261
Preview:
Deployment with multiple WFs:
https://github.com/user-attachments/assets/58f88dfa-2d3d-40bf-ab10-e1420a52e51a
Loading message for slow jsonRPC communication:
https://github.com/user-attachments/assets/c696e31c-8c2b-4711-8007-7b938711d559