Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing Improvements #2891

Merged
merged 1 commit into from
Dec 19, 2019
Merged

Conversation

Luke-Sikina
Copy link
Member

Fix cBioPortal/cbioportal#6768

Describe changes proposed in this pull request:

  • invalid subpaths (tabs) result in a 404 page
  • 404 page is more consistent with regular error page

@Luke-Sikina Luke-Sikina requested review from dippindots and alisman and removed request for dippindots and alisman November 21, 2019 21:29
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-pjdxil November 21, 2019 22:00 Inactive
@Luke-Sikina Luke-Sikina requested a review from alisman November 22, 2019 15:01
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-pjdxil November 22, 2019 15:11 Inactive
@Luke-Sikina Luke-Sikina added style tweak To indicate the PR does a minor style tweak enhancement and removed style tweak To indicate the PR does a minor style tweak do not review labels Nov 22, 2019
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-pjdxil December 4, 2019 17:28 Inactive
@alisman
Copy link
Collaborator

alisman commented Dec 6, 2019

@Luke-Sikina, so, looking at this i'm thinking that we need to take a different route (no pun intended). It's my fault. The tabId path segment /page/tabId should really be handled entirely by the tab component. If it gets fed a tabid that doesn't corrrespond to anything, it should have an error (no correpoding tab). This should be built into MSKTabs component. Lets discuss further

@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-pjdxil December 13, 2019 16:14 Inactive
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-pjdxil December 13, 2019 19:35 Inactive
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-pjdxil December 16, 2019 15:33 Inactive
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-gxejbg December 18, 2019 15:34 Inactive
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-gxejbg December 18, 2019 15:53 Inactive
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-gxejbg December 18, 2019 15:59 Inactive
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-gxejbg December 19, 2019 14:47 Inactive
- invalid subpaths (tabs) result in a 404 page
- 404 page is more consistent with regular error page

This reverts commit 082fc70
@jjgao jjgao temporarily deployed to cbioportal-f-improved-r-gxejbg December 19, 2019 15:49 Inactive
@alisman alisman merged commit 7074172 into cBioPortal:master Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error showing message for non existing page
3 participants