kibana/examples
Hannah Mudge e5cb696f47
[Embeddable Rebuild] [Controls] Add order to control factory (#189670)
Closes https://github.com/elastic/kibana/issues/189407

## Summary


This PR adds an `order` attribute to the control factory so that the
ordering in the UI remains consistent - previously, the order was
determined by the order the factories were registered in (which is no
longer predictable now that the registration happens `async` - it's hard
to repro, but there were times where something delayed the options list
registration and it would appear at the end of my list). Adding and
sorting the UI based on the `order` of the factory removes this
uncertainty.

### Checklist

- [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

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2024-08-02 10:30:41 -06:00
..
bfetch_explorer [EuiProvider] Fix AppEx-SharedUX code (#183872) 2024-05-22 09:57:05 -07:00
content_management_examples [EuiProvider] Fix AppEx-SharedUX code (#183872) 2024-05-22 09:57:05 -07:00
controls_example [Embeddable Rebuild] [Controls] Add order to control factory (#189670) 2024-08-02 10:30:41 -06:00
data_view_field_editor_example Upgrade EUI to v94.1.0 (major EuiTable refactors) (#180514) 2024-04-19 00:05:48 +01:00
developer_examples [EuiProvider] Fix AppEx-SharedUX code (#183872) 2024-05-22 09:57:05 -07:00
discover_customization_examples [EuiProvider] Fix Data-Discover code (#183874) 2024-05-22 09:57:26 -07:00
embeddable_examples Minimize shared-common everywhere (#188606) 2024-07-29 12:47:46 -06:00
error_boundary [EuiProvider] Fix AppEx-SharedUX code (#183872) 2024-05-22 09:57:05 -07:00
eso_model_version_example Replace Encrypted Saved Object AAD exclude list with include list (#167705) 2024-03-08 11:15:02 -05:00
esql_ast_inspector [ES|QL] add AST inspector to examples (#182720) 2024-05-10 13:47:06 -05:00
esql_validation_example ES|QL static metadata (#183890) 2024-05-23 23:10:07 +02:00
expressions_explorer [EuiProvider] Fix Gis-Presentation-Visualization code (#183875) 2024-05-22 13:28:36 -07:00
feature_control_examples Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
field_formats_example Upgrade EUI to v94.1.0 (major EuiTable refactors) (#180514) 2024-04-19 00:05:48 +01:00
files_example Upgrade EUI to v94.1.0 (major EuiTable refactors) (#180514) 2024-04-19 00:05:48 +01:00
guided_onboarding_example Update codeowners file (#183552) 2024-05-22 08:19:50 -04:00
hello_world [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
locator_examples [Core] Deprecate nav link status (#176383) 2024-02-16 11:06:33 -07:00
locator_explorer [Core] Deprecate nav link status (#176383) 2024-02-16 11:06:33 -07:00
partial_results_example Upgrade EUI to v94.1.0 (major EuiTable refactors) (#180514) 2024-04-19 00:05:48 +01:00
portable_dashboards_example [Embeddables Rebuild] Fix runtime state types. (#186194) 2024-06-19 10:05:27 -04:00
preboot_example async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
resizable_layout_examples [Core] Deprecate nav link status (#176383) 2024-02-16 11:06:33 -07:00
response_stream [Move @kbn/config-schema to server] examples/response_stream (#189520) 2024-07-30 20:57:37 +02:00
routing_example [EuiProvider] Fix Kibana-Core code (#183873) 2024-05-23 13:19:40 -07:00
screenshot_mode_example [Core] Deprecate nav link status (#176383) 2024-02-16 11:06:33 -07:00
search_examples [EuiProvider] Fix Data-Discover code (#183874) 2024-05-22 09:57:26 -07:00
share_examples Set correct ownership of older app-services code (#168209) 2023-10-09 18:57:26 +02:00
state_containers_examples [EuiProvider] Fix AppEx-SharedUX code (#183872) 2024-05-22 09:57:05 -07:00
ui_action_examples [SharedUX] Remove usage of deprecated React rendering utilities (#180516) 2024-04-17 07:52:41 -07:00
ui_actions_explorer [EuiProvider] Fix AppEx-SharedUX code (#183872) 2024-05-22 09:57:05 -07:00
unified_doc_viewer [UnifiedDocViewer] Move Discover doc viewer into plugin/package (#162847) 2023-08-31 11:46:59 -07:00
unified_field_list_examples [kbn-dnd-package] Divide draggable and droppable (#177282) 2024-03-21 14:30:14 +01:00
user_profile_examples Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
v8_profiler_examples async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07: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
----