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

Update semantic suggestion menu for new endpoints and plugins in Dev Tools #471

Open
chloe-zh opened this issue Jun 9, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Community development is encouraged plugins Plugin related work

Comments

@chloe-zh
Copy link

chloe-zh commented Jun 9, 2021

Is your feature request related to a problem? Please describe.

The semantic suggestion menu in Dev Tools are helpful for users to draft and debug their queries, but for now the suggestions are only limited to the original ES query using DSL. Since the plugin and new endpoints are compatible with the OpenSearch, we may well update the semantic suggestion to the new endpoints as well.

Describe the solution you'd like

Example 1:
When a user is writing a POST request to an OpenSearch plugin in DevTools, current it's looking like:
image
It would be great if the suggestion menu pops over with endpoints like _plugins/_sql, _plugins/_alerting etc.

Example 2:
When the user is writing a query in SQL plugin like

POST _plugins/_sql
{
   "query": "SELECT * from opensearch_dashboards_sample_data_flights"
}

We expect the "query" field can be suggested and auto complete when user is trying to type "query" word in the request body, just similar to the other OpenSearch queries:
image
And it turns to the following status after user selects this suggestion:
image

Describe alternatives you've considered

NA

Additional context

NA

@chloe-zh chloe-zh added the enhancement New feature or request label Jun 9, 2021
@tmarkley tmarkley added plugins Plugin related work help wanted Community development is encouraged labels Sep 1, 2021
@tmarkley
Copy link
Contributor

tmarkley commented Sep 1, 2021

@chloe-zh were you thinking about picking this up yourself? Or did you need feedback from the core Dashboards team?

@seraphjiang seraphjiang self-assigned this Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Community development is encouraged plugins Plugin related work
Projects
None yet
Development

No branches or pull requests

3 participants