prometheus/web/ui/react-app/src/fonts/codicon.ttf
Julius Volz faacb619c0
Add new codemirror-promql-based expression editor (#8634)
* Add new codemirror-promql-based expression editor

This adds advanced autocompletion, syntax highlighting, and linting
for PromQL.

Fixes https://github.com/prometheus/prometheus/issues/6160
Fixes https://github.com/prometheus/prometheus/issues/5421

Signed-off-by: Julius Volz <[email protected]>

* Group new editor options and float them left

Signed-off-by: Julius Volz <[email protected]>

* Improve history autocompletion handling

Signed-off-by: Julius Volz <[email protected]>

* Only show info tooltips for unabbreviated completion items

Signed-off-by: Julius Volz <[email protected]>

* Rename "new editor" to "experimental editor"

Signed-off-by: Julius Volz <[email protected]>

* Add path prefix support

Signed-off-by: Julius Volz <[email protected]>

* Revert accidental check-in of go.sum changes

Signed-off-by: Julius Volz <[email protected]>

* Remove spurious console.log

Signed-off-by: Julius Volz <[email protected]>

* Fix completion item type icon styling

Signed-off-by: Julius Volz <[email protected]>
2021-03-23 23:55:52 +01:00

60 KiB