-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2891 from Luke-Sikina/improved-routing
Routing Improvements
- Loading branch information
Showing
17 changed files
with
125 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export enum GroupComparisonTab { | ||
OVERLAP = "overlap", | ||
MUTATIONS = "mutations", | ||
CNA = "cna", | ||
MRNA = "mrna", | ||
PROTEIN = "protein", | ||
SURVIVAL = "survival", | ||
CLINICAL = "clinical" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export enum PatientViewPageTabs { | ||
Summary = "summary", | ||
ClinicalData = "clinicalData", | ||
PathologyReport = "pathologyReport", | ||
TissueImage = "tissueImage", | ||
MSKTissueImage = "MSKTissueImage", | ||
TrialMatchTab = "trialMatchTab", | ||
MutationalSignatures = "mutationalSignatures", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import * as React from 'react'; | ||
import { inject } from 'mobx-react'; | ||
import { AppStore } from 'AppStore'; | ||
import PortalHeader from 'appShell/App/PortalHeader'; | ||
import PortalFooter from 'appShell/App/PortalFooter'; | ||
import UserMessager from 'shared/components/userMessager/UserMessage'; | ||
import ErrorScreen from 'shared/components/errorScreen/ErrorScreen'; | ||
import { formatErrorTitle } from 'shared/lib/errorFormatter'; | ||
import { buildCBioPortalPageUrl } from 'shared/api/urls'; | ||
|
||
@inject("appStore") | ||
export default class ErrorPage extends React.Component<{appStore?: AppStore}, {}> { | ||
render () { | ||
return ( | ||
<div> | ||
<div className="pageTopContainer"> | ||
<UserMessager /> | ||
<div className="contentWidth"> | ||
<PortalHeader appStore={this.props.appStore as AppStore}/> | ||
</div> | ||
</div> | ||
<div className="contentWrapper"> | ||
<ErrorScreen | ||
title={"Sorry, this page doesn't exist."} | ||
body={<a href={buildCBioPortalPageUrl("/")}>Return to homepage</a>} | ||
/> | ||
</div> | ||
</div> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export enum StudyViewPageTabKeyEnum { | ||
SUMMARY = 'summary', | ||
CLINICAL_DATA = 'clinicalData', | ||
HEATMAPS = 'heatmaps', | ||
CN_SEGMENTS = 'cnSegments', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.