bluesatunsw / groundstation

Bluesat's autonomous, robotic groundstation project
4 stars 5 forks source link

[DRAFT] Backend connection manager (frontend) #24

Closed omeh-a closed 2 years ago

omeh-a commented 2 years ago

Added logic to observe the backend to make sure it is connected and safe to use before API requests are made. Added automatic connection, retrying and loss of connection handling. Lockouts on modal windows added to prevent invalid requests being sent.

Also added useEffect frameworks for handling real time, and these will be a nice stand in for when we start handling hardware.

I haven't added checks for if n2yo is active yet however.