epgg / eg

EpiGenome Gateway - WashU EpiGenome Browser
http://epigenomegateway.wustl.edu/legacy/
Other
21 stars 10 forks source link

Display more informative error message when json session file does not exist #48

Open nrockweiler opened 8 years ago

nrockweiler commented 8 years ago

Currently, when the user tries to go to a Roadmap Epigenome Browser session that no longer exists on the webserver, the following error message is displayed in a popup window:

image

I think the user would find it more informative if the error message mentioned that the .json session file does not exist and propose some alternatives (e.g., recheck the URL is correct, state that if the session is >180 days, the session was deleted). For consistency, it might be nice to have this error message appear in red text in the dialog box rather than a web browser popup.

Steps to recreate error message:

  1. Go to http://epigenomegateway.wustl.edu/browser/roadmap/?pin=http://epigenomegateway.wustl.edu/browser/roadmap/t/1.json