AdrianBZG / InterMine-Data-Browser-Tool

InterMine Data Browser: a tool for exploring semi-homogeneous biological datasets
http://data-browser.apps.intermine.org/
Other
4 stars 38 forks source link

handle an intermine being down #67

Closed yochannah closed 6 years ago

yochannah commented 6 years ago

FlyMine's having a little hiccup right now and that reminded me: if all the http requests error (and it's not https related) we should assume that the intermine in question is down right now. An error might be something like:

"Sorry, it looks like the FlyMine server is having problems right now. You can try coming back later, or try browsing a different mine using the mine selector in the top-right corner."

make sure that it is non-dismissable ;)

AdrianBZG commented 6 years ago

@yochannah Handling now an InterMine being down, what it does is, when a user selects a mine from the dropdown, it performs first a sanity check, if the sanity check is not passed, the browser doesn't react to the change and displays an error alert - dismissable, to let the user continue working with the browser.

Small test with a fake wrong url:

a49e703db48520b0d5a522d06ac57a35

yochannah commented 6 years ago

perfect!