-
Notifications
You must be signed in to change notification settings - Fork 233
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
react-variant-view update with existing signal data #3489
Conversation
81d9fb4
to
a7a9790
Compare
I copied over some files from signal, those files have a comment on the top: |
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 think we should try to refactor/relocate duplicates before merging this PR
packages/react-variant-view/src/component/cancerPatientPopulation/CancerPatientPrevalence.tsx
Outdated
Show resolved
Hide resolved
packages/react-variant-view/src/component/frequencyTable/FrequencyCell.tsx
Outdated
Show resolved
Hide resolved
packages/react-variant-view/src/component/frequencyTable/MutationTumorTypeFrequencyTable.tsx
Outdated
Show resolved
Hide resolved
...react-variant-view/src/component/generalPopulationPrevalence/GeneralPopulationPrevalence.tsx
Outdated
Show resolved
Hide resolved
packages/react-variant-view/src/component/pathogenicity/ClinVarInterpretation.tsx
Show resolved
Hide resolved
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.
Thanks for moving the duplicate code under appropriate packages! Just added minor suggestions regarding naming and location of the functions/models.
fbce8e0
to
a82710f
Compare
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.
Almost there! Just a few minor requests.
packages/react-variant-view/src/component/frequencyTable/FrequencyTable.css
Outdated
Show resolved
Hide resolved
a82710f
to
4e231ae
Compare
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.
Looks great, thanks!
4e231ae
to
f84826d
Compare
- frequencyCell.txs to cbioportal-frontend-commons - all utils and models go to cbioportal-utils - MutationTumorTypeFrequencyTable stays at variant-view package, but export for signal - some other changes to fix comments
f84826d
to
2881791
Compare
Fix: cBioPortal/cbioportal#7989