[ES|QL] Creates controls for stats functions#210170
Conversation
|
Pinging @elastic/kibana-esql (Team:ESQL) |
nreese
left a comment
There was a problem hiding this comment.
kibana-presentation changes LGTM
code review only
...rm/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/index.ts
Outdated
Show resolved
Hide resolved
src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts
Outdated
Show resolved
Hide resolved
...ns/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.test.tsx
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
...plugins/shared/esql/public/triggers/esql_controls/control_flyout/identifier_control_form.tsx
Outdated
Show resolved
Hide resolved
|
@darnautov thanx, I addressed everything |
darnautov
left a comment
There was a problem hiding this comment.
LGTM 🚀 Thx for making the edits
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
|
|
Starting backport for target branches: 8.x |
## Summary Closes elastic#207029 Allows the creation of function controls. These are only available for STATS <img width="880" alt="image" src="https://github.com/user-attachments/assets/fe57c3e5-f42a-4d9c-95b3-4a5a12938821" /> ### Release notes Allows the creation of dynamic aggregations controls for ES|QL charts. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) (cherry picked from commit f96b68d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Creates controls for stats functions (#210170)](#210170) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-02-13T11:28:18Z","message":"[ES|QL] Creates controls for stats functions (#210170)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/207029\n\nAllows the creation of function controls. These are only available for\nSTATS\n\n<img width=\"880\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/fe57c3e5-f42a-4d9c-95b3-4a5a12938821\"\n/>\n\n\n### Release notes\nAllows the creation of dynamic aggregations controls for ES|QL charts.\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"f96b68dbac70f887cb8b039e5619bdda9a84eb89","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL] Creates controls for stats functions","number":210170,"url":"https://github.com/elastic/kibana/pull/210170","mergeCommit":{"message":"[ES|QL] Creates controls for stats functions (#210170)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/207029\n\nAllows the creation of function controls. These are only available for\nSTATS\n\n<img width=\"880\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/fe57c3e5-f42a-4d9c-95b3-4a5a12938821\"\n/>\n\n\n### Release notes\nAllows the creation of dynamic aggregations controls for ES|QL charts.\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"f96b68dbac70f887cb8b039e5619bdda9a84eb89"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210170","number":210170,"mergeCommit":{"message":"[ES|QL] Creates controls for stats functions (#210170)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/207029\n\nAllows the creation of function controls. These are only available for\nSTATS\n\n<img width=\"880\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/fe57c3e5-f42a-4d9c-95b3-4a5a12938821\"\n/>\n\n\n### Release notes\nAllows the creation of dynamic aggregations controls for ES|QL charts.\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"f96b68dbac70f887cb8b039e5619bdda9a84eb89"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Summary
Closes #207029
Allows the creation of function controls. These are only available for STATS
Release notes
Allows the creation of dynamic aggregations controls for ES|QL charts.
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:*label is applied per the guidelines