kibana/examples
Davis McPhee eb82c3b9fb
[8.x] [Discover] Replace DiscoverInternalStateContainer with Redux based InternalStateStore (#208784) (#213630)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Discover] Replace `DiscoverInternalStateContainer` with Redux based
`InternalStateStore`
(#208784)](https://github.com/elastic/kibana/pull/208784)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Davis
McPhee","email":"davis.mcphee@elastic.co"},"sourceCommit":{"committedDate":"2025-03-06T21:08:58Z","message":"[Discover]
Replace `DiscoverInternalStateContainer` with Redux based
`InternalStateStore` (#208784)\n\n## Summary\n\nThis PR replaces
Discover's current `DiscoverInternalStateContainer`\n(based on Kibana's
custom `ReduxLikeStateContainer`) with an actual\nRedux store using
Redux Toolkit. It's the first step toward migrating\nall of Discover's
state management to Redux as part of the Discover tabs\nproject.\n\nPart
of #210160.\nResolves #213304.\n\n### Checklist\n\n- [ ] 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-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\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)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ccae358d379fe69f881a31f4371ec788e28a7b06","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:skip","Team:DataDiscovery","Project:OneDiscover","backport:version","v9.1.0","v8.19.0"],"title":"[Discover]
Replace `DiscoverInternalStateContainer` with Redux based
`InternalStateStore`","number":208784,"url":"https://github.com/elastic/kibana/pull/208784","mergeCommit":{"message":"[Discover]
Replace `DiscoverInternalStateContainer` with Redux based
`InternalStateStore` (#208784)\n\n## Summary\n\nThis PR replaces
Discover's current `DiscoverInternalStateContainer`\n(based on Kibana's
custom `ReduxLikeStateContainer`) with an actual\nRedux store using
Redux Toolkit. It's the first step toward migrating\nall of Discover's
state management to Redux as part of the Discover tabs\nproject.\n\nPart
of #210160.\nResolves #213304.\n\n### Checklist\n\n- [ ] 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-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\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)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ccae358d379fe69f881a31f4371ec788e28a7b06"}},"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/208784","number":208784,"mergeCommit":{"message":"[Discover]
Replace `DiscoverInternalStateContainer` with Redux based
`InternalStateStore` (#208784)\n\n## Summary\n\nThis PR replaces
Discover's current `DiscoverInternalStateContainer`\n(based on Kibana's
custom `ReduxLikeStateContainer`) with an actual\nRedux store using
Redux Toolkit. It's the first step toward migrating\nall of Discover's
state management to Redux as part of the Discover tabs\nproject.\n\nPart
of #210160.\nResolves #213304.\n\n### Checklist\n\n- [ ] 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-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\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)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ccae358d379fe69f881a31f4371ec788e28a7b06"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-03-14 16:16:37 +00:00
..
bfetch_explorer Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
content_management_examples [8.x] [Discover] Rename Saved Search to Discover Session (#202217) (#204818) 2024-12-19 21:38:57 +11:00
controls_example [8.x] [embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960) (#213135) 2025-03-05 02:29:33 +01:00
data_view_field_editor_example [8.x] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01: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] [Discover] Replace DiscoverInternalStateContainer with Redux based InternalStateStore (#208784) (#213630) 2025-03-14 16:16:37 +00:00
embeddable_examples [8.x] [kbn-grid-layout] Add ability to create, edit, and delete rows (#209193) (#212307) 2025-02-24 22:16:26 +00:00
error_boundary [8.x] Upgrade EUI to v98.2.1-borealis.1 (#204783) 2025-01-08 09:59:50 +00:00
eso_model_version_example [8.x] More strict plugin type definitions (#205232) (#205778) 2025-01-07 17:32:59 +00:00
esql_ast_inspector [8.x] Upgrade EUI to v98.2.1-borealis.1 (#204783) 2025-01-08 09:59:50 +00: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] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01:00
feature_control_examples [8.x] [Authz] Migrated routes with access tags to security config (#209756) (#210596) 2025-02-11 17:37:06 +01:00
feature_flags_example [8.x] SKA: Relocate core mock and test-helper modules (#208538) (#208725) 2025-01-29 14:31:21 +01:00
field_formats_example [8.x] chore(NA): upgrade to webpack 5 (#191106) (#211146) 2025-02-14 13:36:07 +00:00
files_example [8.x] [Authz] Migrate outstanding SharedUX routes with access tags (#206260) (#206435) 2025-01-13 15:32:00 +00:00
grid_example [8.x] [kbn-grid-layout] Store rows in object instead of array (#212965) (#213162) 2025-03-04 23:30:11 +01:00
guided_onboarding_example [8.x] Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux (#204959) (#205508) 2025-01-05 19:48:48 +00: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 [8.x] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01:00
partial_results_example [8.x] Upgrade EUI to v98.2.1-borealis.1 (#204783) 2025-01-08 09:59:50 +00:00
portable_dashboards_example [8.x] [embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960) (#213135) 2025-03-05 02:29:33 +01: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] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01:00
screenshot_mode_example Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
search_examples [8.x] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01: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 [8.x] Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux (#204959) (#205508) 2025-01-05 19:48:48 +00: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] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01:00
unified_doc_viewer [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-data-discovery (#205267) 2024-12-30 13:03:12 -06:00
unified_field_list_examples [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-data-discovery (#205267) 2024-12-30 13:03:12 -06:00
user_profile_examples [8.x] [Authz] Migrated routes with access tags to security config (#209756) (#210596) 2025-02-11 17:37:06 +01: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
----