mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Closes https://github.com/elastic/kibana/issues/167906 PR breaks monolith component `<SearchResponseWarnings/>` into 3 separate components: `<SearchResponseWarningsBadge/>`, `<SearchResponseWarningsCallout/>`, and `<SearchResponseWarningsEmptyPrompt/>`. These components are designed to display a single messages when provided warnings from multiple requests and display better messaging around partial results. PR also removes `message` from `SearchResponseWarning` type. Collaborated with @gchaps on copy. ### Test setup 1. install sample web logs data set 2. install sample flights data set 3. Create data view. 1. Set **Index pattern** to `kibana_sample_data*` 2. Set **Time field** to `timestamp` 4. Open discover 5. Select **kibana_sample_data*** data view 6. set time range to last 24 hours 7. Add filter ``` { "error_query": { "indices": [ { "error_type": "exception", "message": "shard failure message 123", "name": "kibana_sample_data_logs", "shard_ids": [ 0 ] } ] } } ``` 8) save search as **kibana_sample_data*** #### Search response warnings callout 1. Open saved search created in test setup <img width="500" alt="Screenshot 2023-10-24 at 8 49 19 AM" src=" |
||
---|---|---|
.. | ||
bfetch_explorer | ||
content_management | ||
data_view_field_editor_example | ||
discover_customization_examples | ||
embeddables | ||
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