Skip to content

Commit 312b0ec

Browse files
committed
Add CDx page
1 parent 308c937 commit 312b0ec

File tree

10 files changed

+17478
-4
lines changed

10 files changed

+17478
-4
lines changed

src/main/webapp/app/components/Header.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class Header extends React.Component<IHeaderProps> {
7979
},
8080
{ title: 'Actionable Genes', link: PAGE_ROUTE.ACTIONABLE_GENE },
8181
{ title: 'Oncology Therapies', link: PAGE_ROUTE.ONCOLOGY_TX },
82+
{ title: 'CDx', link: PAGE_ROUTE.CDX },
8283
{ title: 'Cancer Genes', link: PAGE_ROUTE.CANCER_GENES },
8384
{
8485
title: 'API / License',

src/main/webapp/app/components/oncokbTable/OncoKBTable.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import ReactTable, { Column, TableProps } from 'react-table';
33
import { observer } from 'mobx-react';
44
import { observable, computed } from 'mobx';
5+
import classNames from 'classnames';
56

67
export type SearchColumn<T> = Column<T> & {
78
onFilter?: (data: T, keyword: string) => boolean;
@@ -87,9 +88,12 @@ export default class OncoKBTable<T> extends React.Component<
8788
<ReactTable
8889
{...this.props}
8990
showPagination={this.props.showPagination}
90-
className={`-striped -highlight oncokbReactTable ${
91-
this.props.fixedHeight ? 'fixedHeight' : ''
92-
} ${this.props.className}`}
91+
className={classNames(
92+
`-striped -highlight oncokbReactTable ${
93+
this.props.fixedHeight ? 'fixedHeight' : ''
94+
}`,
95+
this.props.className
96+
)}
9397
data={this.filteredData}
9498
/>
9599
</div>

src/main/webapp/app/config/constants.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ export enum PAGE_ROUTE {
544544
ACTIONABLE_GENE = '/actionable-genes',
545545
PO_TX = '/precision-oncology-therapies',
546546
ONCOLOGY_TX = '/oncology-therapies',
547+
CDX = '/companion-diagnostic-devices',
547548
GENE_HEADER = '/gene',
548549
GENE = '/gene/:hugoSymbol',
549550
ALTERATION = '/gene/:hugoSymbol/:alteration',
@@ -912,3 +913,10 @@ export const DEFAULT_REFERENCE_GENOME = REFERENCE_GENOME.GRCh37;
912913
export const DEFAULT_FEEDBACK_ANNOTATION: Feedback = {
913914
type: FeedbackType.ANNOTATION,
914915
};
916+
917+
export const FDA_SUBMISSION_URL_SUFFIX = {
918+
PMA: 'cfpma/pma.cfm',
919+
PMN: 'cfpmn/pmn.cfm',
920+
HDE: 'cfhde/hde.cfm',
921+
DEN: 'cfpmn/denovo.cfm',
922+
};

0 commit comments

Comments
 (0)