This PR adds an always-on websocket connection to the Header component, which should allow us to always listen for real-time alerts.
Currently it's using ugly hacks and only shows the data in a toast text, but it could be worked on to actually make it do something productive.
There is also a small code cleanup that will automatically convert the ws route's url protocol to ws or wss.
This PR adds an always-on websocket connection to the Header component, which should allow us to always listen for real-time alerts. Currently it's using ugly hacks and only shows the data in a toast text, but it could be worked on to actually make it do something productive.
There is also a small code cleanup that will automatically convert the ws route's url protocol to ws or wss.