-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: add Feel editor #158
Conversation
e3bef0e
to
3b91f10
Compare
This is ready to be reviewed. We should hold up merging it until after the 5.1 code freeze |
I'll schedule myself to review it tomorrow. |
Awesome! Let me know if you would like to have a sync session to go through the structure before you dive in yourself :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two comments UI/UX wise:
-
First of all, I'm super impressed what we came up with here. I find it absolutely intuitive and simple enough (no bs)
-
I'd follow up and align the code highlight color schemes with our app. It does not look right inside the app.
- export FeelTextAreaEntry - make all FEEL inputs resizeable
Broke after rebase on |
@@ -0,0 +1,11 @@ | |||
import { useCallback, useRef } from 'preact/hooks'; | |||
|
|||
export function useStaticCallback(callback) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add documentation for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added documentation explaining what it does and where we need it:
27452e0#diff-df9adc45b7ba0c5989414adedb44be602afd3e6745cf000be415f312751041ddR3-R16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge it. I haven't noticed any problems on runtime.
This PR adds new Fields that support FEEL in InputFields and TextAreas. See the usage in the Properties Panel in this PR.
test it out the integration with
npx @bpmn-io/sr bpmn-io/bpmn-js-properties-panel#feel-editor -l bpmn-io/properties-panel#feel-editor