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

Drag 'n Drop and Resizing Capabilities for Charts #489

Open luisvasq opened 4 months ago

luisvasq commented 4 months ago

@katherineyli: more info to follow...

luisvasq commented 4 months ago

To support this feature, we can add a new dependency: react-grid-layout.

About resizing, one initial consideration is setting a minimum size constraint for a chart view. Maybe react-grid-layout offers support for that through built-in props, but if not, we can handle it through an event.

For now, we'll keep it local (useState), but I talked to Connor earlier and he might want to sync it with the API, so we can easily add support for that later.

@connor-makowski, do you have any additional thoughts or requirements about this new feature?

connor-makowski commented 1 week ago

@luisvasq were does this currently stand?