Skip to content

Commit

Permalink
[8.14] [Dev console] Fix some issues with AutoComplete (#182002) (#18…
Browse files Browse the repository at this point in the history
…2123)

# Backport

This will backport the following commits from `main` to `8.14`:
- [[Dev console] Fix some issues with AutoComplete
(#182002)](#182002)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kathleen
DeRusso","email":"kathleen.derusso@elastic.co"},"sourceCommit":{"committedDate":"2024-04-30T13:17:01Z","message":"[Dev
console] Fix some issues with AutoComplete (#182002)\n\nResolves
#181618 by adding\r\ndelete by
query AutoComplete for the query.\r\n\r\nHere's what it looks like now:
\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/63422879/ff2c0c18-4f1e-41f3-b18d-b9a4a5377dd1\r\n\r\nAlso
fixes a syntax issue with rule query AutoComplete where we added
an\r\nextra `query` that would result in a syntax
error.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5814f2e0cea6a2ad797c10105badbbc313635bdd","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.14.0","v8.15.0"],"title":"[Dev
console] Fix some issues with
AutoComplete","number":182002,"url":"#182002
console] Fix some issues with AutoComplete (#182002)\n\nResolves
#181618 by adding\r\ndelete by
query AutoComplete for the query.\r\n\r\nHere's what it looks like now:
\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/63422879/ff2c0c18-4f1e-41f3-b18d-b9a4a5377dd1\r\n\r\nAlso
fixes a syntax issue with rule query AutoComplete where we added
an\r\nextra `query` that would result in a syntax
error.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5814f2e0cea6a2ad797c10105badbbc313635bdd"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"#182002
console] Fix some issues with AutoComplete (#182002)\n\nResolves
#181618 by adding\r\ndelete by
query AutoComplete for the query.\r\n\r\nHere's what it looks like now:
\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/63422879/ff2c0c18-4f1e-41f3-b18d-b9a4a5377dd1\r\n\r\nAlso
fixes a syntax issue with rule query AutoComplete where we added
an\r\nextra `query` that would result in a syntax
error.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5814f2e0cea6a2ad797c10105badbbc313635bdd"}}]}]
BACKPORT-->

Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>
  • Loading branch information
kibanamachine and kderusso committed Apr 30, 2024
1 parent 1fc22a2 commit d2f93a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,7 @@ export const query = (specService: SpecDefinitionsService) => {
},
rule_query: {
__template: {
organic: {
query: {},
},
organic: {},
ruleset_id: '',
match_criteria: {
FIELD: 'VALUE',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"delete_by_query": {
"data_autocomplete_rules": {
"query": {
"__scope_link": "GLOBAL.query"
}
}
}
}

0 comments on commit d2f93a6

Please sign in to comment.