-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[maps] display incomplete results warning in layer legend #171144
Conversation
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-presentation (Team:Presentation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New exports from kbn-search-response-warnings/index.ts
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a question, but nothing that necessarily needs to block merging.
lgtm! code review and tested errors and warnings on different layer types and settings.
}: { | ||
registerCancelCallback: (callback: () => void) => void; | ||
requestDescription: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm slightly concerned that we may be removing useful context for the user when removing the requestDescription
. Did you find the requestDescription
was not helpful or inaccurate or maybe some other reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found requestDescription to be dive too deeply into implementation details. The user only cares about what is getting loaded, like layer features or join metrics. Details about how layer features are elasticsearch aggregation buckets vs elasticsearch documents is not important and should not be surfaced at a high level. Users can interrogate the request if they really want all the implementation details.
Closes #170653
Closes #170654
PR updates Maps to display incomplete result warnings in layer legend (instead of displaying toast)
Test setup
geo*
data viewTest 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.
geo*
data view.Test geojson incomplete results warning with single request
geo*
data view.Test geojson incomplete results warning with multiple requests
geo*
data view.