bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://docs.bluerobotics.com/ardusub-zola/software/control-station/Cockpit-1.0/overview/
Other
43 stars 18 forks source link

We should decouple the logging system from the widget management system #939

Open rafaellehmkuhl opened 2 months ago

rafaellehmkuhl commented 2 months ago

On PR #913 we added a coupling between the logging system and the widget management system. We did that as it was a quicker solution, so we don't hurt the stable roadmap, as there are other PRs waiting for this one.

We should try to decouple them again.

One of the ideas to solve this is to allow register of add/remove callbacks on the widget manager, so those interested can react to changes there. This can also be accomplished through the reactivity system (proxys).