AI-SDC / SACRO-Viewer

A tool for fast, secure and effective output checking, which can work in any TRE.
Other
2 stars 1 forks source link

Add loading and error pages #203

Closed ghickman closed 1 year ago

ghickman commented 1 year ago

This adds a loading and error page for the Electron side of the app. It also unifies how we load the server URL along the way to make it easier to set what the app should do on success/failure.

I tried to use node's util.promisify() but it threw up a native modal with the error rather than invoking my code in .catch() and I couldn't work out how I was holding it wrong.

I've copied the styles Tom added in #217.

Ref: #12