Hi there, thanks in advance for the help.
I am trying to add a new fact group to the Vehicle class. I have tried to follow the examples shown by the other fact groups in this class. So I created a new fact group class, and I made a new JSON file to describe its metadata.
I would like for my new facts to be shown in the ValuePageWidget. The Fact Group Name does make it to the drop-down config menu (at the same level with Vehicle, Battery, Clock, EstimatorStatus, etc) but the submenu has nothing inside. With some digging I found that all of the short descriptions are empty strings. If I take out the check for
factGroup.getFact(modelData).shortDescription in ValuePageWidget.qml, it will display blank check boxes, which I can check to have the facts show up on the higher level menu. Then the values of the facts are displayed on the widget, but still no short descriptions.
Can anyone take a guess about what I might have done wrong? It feels like I have made a mistake with inheritance or setting up things in a constructor. It seems like the short descriptions are initially being set correctly, but on access later they are empty. Unfortunately my custom fact group looks just like the existing ones as far as I can tell.
If anybody has any good tips on debugging this app I would also love to learn more, I have been having a hard time.