[Developer Tools] Aggregation auto-complete is broken in 7.2.0 #40605
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Console
Dev Tools Console Feature
Feature:Dev Tools
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Kibana version:
7.2.0
Elasticsearch version:
7.2.0
Server OS version:
Unknown: Hosted Elastic Cloud
Browser version:
Google Chrome Version 75.0.3770.100 (Official Build) (64-bit)
Browser OS version:
MacOS Mojave 10.14.5 (18F132)
Original install method (e.g. download page, yum, from source, etc.):
Unknown: Hosted Elastic Cloud
Describe the bug:
In the developer tools console, the auto-complete for the "aggs" object is broken as of 7.2.0. The auto-complete is focused on the wrong tag (it picks the NAME tag rather than the AGG_TYPE tag).
Steps to reproduce:
Given a dummy search like this:
Position the cursor to the left of the
N
in"NAME"
and press ctrl+space or start typing "terms" and you'll see the UI suggest an aggregation type. This is obviously the wrong place for the aggregation type. If you try and do auto complete in the"AGG_TYPE"
tag it won't suggest anything or auto-complete the syntax.This has effectively broken the auto-complete aspect of aggregations in the console.
Expected behavior:
Aggregation syntax should be auto-completed correctly (as in 7.1.0 and previous)
Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: