-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add "Generate form code for human interactions" command in the BPMN VS Code extension #1498
Comments
@ljmotta hi, thank you, I would like to ask about the command name:
I do not have a strong opinion about the points I bring. I am probably fine if we do not change the name. However, sharing the fact, that me, I would try to search in list of VSCode commands by keywords mention in first or second point. |
@jomarko I understand what you mean. I was relying on a prefix to give the context of the command, as you're right, the form code generation is exclusively for workflow projects. I just checked, and all our KIE VS Code extensions doesn't use a prefix, which is a common approach across other community extensions (e.g. Prettier, Go, TypeScript, ESLint, etc...). For this case, I'll add the prefix to the BPMN VS Code using its extension name ( Now, with the prefix in place, the current command name would be: |
@ljmotta thank you, the last proposal For example, |
Hi @ljmotta Sorry if this is not the best place to expose this. I was wondering if the scope of this issue might reach DMN too in some way. I've seen many DMN developers using VS Code, most of them not very skilled from a technical point of view (poor knowledge on Java, Maven, OpenAPI...) and there's something they've been missing: user-friendly forms to test both DMN models and individual decision nodes. Do you think that this initiative could also be applied to DMN? Best regards, Jaime |
@jomarko The extension name is Shortening it to As |
@jaimeizuz Hi! Sorry for the late response. Could you please create a separate issue for DMN? We would need to make this feature from scratch. The BPMN form code generation already existed as a CLI tool which is being moved to the BPMN VS Code extension. |
@ljmotta thank you for the screenshot, I agree with your shortening. |
Add the form generation command to the BPMN VS Code extension using the "jbpm-form-generator" package introduced in #1493. The command should be named "Generate form code for human interactions". It will use the compiled JSON Schemas to generate the form code into the "src/resources/forms" folder.
The command should be interactive, giving the user the option to generate a Patternfly or Bootstrap code. Also, it should give the option to select which human interactions are desired.
The text was updated successfully, but these errors were encountered: