Skip to content
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

[Developer Tools] Aggregation auto-complete is broken in 7.2.0 #40605

Closed
Jamalarm opened this issue Jul 9, 2019 · 3 comments
Closed

[Developer Tools] Aggregation auto-complete is broken in 7.2.0 #40605

Jamalarm opened this issue Jul 9, 2019 · 3 comments
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

Comments

@Jamalarm
Copy link

Jamalarm commented Jul 9, 2019

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:

POST _search
{
  "aggs": {
    "NAME": {
      "AGG_TYPE": {}
    }
  }
}

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):
image

@kindsun kindsun added bug Fixes for quality problems that affect the customer experience Feature:Dev Tools labels Jul 9, 2019
@cjcenizal cjcenizal added Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Jul 10, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@cjcenizal
Copy link
Contributor

Possibly related to #40254.

@cjcenizal
Copy link
Contributor

Closing this as a dupe of the above issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants