Skip to content

Commit

Permalink
Update news for data v4.11 (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 authored Nov 9, 2023
1 parent d017c93 commit 5861167
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/main/webapp/app/config/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ export type DataRelease = {
};

export const DATA_RELEASES: DataRelease[] = [
{ date: '11132023', version: 'v4.11' },
{ date: '10242023', version: 'v4.10' },
{ date: '10022023', version: 'v4.9' },
{ date: '09012023', version: 'v4.8' },
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/app/pages/newsPage/NewsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export default class NewsPage extends React.Component<{
<CitationText />
</div>
<div className="mt-2">
<NewsList date={'11132023'} />
<NewsList date={'10242023'} />
<NewsList date={'10022023'} />
<NewsList date={'09012023'} />
Expand Down
89 changes: 89 additions & 0 deletions src/main/webapp/app/pages/newsPage/NewsPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,95 @@ const EVIDENCE_COLUMN_SEPARATOR = '; ';
// https://stackoverflow.com/questions/41947168/is-it-possible-to-use-keyof-operator-on-literals-instead-of-interfaces

export const NEWS_BY_DATE: { [date: string]: NewsData } = {
'11132023': {
news: [
<span>
Updated therapeutic implications - Addition of therapies for variants
with a level of evidence
<Row className={'overflow-auto'}>
<table className="table">
<thead>
<tr>
<th>{GENE}</th>
<th>{MUTATION}</th>
<th>{CANCER_TYPE}</th>
<th>{CURRENT_LEVEL_OF_EVIDENCE}</th>
<th>{DRUGS_CURRENTLY_IN_ONCOKB}</th>
<th>{DRUGS_ADDED_TO_ONCOKB}</th>
<th>{EVIDENCE}</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<GenePageLink hugoSymbol="BRCA1" />
</td>
<td rowSpan={2} style={{ verticalAlign: 'middle' }}>
Oncogenic Mutations
</td>
<td rowSpan={2} style={{ verticalAlign: 'middle' }}>
Prostate Cancer
</td>
<td rowSpan={2} style={{ verticalAlign: 'middle' }}>
1
</td>
<td rowSpan={2} style={{ verticalAlign: 'middle' }}>
Olaparib, Rucaparib, Olaparib + Abiraterone + Prednisone,
Talazoparib + Enzalutamide (Level 1)
</td>
<td rowSpan={2} style={{ verticalAlign: 'middle' }}>
Niraparib + Abiraterone Acetate + Prednisone (Level 1)
</td>
<td rowSpan={2} style={{ verticalAlign: 'middle' }}>
<WithSeparator separator={EVIDENCE_COLUMN_SEPARATOR}>
<FdaApprovalLink
approval={'Niraparib + Abiraterone Acetate + Prednisone'}
link={
'https://www.fda.gov/drugs/resources-information-approved-drugs/fda-approves-niraparib-and-abiraterone-acetate-plus-prednisone-brca-mutated-metastatic-castration'
}
/>
<PMIDLink pmids={'36952634'} />
</WithSeparator>
</td>
</tr>
<tr>
<td>
<GenePageLink hugoSymbol="BRCA2" />
</td>
</tr>
</tbody>
</table>
</Row>
</span>,
],
changedAnnotations: [
{
columnHeaderType: AnnotationColumnHeaderType.LEVEL,
title: 'Updated therapeutic implications - Changed level of evidence',
content: [
[
'IDH1',
'R132',
'Myelodysplastic Syndromes',
'Ivosidenib',
'3B',
'1',
<WithSeparator separator={EVIDENCE_COLUMN_SEPARATOR}>
<FdaApprovalLink
approval="Ivosidenib for patients with IDH1-mutant myelodysplastic syndrome"
link="https://www.fda.gov/drugs/resources-information-approved-drugs/fda-approves-ivosidenib-myelodysplastic-syndromes"
/>
<AbstractLink
abstract="DiNardo et al. Abstract# MDS-457, SOHO 2023"
link="https://www.sciencedirect.com/science/article/pii/S2152265023011898"
/>
</WithSeparator>,
],
],
},
],
newlyAddedGenes: ['CTNNA1', 'FGF10', 'FGF14', 'HSP90AA1'],
},
'10242023': {
changedAnnotations: [
{
Expand Down
Binary file modified src/main/webapp/content/images/oncokb_summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<meta name="twitter:site" content="@oncokb">
<meta name="twitter:title" content="OncoKB™ - MSK's Precision Oncology Knowledge Base">
<meta name="twitter:description" content="OncoKB™ is a precision oncology knowledge base developed at Memorial Sloan Kettering Cancer Center that contains biological and clinical information about genomic alterations in cancer.">
<meta name="twitter:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20231024">
<meta name="twitter:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20231113">
<meta name="twitter:url" content="https://www.oncokb.org/">

<meta property="og:site_name" content="OncoKB™">
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.oncokb.org/">
<meta property="og:title" content="OncoKB™ - MSK's Precision Oncology Knowledge Base">
<meta property="og:description" content="OncoKB™ is a precision oncology knowledge base developed at Memorial Sloan Kettering Cancer Center that contains biological and clinical information about genomic alterations in cancer.">
<meta property="og:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20231024">
<meta property="og:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20231113">

<link rel="mask-icon" href="content/images/favicon/safari-pinned-tab.svg" color="#0968c3">
<!-- Preload the customized fonts, so the html knows how to pain the page -->
Expand Down

0 comments on commit 5861167

Please sign in to comment.