-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ES|QL] Rename the setting to a more generic one and move to the general section #182074
Conversation
A documentation preview will be available soon. Request a new doc build by commenting
If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here. |
x-pack/plugins/index_management/server/test/helpers/route_dependencies.ts
Outdated
Show resolved
Hide resolved
Pinging @elastic/kibana-esql (Team:ESQL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
response ops changes LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logs_explorer
changes LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ML changes LGTM
/ci |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Canvas Sharable Runtime
Page load bundle
Unknown metric groupsAPI count
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review, changes looks ok with no major issues.
@@ -50,7 +50,7 @@ export const QueryFormTypeChooser: React.FC<QueryFormTypeProps> = ({ | |||
onFormTypeSelect, | |||
}) => { | |||
const { uiSettings } = useTriggerUiActionServices(); | |||
const isEsqlEnabled = uiSettings?.get('discover:enableESQL'); | |||
const isEsqlEnabled = uiSettings?.get('enableESQL'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about using the ENABLE_ESQL constant used also in a previous file for the same code?
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ral section (elastic#182074) ## Summary Renames the setting from discover:enableESQL to enableESQL and moves it to the General Section <img width="985" alt="image" src="https://github.com/elastic/kibana/assets/17003240/ebafe7cd-4695-413c-a0e3-90e3574139e5"> We checked the telemetry and a very small percentage of users have switched off this setting. It was also on tech preview so we decided in favor of this change as more and more applications are using this setting to hide ESQL from their applications. <img width="850" alt="image" src="https://github.com/elastic/kibana/assets/17003240/404f2494-8a17-4a9d-943a-d9d72b324bc0"> ### Release note We renamed the advanced setting which hides the ES|QL from the UI from `discover:enableESQL` to `enableESQL`. You have to switch it off again if you want to disable ES|QL features from your kibana applications. --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit f3d18fa) # Conflicts: # config/serverless.yml # packages/kbn-management/settings/setting_ids/index.ts # x-pack/plugins/data_visualizer/tsconfig.json # x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action_helpers.tsx # x-pack/plugins/ml/tsconfig.json
…he general section (#182074) (#182252) # Backport This will backport the following commits from `main` to `8.14`: - [[ES|QL] Rename the setting to a more generic one and move to the general section (#182074)](#182074) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-05-01T14:13:53Z","message":"[ES|QL] Rename the setting to a more generic one and move to the general section (#182074)\n\n## Summary\r\n\r\nRenames the setting from discover:enableESQL to enableESQL and moves it\r\nto the General Section\r\n\r\n<img width=\"985\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/ebafe7cd-4695-413c-a0e3-90e3574139e5\">\r\n\r\nWe checked the telemetry and a very small percentage of users have\r\nswitched off this setting. It was also on tech preview so we decided in\r\nfavor of this change as more and more applications are using this\r\nsetting to hide ESQL from their applications.\r\n\r\n<img width=\"850\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/404f2494-8a17-4a9d-943a-d9d72b324bc0\">\r\n\r\n### Release note\r\nWe renamed the advanced setting which hides the ES|QL from the UI from\r\n`discover:enableESQL` to `enableESQL`. You have to switch it off again\r\nif you want to disable ES|QL features from your kibana applications.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"f3d18faab29dcf0f75813561ff69e4c4bc976860","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:breaking","backport:prev-minor","Team:Obs AI Assistant","Feature:ES|QL","ci:project-deploy-observability","v8.14.0","Team:ESQL","v8.15.0"],"number":182074,"url":"https://github.com/elastic/kibana/pull/182074","mergeCommit":{"message":"[ES|QL] Rename the setting to a more generic one and move to the general section (#182074)\n\n## Summary\r\n\r\nRenames the setting from discover:enableESQL to enableESQL and moves it\r\nto the General Section\r\n\r\n<img width=\"985\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/ebafe7cd-4695-413c-a0e3-90e3574139e5\">\r\n\r\nWe checked the telemetry and a very small percentage of users have\r\nswitched off this setting. It was also on tech preview so we decided in\r\nfavor of this change as more and more applications are using this\r\nsetting to hide ESQL from their applications.\r\n\r\n<img width=\"850\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/404f2494-8a17-4a9d-943a-d9d72b324bc0\">\r\n\r\n### Release note\r\nWe renamed the advanced setting which hides the ES|QL from the UI from\r\n`discover:enableESQL` to `enableESQL`. You have to switch it off again\r\nif you want to disable ES|QL features from your kibana applications.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"f3d18faab29dcf0f75813561ff69e4c4bc976860"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182074","number":182074,"mergeCommit":{"message":"[ES|QL] Rename the setting to a more generic one and move to the general section (#182074)\n\n## Summary\r\n\r\nRenames the setting from discover:enableESQL to enableESQL and moves it\r\nto the General Section\r\n\r\n<img width=\"985\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/ebafe7cd-4695-413c-a0e3-90e3574139e5\">\r\n\r\nWe checked the telemetry and a very small percentage of users have\r\nswitched off this setting. It was also on tech preview so we decided in\r\nfavor of this change as more and more applications are using this\r\nsetting to hide ESQL from their applications.\r\n\r\n<img width=\"850\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/404f2494-8a17-4a9d-943a-d9d72b324bc0\">\r\n\r\n### Release note\r\nWe renamed the advanced setting which hides the ES|QL from the UI from\r\n`discover:enableESQL` to `enableESQL`. You have to switch it off again\r\nif you want to disable ES|QL features from your kibana applications.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"f3d18faab29dcf0f75813561ff69e4c4bc976860"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
* master: (1654 commits) Bump ejs from 3.1.9 to 3.1.10 Don't render exceptions flyout if data is loading (elastic#181588) Enable value list modal (elastic#181593) skip flaky suite (elastic#181777) skip failing test suite (elastic#182263) [Mappings Editor] Disable _source field in serverless (elastic#181712) [data.search] Fix unhandled promise rejections (elastic#181785) [Fleet] Fix logic for detecting first time Elastic Agent users (elastic#182214) [ML] Decouple data_visualizer from MapEmbeddable (elastic#181928) [ES|QL] Sorting accepts expressions (elastic#181916) [ML] Single Metric Viewer: ensures chart displays correctly when opening from a job annotation (elastic#182176) Adding optional Description field to Roles APIs (elastic#182039) Upgrade Markdown-it to 14.1.0 (elastic#182244) Bump xml-crypto from 5.0.0 to 6.0.0 [DOCS] Fix docs and screenshots for rule creation changes (elastic#181925) Update dependency elastic-apm-node to ^4.5.3 (main) (elastic#182236) [Obs AI Assistant] register alert details context in observability plugin (elastic#181501) Add `@typescript-eslint/no-floating-promises` (elastic#181456) [Playground] Propagate Error message into FE (elastic#182201) [ES|QL] Rename the setting to a more generic one and move to the general section (elastic#182074) ...
Summary
Renames the setting from discover:enableESQL to enableESQL and moves it to the General Section
We checked the telemetry and a very small percentage of users have switched off this setting. It was also on tech preview so we decided in favor of this change as more and more applications are using this setting to hide ESQL from their applications.
Release note
We renamed the advanced setting which hides the ES|QL from the UI from
discover:enableESQL
toenableESQL
. You have to switch it off again if you want to disable ES|QL features from your kibana applications.