[
https://issues.apache.org/jira/browse/NIFI-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251790#comment-16251790
]
ASF GitHub Bot commented on NIFI-4400:
--------------------------------------
Github user yuri1969 commented on the issue:
https://github.com/apache/nifi/pull/2269
@scottyaslan Thank you for the kind words. I'll check the issues you
mentioned.
The AngularJS choice was made in order to keep it consistent with the rest
of the existing advanced UI components and not to introduce unnecessary
dependencies. Also, it allowed me to reuse a lot of the code-base from the Jolt
transform component.
Moving to Angular 2+ for the Registry and the shared lib makes sense.
However, in the context of the existing advanced UI components it still feels a
bit inconsistent.
Introducing any kind of tests and code style for the UI is a good idea.
I'll try to integrate a test suite to this UI.
Using the advanced UI extensively made me think about optimizing the
loading times of the UIs (AngularJS mini-apps). I guess a combination of
minify/gz should help here.
> Advanced UI with code editor for scripted processors
> ----------------------------------------------------
>
> Key: NIFI-4400
> URL: https://issues.apache.org/jira/browse/NIFI-4400
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core UI, Extensions
> Reporter: Pierre Villard
> Assignee: Yuri
>
> For the scripted processors it would nice to add an advanced UI with a "code
> editor mode" that would provide some very useful features when typing code:
> - indentation
> - code highlighting
> - do not close the window when hitting enter
> etc
> The use of codemirror.js (as already done for EL auto-completion) sounds like
> a good option.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)