elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.51k stars 8.06k forks source link

[ML] Transform advanced editor should support auto-completion #53118

Open walterra opened 4 years ago

walterra commented 4 years ago

It would be great if the advanced editor in the transform wizard would support auto-complete similar to dev console. Here's some initial feedback from the Elasticsearch UI team about using that functionality in other plugins:

Console’s autocomplete system has been moved to src/legacy/core_plugins/console/public/np_ready/lib/autocomplete recently - which makes that part more re-usable for sure. However, this has a dependency on lexer rules defined in src/legacy/core_plugins/console/public/np_ready/application/models/legacy_core_editor/mode which is all very custom (but can be moved around) and specific to ace.

The data for autocomplete is also served via Console’s server side logic which does some amount of work on the data before serving it to clients.

elasticmachine commented 4 years ago

Pinging @elastic/ml-ui (:ml)