mirror of
https://github.com/elastic/kibana.git
synced 2025-04-20 16:03:20 -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=" |
||
---|---|---|
.. | ||
accessibility | ||
analytics | ||
api_integration | ||
common | ||
examples | ||
functional | ||
harden | ||
health_gateway | ||
interactive_setup_api_integration | ||
interactive_setup_functional | ||
interpreter_functional | ||
node_roles_functional | ||
package | ||
plugin_functional | ||
scripts | ||
server_integration | ||
ui_capabilities/newsfeed_err | ||
tsconfig.json |