acmerobotics / ftc-dashboard

React-based web dashboard designed for FTC
https://acmerobotics.github.io/ftc-dashboard
Other
178 stars 137 forks source link

Add a list of object types that support editing? #145

Open Powercube7 opened 11 months ago

Powercube7 commented 11 months ago

Hello there! I was wondering whether it would be feasible to add a list of object types that can be edited live by the dashboard? I've been confused quite a few times wondering whether a type was supported or not, and no information could be found in the documentation.

amarcolini commented 11 months ago

Dashboard can modify the public non final fields of any object. It’s also recursive, so it can modify the fields of a field and so forth. Dashboard also has support for basic number, boolean, and string types (and more recently, arrays!)

Powercube7 commented 11 months ago

@amarcolini Thanks for the answer! Does it also support types such as Maps, HashMaps, Lists and Pairs?

amarcolini commented 11 months ago

As far as I am aware, no.