MTBorg / M7011E_lab

0 stars 1 forks source link

Uniform polling #184

Closed MTBorg closed 4 years ago

MTBorg commented 4 years ago

Kind of Closes #178 Does not set a universal poll interval for all pages but does so for the manager dashboard. The manager dashboard has been rewritten so that, instead of manually attaching event listeners and sednding separate queries, all data is polled through a single query, and after every poll an event is dispatched which different component of the page can subscribe to via function registerPollCallback(). This was not necessary on any other pages as far as i could see, since all poll-data was small enough to already be in one query.