QutEcoacoustics / workbench-client

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

Display warning message for "bad" website status #2105

Closed hudson-newey closed 10 months ago

hudson-newey commented 10 months ago

Display warning message for "bad" website status

At the moment, when the server is down / has partial services, the only way users can diagnose the issue as a server side issue is by going to https://www.ecosounds.org/status.

Because this is unintuitive to some users, we should surface the issue sooner as a server issue by adding warnings showing that the service the user is trying to use is non-functional.

Important note: I am not displaying an error indicator in the navbar for a timeout error.

This is because:

Changes

Problems

None

Issues

Fixes: #2102

Visual Changes

image API Status indicator icon and tooltip (will only be shown if the server status is "bad")


image Warning widget on the harvest list page

image Warning widget on the harvest page

image Warning widget on the recording list page

image Warning widget on the recording list page

image Warning widget on the batch download page

image Warning widget on the audio recording details page

image New <hr> element at the bottom of menu links without widgets

Final Checklist

github-actions[bot] commented 10 months ago

Size Change: +2.23 kB (0%)

Total Size: 2.91 MB

Filename Size Change
dist/workbench-client/browser/index.html 4.1 kB -1 B (0%)
dist/workbench-client/browser/main.********.js 1.07 MB +955 B (0%)
dist/workbench-client/server/main.js 1.79 MB +1.27 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/browser/styles.********.css` | 32.3 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   9m 19s :stopwatch: 23 274 tests 22 650 :heavy_check_mark: 624 :zzz: 0 :x: 23 496 runs  22 872 :heavy_check_mark: 624 :zzz: 0 :x:

Results for commit 69d41092.

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

hudson-newey commented 10 months ago

Noticing lots of line break churn. Did our line length settings change?

Our line length settings have not changed. My best guess is that the formatter hasn't run on these files before