diff --git a/src/main/webapp/app/config/constants.tsx b/src/main/webapp/app/config/constants.tsx index 18641398b..abd69126e 100644 --- a/src/main/webapp/app/config/constants.tsx +++ b/src/main/webapp/app/config/constants.tsx @@ -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' }, diff --git a/src/main/webapp/app/pages/newsPage/ChangedAnnotatonListItem.tsx b/src/main/webapp/app/pages/newsPage/ChangedAnnotatonListItem.tsx index 3d8f00151..7ef545d66 100644 --- a/src/main/webapp/app/pages/newsPage/ChangedAnnotatonListItem.tsx +++ b/src/main/webapp/app/pages/newsPage/ChangedAnnotatonListItem.tsx @@ -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; diff --git a/src/main/webapp/app/pages/newsPage/Links.tsx b/src/main/webapp/app/pages/newsPage/Links.tsx index 88f9064af..a89b89b4b 100644 --- a/src/main/webapp/app/pages/newsPage/Links.tsx +++ b/src/main/webapp/app/pages/newsPage/Links.tsx @@ -13,6 +13,15 @@ export const FdaApprovalLink: React.FunctionComponent<{ linkText += `of ${props.approval}`; return {linkText}; }; +export const FdaWithdrawalLink: React.FunctionComponent<{ + linkText: string; +}> = props => { + return ( + + {props.linkText} + + ); +}; export const FdaBreakthroughLink: React.FunctionComponent<{ link: string; }> = props => { diff --git a/src/main/webapp/app/pages/newsPage/NewsPage.tsx b/src/main/webapp/app/pages/newsPage/NewsPage.tsx index f2725c1f6..04eef916b 100644 --- a/src/main/webapp/app/pages/newsPage/NewsPage.tsx +++ b/src/main/webapp/app/pages/newsPage/NewsPage.tsx @@ -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, @@ -85,6 +89,7 @@ export default class NewsPage extends React.Component<{
+ @@ -171,8 +176,8 @@ export default class NewsPage extends React.Component<{ Mutation Cancer Type Current Level of Evidence - Drug(s) Already in {ONCOKB_TM} - Newly Added Drug(s) + {DRUGS_CURRENTLY_IN_ONCOKB} + {DRUGS_ADDED_TO_ONCOKB} Evidence diff --git a/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx b/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx index 28b9371c4..75c4d6649 100644 --- a/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx +++ b/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx @@ -34,6 +34,7 @@ import { AbstractLink, FdaApprovalLink, FdaBreakthroughLink, + FdaWithdrawalLink, NccnLink, } from 'app/pages/newsPage/Links'; import WithSeparator from 'react-with-separator'; @@ -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'; @@ -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 }, ]; @@ -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 }, ]; @@ -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', + , + ], + [ + 'ALK', + 'Oncogenic Mutations', + 'Non-Small Cell Lung Cancer', + 'Lorlatinib', + '1', + 'No level', + + Adherence to FDA drug label and CDx for Lorlatinib + , + ], + ], + }, + { + 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)', + + + + , + ], + ], + }, + ], + newlyAddedGenes: [ + 'ELF4', + 'ELK4', + 'ELL', + 'ELN', + 'ERC1', + 'FOXN4', + 'HIRA', + 'ONECUT2', + 'POU3F2', + 'SF3B2', + 'ZBTB7A', + ], + }, '09012023': { newlyAddedGenes: [ 'ACVR1B', diff --git a/src/main/webapp/content/images/oncokb_summary.png b/src/main/webapp/content/images/oncokb_summary.png index cdcb8a137..f6407e817 100644 Binary files a/src/main/webapp/content/images/oncokb_summary.png and b/src/main/webapp/content/images/oncokb_summary.png differ diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 79a2c198d..ef7439c38 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@ - +