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

Implement script component #1102

Open
12 of 14 tasks
Skaiir opened this issue Mar 20, 2024 · 0 comments · May be fixed by #1100
Open
12 of 14 tasks

Implement script component #1102

Skaiir opened this issue Mar 20, 2024 · 0 comments · May be fixed by #1100
Assignees
Labels
enhancement New feature or request in progress Currently worked on

Comments

@Skaiir
Copy link
Contributor

Skaiir commented Mar 20, 2024

Is your feature request related to a problem? Please describe.

We want to allow users to build custom interactions in the form that are not available out of the box. While we have expressions that allow us some pretty nice simple interactions, we need a more complex, sandboxed environment where we can run javascript.

Describe the solution you'd like

A safe, sandboxed environment where JavaScript is simply executed. This sandbox will have a communication channel with the main form which restricts the interactions to data passing. We would use an iframe to achieve this sandboxing.

Breakdown

  • Build the basic front-end
    • Simple editor component similar to the expression one
    • Non-sandboxed JS execution viewer component
    • Properties panel impl
  • Add doNotSubmit property ?
  • Sandboxed front-end
    • iframe encapsulation + messaging system
  • Polishing front-end
    • Review text used
    • New icon
  • Update to the schema definition
  • Tests
  • Update to linting rules
  • Docs

Additional context

https://github.com/camunda/team-hto/issues/528

@Skaiir Skaiir added enhancement New feature or request in progress Currently worked on labels Mar 20, 2024
@Skaiir Skaiir self-assigned this Mar 20, 2024
Skaiir added a commit that referenced this issue Mar 20, 2024
@Skaiir Skaiir changed the title Implement script component (WIP) Implement script component Mar 21, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Mar 25, 2024
Skaiir added a commit that referenced this issue Apr 2, 2024
Skaiir added a commit that referenced this issue Apr 2, 2024
Skaiir added a commit that referenced this issue Apr 2, 2024
Skaiir added a commit that referenced this issue Apr 2, 2024
Skaiir added a commit that referenced this issue Apr 2, 2024
@Skaiir Skaiir linked a pull request Apr 2, 2024 that will close this issue
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Apr 2, 2024
Skaiir added a commit that referenced this issue Apr 4, 2024
Skaiir added a commit that referenced this issue Apr 4, 2024
Skaiir added a commit that referenced this issue Apr 4, 2024
Skaiir added a commit that referenced this issue Apr 4, 2024
Skaiir added a commit that referenced this issue Apr 4, 2024
Skaiir added a commit that referenced this issue Apr 4, 2024
Skaiir added a commit that referenced this issue Apr 8, 2024
Skaiir added a commit that referenced this issue Apr 8, 2024
Skaiir added a commit that referenced this issue Apr 8, 2024
Skaiir added a commit that referenced this issue Apr 8, 2024
Skaiir added a commit that referenced this issue Apr 8, 2024
Skaiir added a commit that referenced this issue Apr 8, 2024
Skaiir added a commit that referenced this issue Apr 8, 2024
@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed needs review Review pending labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress Currently worked on
Development

Successfully merging a pull request may close this issue.

1 participant