MotorState: Display multi states and custom states
This PR is the client side equivalent to daiquiri!838 (merged)
Here is the result
- The "main" state is displayed as before
- An extra badge shows the amount of "hidden" state
- The tooltip displays the details
- The custom states are supported
-
HardwareState
now supports a text description displayed as tooltip -
HardwareMultiState
fall back toHardwareState
when a single state have to be displayed, in order to have a shorter tooltip
Edited by Valentin Valls