Skip to content

Commit

Permalink
[8.x] [ES|QL] Group by histogram suggestion first in the list (#199611)…
Browse files Browse the repository at this point in the history
… (#199731)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Group by histogram suggestion first in the list
(#199611)](#199611)

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

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

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-12T08:03:50Z","message":"[ES|QL]
Group by histogram suggestion first in the list (#199611)\n\n##
Summary\r\n\r\nEnsures that group BY histogram suggestion is first on
the list. It\r\nfixes a regression caused from the refactoring of
autocomplete\r\n\r\n\r\n<img width=\"1108\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/a6d6ba7b-c346-4d07-98f4-ac4c4b3ae857\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e87fbd8c241d9327df6dc4ad1942447fa99276fb","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Feature:ES|QL","Team:ESQL","backport:version","v8.17.0"],"title":"[ES|QL]
Group by histogram suggestion first in the
list","number":199611,"url":"https://github.com/elastic/kibana/pull/199611","mergeCommit":{"message":"[ES|QL]
Group by histogram suggestion first in the list (#199611)\n\n##
Summary\r\n\r\nEnsures that group BY histogram suggestion is first on
the list. It\r\nfixes a regression caused from the refactoring of
autocomplete\r\n\r\n\r\n<img width=\"1108\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/a6d6ba7b-c346-4d07-98f4-ac4c4b3ae857\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e87fbd8c241d9327df6dc4ad1942447fa99276fb"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199611","number":199611,"mergeCommit":{"message":"[ES|QL]
Group by histogram suggestion first in the list (#199611)\n\n##
Summary\r\n\r\nEnsures that group BY histogram suggestion is first on
the list. It\r\nfixes a regression caused from the refactoring of
autocomplete\r\n\r\n\r\n<img width=\"1108\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/a6d6ba7b-c346-4d07-98f4-ac4c4b3ae857\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e87fbd8c241d9327df6dc4ad1942447fa99276fb"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <[email protected]>
  • Loading branch information
kibanamachine and stratoula authored Nov 12, 2024
1 parent d308834 commit ca1e04a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ export const getDateHistogramCompletionItem: (
defaultMessage: 'Add date histogram using bucket()',
}
),
sortText: '1A',
sortText: '1',
command: TRIGGER_SUGGESTION_COMMAND,
});

0 comments on commit ca1e04a

Please sign in to comment.