Report specific robot attribute updates with SignalR #1796
Labels
backend
Backend related functionality
frontend
Frontend related functionality
improvement
Improvement to existing functionality
Describe the improvement you would like to see
Currently when a field in the robot model is updated, we send the whole robot object to the frontend with SignalR. The issue with this is that when we update different fields around the same time, one of the updates may be ignored in the second signalR message. By only sending the specific field on the robot which has been updated we avoid this issue. There may be a potential backend solution as well, but this might be harder to implement.
How will this change existing functionality?
The robot values displayed on the frontend (status, battery level, pressure etc) will be more up to date. Currently we may need to wait for a new signalR message to get the previous battery level for instance.
How will this improvement affect the current Threat Model?
N/A
The text was updated successfully, but these errors were encountered: