mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Closes https://github.com/elastic/kibana/issues/171570 PR make the following changes 1. Consolidates data EsError logic and Lens EsError logic. This resulted in being able to remove large parts of lens error_helper.tsx file. 2. Consolidates lens WorkspacePanel error logic. Before PR configuration errors and data loading errors each rendered their own version of EuiEmptyPrompt with slightly different behavior. Now, both render WorkspaceErrors component and have the same behavior 3. Updated lens ExpressionWrapper to return original error to embeddable output. ### Test - EsError in embeddable 1. install sample web logs 2. create new dashboard 3. Click "Create visualization" 4. Drag "timestamp" field into workspace. 5. Click "Save and return" 6. Add filter ``` { "error_query": { "indices": [ { "error_type": "exception", "message": "local shard failure message 123", "name": "kibana_sample_data_logs" } ] } } ``` 7. Verify EsError and "View details" action are displayed <img width="500" alt="Screenshot 2023-12-08 at 1 34 20 PM" src=" |
||
---|---|---|
.. | ||
cli | ||
cli_encryption_keys | ||
cli_health_gateway | ||
cli_keystore | ||
cli_plugin | ||
cli_setup | ||
cli_verification_code | ||
core | ||
dev | ||
plugins | ||
setup_node_env |