-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add somatic/germline gene page #1181
Conversation
- Update gene info section & Add external link icon - Add InfoTile & GeneOriginTabs
Add genomic indicators && Minor updates
Added mini-navbar
Minor changes
Add germline core proxy config
Update based on the latest design
Show protein change and allele state for germline page
src/main/webapp/app/Main.tsx
Outdated
routing={this.props.routing} | ||
windowStore={this.props.windowStore} | ||
> | ||
<AppRouts |
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.
Is this a typo?
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.
Yup, will fix
inGenePage | ||
? '' | ||
: props.windowStore.isXLscreen | ||
? 'container' | ||
: 'container-fluid' |
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.
Would CSS media queries would this be simpler than using Javascript?
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.
Good question. Didn't look into, inherited from the original.
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.
For public website, we haven't really used the @media to manage the layout. I would stick to the classname for now.
content: ( | ||
<div> | ||
<OncoKBLevelIcon | ||
size={'s2'} |
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 see this all over the code base is there a reason why you don't do "s2"
instead?
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.
you meant why it's not a default?
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.
size={'s2'}
vs size="s2"
|
||
@inject('appStore', 'windowStore', 'routing') | ||
@observer | ||
export default class SomaticGermlineGenePage extends React.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.
why not a functional 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.
We have a store in this class. And we manage some observables states here too.
No description provided.