Right now our front end does not differentiate between when it's connected to our device and when it is not.
Differentiate between the two states
Data modelling wise a good starting point would be to have a type called State, with the a shape of State = Disconnected | Connected Model.
As for how it'd look like when disconnected, I was thinking that we could render divs in a way that resembles the NeoPixels, and animate it so the light turns on from left to right till the last pixels and then turns off and does it again until connected
Right now our front end does not differentiate between when it's connected to our device and when it is not.
Differentiate between the two states
Data modelling wise a good starting point would be to have a type called State, with the a shape of State = Disconnected | Connected Model.
As for how it'd look like when disconnected, I was thinking that we could render divs in a way that resembles the NeoPixels, and animate it so the light turns on from left to right till the last pixels and then turns off and does it again until connected