-
Notifications
You must be signed in to change notification settings - Fork 44
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
Chore/update discoverydropdowntag #1123
Chore/update discoverydropdowntag #1123
Conversation
<Col > | ||
<Tooltip | ||
placement='left' | ||
overlay={category.tooltip} |
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.
the tooltip
field should be added to the docs at docs/portal_config.md
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 added tooltip": "additional data", // optional string to add data when hovered on the info button at portal_config.md
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.
should also add similar feature into https://github.com/uc-cdis/data-portal/blob/master/src/Discovery/DiscoveryTagViewer.tsx because they are basically the same thing with different appearences
overlay={category.tooltip} | ||
overlayClassName='g3-filter-section__and-or-toggle-helper-tooltip' | ||
arrowContent={<div className='rc-tooltip-arrow-inner' />} | ||
width='300px' |
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.
don't hard code this
</Tooltip> | ||
</Col> | ||
</td> | ||
<td width='500px' > |
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.
and this
closing to cleanup prs if this is still an issue please address above cements and reopen |
Added code for tooltip info button right next to each study filter category with additional data in DiscoveryDropdownTagViewer.tsx file under uc-cdis/data-portal/src/Discovery.