AlbertaSat / ex2_ground_station_website

Ground station user interface for Ex-Alta 2.
6 stars 3 forks source link

Notify users when the client loses connection to the website #71

Open jmmabanta opened 2 years ago

jmmabanta commented 2 years ago

Brief Feature Description

When the user loses connection to the website (eg. internet cuts out), add a site-wide notification letting them know.

Currently, the website shows no indication when connection is lost after it has been loaded. This can cause issues as without connection, features such as LiveCommands will be unresponsive without warning.

Additional Details

It could just be a small Snackbar + Alert component somewhere near the bottom alerting the user while not blocking any critical website components.

It would also be a nice touch to visually 'disable' the LiveCommands input box when the client loses connection to make it clearer.

To help test this feature, you can use Chrome Dev Tools to simulate losing connection (it may be moved under the 'No throttling' dropdown) to only the ground station website without needing to turn internet off system-wide.

Priority

Low