QutEcoacoustics / workbench-client

workbench-client: a client side browser application for interacting with acoustic workbenches
Other
8 stars 1 forks source link

Add website status page & improve error messages #2100

Closed hudson-newey closed 10 months ago

hudson-newey commented 10 months ago

Add website status page & improve error messages

At the moment, it can be unclear why a request failed and the most common user error is a faulty VPN connection / no internet connection.

This pull request hopes to address these issues by improving "timed out" error messages and adding a "Website Status" page (/website_status) so that users can easily see if the problem is on their side or server side.

Changes

Problems

None

Issues

Fixes: #205 Fixes: #2095

Visual Changes

image New "website status" page

image New toast that displays if the users doesn't have internet connection

Final Checklist

github-actions[bot] commented 10 months ago

Size Change: +2.3 kB (0%)

Total Size: 2.9 MB

Filename Size Change
dist/workbench-client/browser/index.html 4.11 kB +5 B (0%)
dist/workbench-client/browser/main.********.js 1.06 MB +987 B (0%)
dist/workbench-client/browser/styles.********.css 32.3 kB +11 B (0%)
dist/workbench-client/server/main.js 1.78 MB +1.3 kB (0%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `dist/workbench-client/browser/assets/environment.json` | 555 B | | `dist/workbench-client/browser/chunk-7SGCG2G3.js` | 1.08 kB | | `dist/workbench-client/browser/manifest.json` | 150 B | | `dist/workbench-client/browser/polyfills.********.js` | 12.2 kB | | `dist/workbench-client/server/776.js` | 4.2 kB |

compressed-size-action

github-actions[bot] commented 10 months ago

Unit Test Results

         6 files           6 suites   6m 52s :stopwatch: 21 312 tests 20 688 :heavy_check_mark: 624 :zzz: 0 :x: 21 420 runs  20 796 :heavy_check_mark: 624 :zzz: 0 :x:

Results for commit aedc2978.

:recycle: This comment has been updated with latest results.