Skip to content

Commit

Permalink
Update news 4.21
Browse files Browse the repository at this point in the history
  • Loading branch information
jfkonecn committed Sep 13, 2024
1 parent dec09e1 commit 2b2ba21
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/screenshot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- name: Run the test
run: yarn run screenshot-test-in-docker
- name: Archive screenshots
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: visual-regression-screenshots
path: /home/runner/work/oncokb-public/oncokb-public/screenshot-test/__latest_snapshots__/
- name: Archive visual regression failures
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: visual-regression-diff-report
Expand Down
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 @@ -800,6 +800,7 @@ export type DataRelease = {
};

export const DATA_RELEASES: DataRelease[] = [
{ date: '09192024', version: 'v4.21' },
{ date: '08152024', version: 'v4.20' },
{ date: '07042024', version: 'v4.19' },
{ date: '07022024', version: 'v4.18' },
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 @@ -84,6 +84,7 @@ export default class NewsPage extends React.Component<{
<CitationText />
</div>
<div className="mt-2">
<NewsList date={'09192024'} />
<NewsList date={'08152024'} />
<NewsList date={'07042024'} />
<NewsList date={'07022024'} />
Expand Down
45 changes: 45 additions & 0 deletions src/main/webapp/app/pages/newsPage/NewsPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,51 @@ 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 } = {
'09192024': {
changedAnnotations: [
{
columnHeaderType: AnnotationColumnHeaderType.NEW_ALTERATION_WITH_LEVEL,
content: [
[
'3A',
'ALK',
'F1174L/C, F1245Y/V, R1275Q/L',
'Neuroblastoma',
'Lorlatinib',
<WithSeparator separator={EVIDENCE_COLUMN_SEPARATOR}>
<PMIDLink pmids="38410486" />
<PMIDLink pmids="37012551" />
<PMIDLink pmids="26554404" />
<PMIDLink pmids="38032104" />
<PMIDLink pmids="27483357" />
</WithSeparator>,
],
],
},
{
columnHeaderType:
AnnotationColumnHeaderType.DRUG_UPDATE_SAME_HIGHEST_LEVEL,
content: [
[
'1',
'EGFR',
'Exon 19 in-frame deletions, L858R',
'Non-Small Cell Lung Cancer',
'Afatinib, Dacomitinib, Erlotinib, Erlotinib + Ramucirumab, Gefitinib, Osimertinib, Osimertinib + Chemotherapy (Level 1); Amivantamab + Chemotherapy (Level 2); Amivantamab + Lazertinib, Patritumab Deruxtecan (Level 3A',
'Amivantamab + Lazertinib (Level 1)',
<WithSeparator separator={EVIDENCE_COLUMN_SEPARATOR}>
<FdaApprovalLink
approval="Amivantamab + Lazertinib"
link="https://www.fda.gov/drugs/resources-information-approved-drugs/fda-approves-lazertinib-amivantamab-vmjw-non-small-lung-cancer"
/>
<PMIDLink pmids="38924756" />
</WithSeparator>,
],
],
},
],
newlyAddedGenes: ['ABCB1', 'ADGRA2', 'ELL2', 'XPA'],
},
'08152024': {
changedAnnotations: [
{
Expand Down
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?20240815">
<meta name="twitter:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20240919">
<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?20240815">
<meta property="og:image" content="https://www.oncokb.org/content/images/oncokb_summary.png?20240919">

<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 2b2ba21

Please sign in to comment.