Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
jfkonecn committed Feb 25, 2025
1 parent 328196d commit 6db6c0f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
2 changes: 2 additions & 0 deletions scripts/generate-news-sections.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const oncokbBaseUrls = [
'http://oncokb.org',
'https://www.oncokb.org',
'http://www.oncokb.org',
'https://beta.oncokb.org',
'http://beta.oncokb.org',
];

const objectPropertyMark = '-------------------';
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/app/config/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ export type DataRelease = {
};

export const DATA_RELEASES: DataRelease[] = [
{ date: '02252025', version: 'v4.26' },
{ date: '02262025', version: 'v4.26' },
{ date: '01302025', version: 'v4.25' },
{ date: '12192024', version: 'v4.24' },
{ date: '11262024', version: 'v4.23' },
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/app/pages/newsPage/NewsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default class NewsPage extends React.Component<{
<CitationText />
</div>
<div className="mt-2">
<NewsList date={'02252025'} />
<NewsList date={'02262025'} />
<NewsList date={'01302025'} />
<NewsList date={'12192024'} />
<NewsList date={'11262024'} />
Expand Down
6 changes: 3 additions & 3 deletions src/main/webapp/app/pages/newsPage/NewsPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import { PMALink } from 'app/shared/links/PMALink';
import OptimizedImage from 'app/shared/image/OptimizedImage';
import { AnnotationColumnHeaderType } from './ChangedAnnotationListItem';
import { linkableMutationName, convertGeneInputToLinks } from './Util';
import NewsContent022025 from './code-generated/NewsContent022525';
import NewsContent02262025 from './code-generated/NewsContent02262025';

export type ChangedAnnotation = {
content: (ElementType | ElementType[])[][];
Expand Down Expand Up @@ -303,8 +303,8 @@ 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 } = {
'02252025': {
rawComponent: <NewsContent022025 />,
'02262025': {
rawComponent: <NewsContent02262025 />,
},
'01302025': {
priorityNews: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ import {
} from 'app/shared/utils/UrlUtils';
import { NewlyAddedGenesListItem } from 'app/pages/newsPage/NewlyAddedGenesListItem';

export default function NewsContent022525() {
export default function NewsContent02262025() {
return (
<>
<ul>
<li>
Update to our{' '}
<Link to="/oncology-therapies">FDA-Approved Oncology</Link> Therapies
page
</li>
<li>
Updated Therapeutic Implications - Promotion of tumor type-specific
level of evidence for an alteration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Update to our [FDA-Approved Oncology](https://beta.oncokb.org/oncology-therapies) Therapies page
- Updated Therapeutic Implications - Promotion of tumor type-specific level of evidence for an alteration

| Gene | Mutation | Cancer Type | Level-associated Drug(s) in OncoKB™ | Previous Level | Updated Level | Evidence |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ const OncologyTherapiesPage: React.FunctionComponent<{}> = props => {
'https://www.fda.gov/drugs/resources-information-approved-drugs/oncology-cancer-hematologic-malignancies-approval-notifications'
}
>
Content current as of 12/13/2024
Content current as of 02/15/2025
</Linkout>
</div>
<div>
Expand Down

0 comments on commit 6db6c0f

Please sign in to comment.