forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[maps] display incomplete results warning in layer legend (elastic#17…
…1144) Closes elastic#170653 Closes elastic#170654 PR updates Maps to display incomplete result warnings in layer legend (instead of displaying toast) ### Test setup 1. In console, run: ``` PUT geo1 {} PUT geo1/_mapping { "properties": { "location": { "type": "geo_point" } } } PUT geo1/_doc/1 { "location": "25,25" } PUT geo2 {} PUT geo2/_mapping { "properties": { "location": { "type": "geo_point" } } } PUT geo2/_doc/1 { "location": "35,35" } ``` 2. Create `geo*` data view ### Test vector tile request warning "View details" button for vector tile requests is out of scope for this PR. Vector tile requests use _mvt API instead of _search API. As such, vector tile requests do not use search source or request inspector. 1. create new map, add documents layer from `geo*` data view. 2. add filter ``` { "error_query": { "indices": [ { "error_type": "exception", "message": "local shard failure message 123", "name": "geo2" } ] } } ``` <img width="400" alt="Screenshot 2023-11-13 at 2 08 06 PM" src="https://github.com/elastic/kibana/assets/373691/8b608400-79d0-4800-9980-5af76b507a43"> ### Test geojson incomplete results warning with single request 1. create new map, add documents layer from `geo*` data view. 2. Set scaling to "Limit results to 10000" 3. add filter ``` { "error_query": { "indices": [ { "error_type": "exception", "message": "local shard failure message 123", "name": "geo2" } ] } } ``` <img width="400" alt="Screenshot 2023-11-13 at 2 11 48 PM" src="https://github.com/elastic/kibana/assets/373691/e1b1de01-1db7-40ad-b221-29f42baf5735"> ### Test geojson incomplete results warning with multiple requests 1. create new map, add documents layer from `geo*` data view. 2. Set scaling to "Show clusters when results exceed 10000" 3. add filter ``` { "error_query": { "indices": [ { "error_type": "exception", "message": "local shard failure message 123", "name": "geo2" } ] } } ``` <img width="400" alt="Screenshot 2023-11-13 at 2 12 57 PM" src="https://github.com/elastic/kibana/assets/373691/27beffc4-1dba-4ec4-90f8-e92002f8a63a"> --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
c3ac89c
commit 0b24e40
Showing
42 changed files
with
690 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.