[Maps] allow simultaneous opening of multiple tooltips#57226
Merged
nreese merged 12 commits intoelastic:masterfrom Feb 13, 2020
Merged
[Maps] allow simultaneous opening of multiple tooltips#57226nreese merged 12 commits intoelastic:masterfrom
nreese merged 12 commits intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/kibana-gis (Team:Geo) |
jsanz
approved these changes
Feb 11, 2020
Contributor
jsanz
left a comment
There was a problem hiding this comment.
Tested locally on Chromium, it works great 👍
I never imagined this being so useful in the context of how we do both tooltips and pop up windows when clicking, so you can wander and explore over the map, and then you can focus by clicking when you see something interesting and repeat.
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/rollup_job/tsvb·js.rollup app tsvb integration create rollup tsvbStandard OutStack TraceHistory
To update your PR or re-run it, just comment with: |
nreese
added a commit
to nreese/kibana
that referenced
this pull request
Feb 13, 2020
* split TooltipPopover from TooltipContent * display multiple tooltips * hack to fix spacing * hover tooltip * fix jest tests for new props * update snapshots * simplify jest tests * avoid opening up multiple tooltips in same location * remove duplicated code Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
nreese
added a commit
that referenced
this pull request
Feb 13, 2020
* split TooltipPopover from TooltipContent * display multiple tooltips * hack to fix spacing * hover tooltip * fix jest tests for new props * update snapshots * simplify jest tests * avoid opening up multiple tooltips in same location * remove duplicated code Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Feb 13, 2020
* master: (22 commits) skip flaky suite (elastic#50018) skip settings tests (elastic#57608) skip failing suite (elastic#44631) [SIEM] [Case] Initial UI (elastic#57283) handle viewing sample dashboards on default dist (elastic#57510) Fix detection of "system requests" in plugins (elastic#57149) [ML] New Platform server shim: update job service schema (elastic#57614) skip flaky suite (elastic#44631) [APM] Update monospace font family variable (elastic#57555) skip flaky test (elastic#57377) Skip save query tests (elastic#57589) [Maps] allow simultaneous opening of multiple tooltips (elastic#57226) [Uptime] Fix/host connected components (elastic#56969) [logs][metrics][docs] Update screenshots for 7.6 (elastic#57254) [ML] New Platform server shim: update job service routes to use new platform router (elastic#57403) [Maps] Fix document source top hits split by scripted field (elastic#57481) Use log4j pattern syntax (elastic#57433) [ML] Categorization field example endpoint tests (elastic#57471) [Lens] Filter out pinned filters from saved object of Lens (elastic#57197) Lens client side shim cleanup (elastic#56976) ...
nreese
added a commit
that referenced
this pull request
Jan 23, 2023
…149254) Fixes #148819 When [multiple tooltips](#57226) first merged in 7.7.0, TooltipFeature only had `id` and `layerId` property so the original equality check `_.isEqual(features, tooltipState.features)` prevented tooltips from opening that shows identical features. Later releases added new properties to TooltipFeature that broke this deep equals check. This PR resolves the issue by mapping features to just `{id, layerId}` before equality check to ensure those are the only properties that determine equality. Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #56645
This PR allows users to open multiple tooltips at a time. This will allow users to compare values across features.