Skip to content

Commit

Permalink
Update news for v4.16 and introduce CDx page (#1111)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 authored May 1, 2024
1 parent 358b34c commit 2f3088b
Show file tree
Hide file tree
Showing 57 changed files with 17,694 additions and 32 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshot-test/__baseline_snapshots__/Login Page-snap.png
Binary file modified screenshot-test/__baseline_snapshots__/User Details Page-snap.png
1 change: 1 addition & 0 deletions src/main/webapp/app/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class Header extends React.Component<IHeaderProps> {
},
{ title: 'Actionable Genes', link: PAGE_ROUTE.ACTIONABLE_GENE },
{ title: 'Oncology Therapies', link: PAGE_ROUTE.ONCOLOGY_TX },
{ title: 'CDx', link: PAGE_ROUTE.CDX },
{ title: 'Cancer Genes', link: PAGE_ROUTE.CANCER_GENES },
{
title: 'API / License',
Expand Down
10 changes: 7 additions & 3 deletions src/main/webapp/app/components/oncokbTable/OncoKBTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import ReactTable, { Column, TableProps } from 'react-table';
import { observer } from 'mobx-react';
import { observable, computed } from 'mobx';
import classNames from 'classnames';

export type SearchColumn<T> = Column<T> & {
onFilter?: (data: T, keyword: string) => boolean;
Expand Down Expand Up @@ -87,9 +88,12 @@ export default class OncoKBTable<T> extends React.Component<
<ReactTable
{...this.props}
showPagination={this.props.showPagination}
className={`-striped -highlight oncokbReactTable ${
this.props.fixedHeight ? 'fixedHeight' : ''
} ${this.props.className}`}
className={classNames(
`-striped -highlight oncokbReactTable ${
this.props.fixedHeight ? 'fixedHeight' : ''
}`,
this.props.className
)}
data={this.filteredData}
/>
</div>
Expand Down
9 changes: 9 additions & 0 deletions src/main/webapp/app/config/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ export enum PAGE_ROUTE {
ACTIONABLE_GENE = '/actionable-genes',
PO_TX = '/precision-oncology-therapies',
ONCOLOGY_TX = '/oncology-therapies',
CDX = '/companion-diagnostic-devices',
GENE_HEADER = '/gene',
GENE = '/gene/:hugoSymbol',
ALTERATION = '/gene/:hugoSymbol/:alteration',
Expand Down Expand Up @@ -798,6 +799,7 @@ export type DataRelease = {
};

export const DATA_RELEASES: DataRelease[] = [
{ date: '05012024', version: 'v4.16' },
{ date: '03212024', version: 'v4.15' },
{ date: '02082024', version: 'v4.14' },
{ date: '12212023', version: 'v4.13' },
Expand Down Expand Up @@ -918,3 +920,10 @@ export const DEFAULT_REFERENCE_GENOME = REFERENCE_GENOME.GRCh37;
export const DEFAULT_FEEDBACK_ANNOTATION: Feedback = {
type: FeedbackType.ANNOTATION,
};

export const FDA_SUBMISSION_URL_SUFFIX = {
PMA: 'cfpma/pma.cfm',
PMN: 'cfpmn/pmn.cfm',
HDE: 'cfhde/hde.cfm',
DEN: 'cfpmn/denovo.cfm',
};
Loading

0 comments on commit 2f3088b

Please sign in to comment.