-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- invalid subpaths (tabs) result in a 404 page - 404 page is more consistent with regular error page
- Loading branch information
1 parent
5f7168e
commit 6434643
Showing
16 changed files
with
116 additions
and
54 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