-
Notifications
You must be signed in to change notification settings - Fork 298
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 PatientIdentifiers URL Parameter #4616
✨ Add PatientIdentifiers URL Parameter #4616
Conversation
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 @haynescd ! This is great!
There is some odd behavior I noticed when you use the filter. It doesn't seem to load all the charts?
It does load all the charts when I access it directly: https://deploy-preview-4616--cbioportalfrontend.netlify.app/study/summary?id=msk_impact_2017
@inodb Interesting. This link produces the same outcome (sampleIdentifier Url Parameter). I can look into why all charts are not loaded. |
Thanks @haynescd ! |
cbb851d
to
48d489a
Compare
48d489a
to
1472e6c
Compare
Fix cBioPortal/cbioportal#10081
The Study View Page currently has a way to construct filterJSON URL with sample IDs:
https://cbioportal.org/study/summary?id=msk_impact_2017#filterJson={"sampleIdentifiers":[{"studyId":"msk_impact_2017","sampleId":"P-0000004-T01-IM3"}]}
Update StudyViewPageStore to handle the following URL Parameter
JSON that is now supported within filterJson
{"patientIdentifiers": [{"studyId": "test_studyId", "patientId": "test_patientid"}]}
Ex:
https://cbioportal.org/study/summary?id=msk_impact_2017#filterJson={"patientIdentifiers":[{"studyId":"msk_impact_2017","patientId":"P-0000004"}]}