mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
- Closes https://github.com/elastic/kibana/issues/194269
## Summary
This PR introduces a new extension point `getAppMenu` which allows to:
- add custom App Menu items (as a button or a submenu with more actions)
- extend Alerts menu item with more custom actions
Additionally, this PR rearranges the existing Discover menu items. The
primary actions are rendered as an icon only now.

The example usage of the new extension point can be found in
|
||
---|---|---|
.. | ||
bfetch_explorer | ||
content_management | ||
data_view_field_editor_example | ||
discover_customization_examples | ||
error_boundary | ||
expressions_explorer | ||
field_formats | ||
hello_world | ||
partial_results | ||
response_stream | ||
routing | ||
search | ||
state_sync | ||
ui_actions | ||
unified_field_list_examples | ||
config.js | ||
README.md |
Example plugin functional tests
This folder contains functional tests for the example plugins.
Run the test
To run these tests during development you can use the following commands:
# Start the test server (can continue running)
node scripts/functional_tests_server.js --config test/examples/config.js
# Start a test run
node scripts/functional_test_runner.js --config test/examples/config.js
Run Kibana with a test plugin
In case you want to start Kibana with the example plugins, you can just run:
yarn start --run-examples