kibana/examples
Kibana Machine cfe4d8375a
[8.x] [ES|QL] Improve the `Builder` class (#203558) (#204240)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Improve the `Builder` class
(#203558)](https://github.com/elastic/kibana/pull/203558)

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

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

<!--BACKPORT [{"author":{"name":"Vadim
Kibana","email":"82822460+vadimkibana@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-13T15:19:10Z","message":"[ES|QL]
Improve the `Builder` class (#203558)\n\n## Summary\r\n\r\nPartially
addresses https://github.com/elastic/kibana/issues/202113\r\n\r\n- Makes
sure it is possible to construct any AST using the
`Builder`\r\nclass\r\n- Fixes few bugs in pretty-printer\r\n- No space
is added before unary `-` or `+` expression, for example,\r\n`-123`.\r\n
- Source cluster is now printed `cluster:my_index` \r\n\r\n\r\n###
Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [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":"8904cb068cf6140f6cc4a8db5cde2524a4fa2240","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL","v8.18.0"],"title":"[ES|QL]
Improve the `Builder`
class","number":203558,"url":"https://github.com/elastic/kibana/pull/203558","mergeCommit":{"message":"[ES|QL]
Improve the `Builder` class (#203558)\n\n## Summary\r\n\r\nPartially
addresses https://github.com/elastic/kibana/issues/202113\r\n\r\n- Makes
sure it is possible to construct any AST using the
`Builder`\r\nclass\r\n- Fixes few bugs in pretty-printer\r\n- No space
is added before unary `-` or `+` expression, for example,\r\n`-123`.\r\n
- Source cluster is now printed `cluster:my_index` \r\n\r\n\r\n###
Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [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":"8904cb068cf6140f6cc4a8db5cde2524a4fa2240"}},"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/203558","number":203558,"mergeCommit":{"message":"[ES|QL]
Improve the `Builder` class (#203558)\n\n## Summary\r\n\r\nPartially
addresses https://github.com/elastic/kibana/issues/202113\r\n\r\n- Makes
sure it is possible to construct any AST using the
`Builder`\r\nclass\r\n- Fixes few bugs in pretty-printer\r\n- No space
is added before unary `-` or `+` expression, for example,\r\n`-123`.\r\n
- Source cluster is now printed `cluster:my_index` \r\n\r\n\r\n###
Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [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":"8904cb068cf6140f6cc4a8db5cde2524a4fa2240"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2024-12-13 11:08:33 -06:00
..
bfetch_explorer Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
content_management_examples [8.x] [EuiInMemoryTable] Persist table rows per page and sort (#198297) (#200569) 2024-11-18 09:22:33 -06:00
controls_example [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
data_view_field_editor_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
developer_examples [8.x] Preparation for High Contrast Mode, Core/SharedUX domains (#202606) (#203147) 2024-12-06 10:02:27 +01:00
discover_customization_examples [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
embeddable_examples [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
error_boundary Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
eso_model_version_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
esql_ast_inspector [8.x] [ES|QL] Improve the &#x60;Builder&#x60; class (#203558) (#204240) 2024-12-13 11:08:33 -06:00
esql_validation_example [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-esql (#202722) (#203390) 2024-12-09 10:20:46 -06:00
expressions_explorer [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
feature_control_examples [8.x] Added scope field to features config. (#191634) (#193389) 2024-09-19 10:42:43 -05:00
feature_flags_example [8.x] [Feature Flags Example Plugin] Change ctx provider (#201097) (#201356) 2024-11-22 14:57:17 +01:00
field_formats_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
files_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
grid_example [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
guided_onboarding_example [8.x] [Expamples][Guided onboarding] - added missing EuiProvider to fix errors (#199070) (#199076) 2024-11-05 22:00:12 -06:00
hello_world Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
locator_examples Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
locator_explorer Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
partial_results_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
portable_dashboards_example [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
preboot_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
resizable_layout_examples [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
response_stream [8.x] [ML] AIOps: Log Rate Analysis embeddable (#197943) (#198963) 2024-11-05 10:36:04 -06:00
routing_example [8.x] Preparation for High Contrast Mode, Core/SharedUX domains (#202606) (#203147) 2024-12-06 10:02:27 +01:00
screenshot_mode_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
search_examples [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
share_examples [8.x] [Reporting] fix dashboard &quot;Copy Post URL&quot; action (#192530) (#195334) 2024-10-08 03:44:43 +02:00
state_containers_examples Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
ui_action_examples [8.x] Preparation for High Contrast Mode, Core/SharedUX domains (#202606) (#203147) 2024-12-06 10:02:27 +01:00
ui_actions_explorer [8.x] Preparation for High Contrast Mode, Core/SharedUX domains (#202606) (#203147) 2024-12-06 10:02:27 +01:00
unified_doc_viewer Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
unified_field_list_examples [8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120) 2024-12-12 15:08:55 -06:00
user_profile_examples Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
v8_profiler_examples Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
README.asciidoc Adds run without basepath configured to examples readme (#173086) 2023-12-12 11:22:02 -07:00

[[example-plugins]]
== Example plugins

This folder contains example plugins.  To run the plugins in this folder, use the `--run-examples` flag (without a basepath), via

[source,bash]
----
yarn start --run-examples
----