Skip to content
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

Show both tooltips on hover when lollipop exists in both groups in comparison view lollipop #4458

Conversation

gblaih
Copy link
Contributor

@gblaih gblaih commented Dec 21, 2022

Adds feature in cBioPortal/cbioportal#9901

  • When hovering over a lollipop which exists in both groups, show both tooltips at once

@gblaih gblaih requested a review from alisman December 21, 2022 22:03
@@ -143,11 +145,26 @@ export default class LollipopPlotNoTooltip extends React.Component<
if (lollipopIndex !== null) {
const lollipopComponent = this.lollipopComponents[lollipopIndex];
if (lollipopComponent) {
const mirrorLollipopComponent = _.find(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets put a nice comment on this explaining concept of "mirror"

@alisman
Copy link
Collaborator

alisman commented Dec 22, 2022

@gblaih nice work here! looks great. can you add some comments to this code explaining what "mirror" hitzone is?

@alisman alisman merged commit dba29ca into cBioPortal:master Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants