Skip to content

Commit

Permalink
Update news for v4.9 (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 authored Sep 29, 2023
1 parent 5a4553b commit 6129810
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 12 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: '10022023', version: 'v4.9' },
{ date: '09012023', version: 'v4.8' },
{ date: '07282023', version: 'v4.7' },
{ date: '07122023', version: 'v4.6' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const ChangedAnnotationListItem = (props: {
annotationColumnHeader = CHANGED_ANNOTATION_ADDITIONAL_DRUG_SAME_LEVEL_COLUMNS;
useOneLineRowClass = false;
defaultTitle =
'Updated therapeutic implications - addition of therapies for variants with a level of evidence';
'Updated therapeutic implications - Addition of therapies for variants with a level of evidence';
break;
case AnnotationColumnHeaderType.ADDITIONAL_DIFF_LEVEL_DRUG:
annotationColumnHeader = CHANGED_ANNOTATION_ADDITIONAL_DRUG_DIFF_LEVEL_COLUMNS;
Expand Down
9 changes: 9 additions & 0 deletions src/main/webapp/app/pages/newsPage/Links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ export const FdaApprovalLink: React.FunctionComponent<{
linkText += `of ${props.approval}`;
return <Linkout link={props.link}>{linkText}</Linkout>;
};
export const FdaWithdrawalLink: React.FunctionComponent<{
linkText: string;
}> = props => {
return (
<Linkout link="https://www.fda.gov/drugs/resources-information-approved-drugs/withdrawn-cancer-accelerated-approvals">
{props.linkText}
</Linkout>
);
};
export const FdaBreakthroughLink: React.FunctionComponent<{
link: string;
}> = props => {
Expand Down
11 changes: 8 additions & 3 deletions src/main/webapp/app/pages/newsPage/NewsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import * as React from 'react';
import { CitationText } from 'app/components/CitationText';
import NewsList, { getNews, getNewsTitle } from 'app/pages/newsPage/NewsList';
import { NEWS_BY_DATE } from 'app/pages/newsPage/NewsPageContent';
import {
DRUGS_ADDED_TO_ONCOKB,
DRUGS_CURRENTLY_IN_ONCOKB,
NEWS_BY_DATE,
} from 'app/pages/newsPage/NewsPageContent';
import {
FAQ_LINK,
IMG_MAX_WIDTH,
Expand Down Expand Up @@ -85,6 +89,7 @@ export default class NewsPage extends React.Component<{
<CitationText />
</div>
<div className="mt-2">
<NewsList date={'10022023'} />
<NewsList date={'09012023'} />
<NewsList date={'07282023'} />
<NewsList date={'07122023'} />
Expand Down Expand Up @@ -171,8 +176,8 @@ export default class NewsPage extends React.Component<{
<th>Mutation</th>
<th>Cancer Type</th>
<th>Current Level of Evidence</th>
<th>Drug(s) Already in {ONCOKB_TM}</th>
<th>Newly Added Drug(s)</th>
<th>{DRUGS_CURRENTLY_IN_ONCOKB}</th>
<th>{DRUGS_ADDED_TO_ONCOKB}</th>
<th>Evidence</th>
</tr>
</thead>
Expand Down
78 changes: 72 additions & 6 deletions src/main/webapp/app/pages/newsPage/NewsPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
AbstractLink,
FdaApprovalLink,
FdaBreakthroughLink,
FdaWithdrawalLink,
NccnLink,
} from 'app/pages/newsPage/Links';
import WithSeparator from 'react-with-separator';
Expand Down Expand Up @@ -76,8 +77,8 @@ export const CURRENT_DRUG = 'Current Drug';
export const UPDATE = 'Update';
export const CURRENT_LEVEL_OF_EVIDENCE = 'Current Level of Evidence';
export const PREVIOUS_LEVEL_OF_EVIDENCE = 'Previous Level of Evidence';
export const NEWLY_ADDED_DRUGS = 'Newly Added Drug(s)';
export const DRUGS_ALREADY_IN_ONCOKB = 'Drug(s) Already in OncoKB™';
export const DRUGS_ADDED_TO_ONCOKB = `Drug(s) added to ${ONCOKB_TM}`;
export const DRUGS_CURRENTLY_IN_ONCOKB = `Drug(s) currently in ${ONCOKB_TM}`;
export const PREVIOUS_BIOMARKER_ASSOCIATION = 'Previous Biomarker Association';
export const CURRENT_BIOMARKER_ASSOCIATION = 'Current Biomarker Association';

Expand Down Expand Up @@ -127,8 +128,8 @@ export const CHANGED_ANNOTATION_ADDITIONAL_DRUG_SAME_LEVEL_COLUMNS = [
{ name: MUTATION },
{ name: CANCER_TYPE },
{ name: CURRENT_LEVEL_OF_EVIDENCE },
{ name: DRUGS_ALREADY_IN_ONCOKB },
{ name: NEWLY_ADDED_DRUGS },
{ name: DRUGS_CURRENTLY_IN_ONCOKB },
{ name: DRUGS_ADDED_TO_ONCOKB },
{ name: EVIDENCE },
];

Expand All @@ -138,8 +139,8 @@ export const CHANGED_ANNOTATION_ADDITIONAL_DRUG_DIFF_LEVEL_COLUMNS = [
{ name: CANCER_TYPE },
{ name: PREVIOUS_LEVEL_OF_EVIDENCE },
{ name: CURRENT_LEVEL_OF_EVIDENCE },
{ name: DRUGS_ALREADY_IN_ONCOKB },
{ name: NEWLY_ADDED_DRUGS },
{ name: DRUGS_CURRENTLY_IN_ONCOKB },
{ name: DRUGS_ADDED_TO_ONCOKB },
{ name: EVIDENCE },
];

Expand Down Expand Up @@ -199,6 +200,71 @@ 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 } = {
'10022023': {
changedAnnotations: [
{
columnHeaderType: AnnotationColumnHeaderType.LEVEL,
title: 'Updated therapeutic implications - Changed level of evidence',
content: [
[
'RET',
'Oncogenic Mutations',
'Medullary Thyroid Cancer (MTC)',
'Pralsetinib',
'1',
'3A',
<FdaWithdrawalLink linkText="Withdrawal of FDA approval for Pralsetinib for RET-mutant MTC" />,
],
[
'ALK',
'Oncogenic Mutations',
'Non-Small Cell Lung Cancer',
'Lorlatinib',
'1',
'No level',
<Linkout link="https://www.accessdata.fda.gov/drugsatfda_docs/label/2021/210868s004lbl.pdf">
Adherence to FDA drug label and CDx for Lorlatinib
</Linkout>,
],
],
},
{
columnHeaderType: AnnotationColumnHeaderType.ADDITIONAL_SAME_LEVEL_DRUG,
content: [
[
'Other Biomarkers',
'MSI-H',
'Endometrial Cancer',
'1',
'Pembrolizumab (All Solid Tumors)',
'Dostarlimab + Carboplatin + Paclitaxel (Level 1, Endometrial Cancer)',
<WithSeparator separator={EVIDENCE_COLUMN_SEPARATOR}>
<FdaApprovalLink
approval={'Dostarlimab for MSI-H endometrial cancer'}
link={
'https://www.fda.gov/drugs/drug-approvals-and-databases/fda-approves-quizartinib-newly-diagnosed-acute-myeloid-leukemia'
}
/>
<PMIDLink pmids={'36972026'} />
</WithSeparator>,
],
],
},
],
newlyAddedGenes: [
'ELF4',
'ELK4',
'ELL',
'ELN',
'ERC1',
'FOXN4',
'HIRA',
'ONECUT2',
'POU3F2',
'SF3B2',
'ZBTB7A',
],
},
'09012023': {
newlyAddedGenes: [
'ACVR1B',
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?20230901">
<meta name="twitter:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20230929">
<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?20230901">
<meta property="og:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20230929">

<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 6129810

Please sign in to comment.