-
Notifications
You must be signed in to change notification settings - Fork 303
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
Capture selected scale in URL in group comparison lollipop plot #4436
Capture selected scale in URL in group comparison lollipop plot #4436
Conversation
334f741
to
55efa03
Compare
a3306c1
to
e9d6696
Compare
e9d6696
to
b58c35b
Compare
@@ -132,6 +132,7 @@ export default class GroupComparisonMutationsTab extends React.Component< | |||
</div> | |||
<GroupComparisonMutationsTabPlot | |||
store={this.props.store} | |||
urlWrapper={this.props.urlWrapper} |
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.
it would be better to give this component a property onScaleToggle and then update the urlWrapper at this level.
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.
fixed, gave component onScaleToggle
@@ -130,7 +132,11 @@ export default class GroupComparisonMutationsTabPlot extends React.Component< | |||
plotLollipopTooltipCountInfo={ | |||
plotLollipopTooltipCountInfo | |||
} | |||
axisMode={this.axisMode} | |||
axisMode={ |
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.
again, just give the component an axisMode property and keep it agnostic to the url, which is really a concert of the page component
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.
fixed
a6fcd70
to
f21eef6
Compare
f21eef6
to
32b8665
Compare
Fixes issue in cBioPortal/cbioportal#9901