MIT-CAVE / cave_static

A react based static web app to be used as a UI and data consumer for the CAVE app.
Apache License 2.0
0 stars 1 forks source link

Unify coordinate prop data structure. #508

Closed connor-makowski closed 2 months ago

connor-makowski commented 3 months ago

Each variant in the coordinate prop should all have the same data structure. My suggestion would be to wrap the non path inputs in an additional single length bracket list.

connor-makowski commented 3 months ago

Would love to hear alternative solutions here too.

connor-makowski commented 3 months ago

As a final follow up on this issue, we should add the coordinate prop to general props all example.

connor-makowski commented 3 months ago

See also #299

connor-makowski commented 3 months ago

Note that cave_utils have been updated to automatically handle all coordinate props as list of lists.