Mester-Ulquiorra / web

The frontend of the Ulquiorra UCP (User Control Panel). This does not contain the backend API!
https://ucp.mester.info
BSD Zero Clause License
1 stars 0 forks source link

prototype with ugly hacks and such #9

Closed MesterMan03 closed 1 year ago

MesterMan03 commented 1 year ago

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.