dictybase-playground / dictyaccess

Dashboard for data visualization in Dictybase applications
0 stars 2 forks source link

Add drag and drop #4

Closed erichartline closed 5 years ago

erichartline commented 6 years ago

When user is logged in, they can drag to shuffle. Components can be dragged around, and the layout will adjust accordingly. Masonry style layout.

Look at libraries like https://packery.metafizzy.co/

Also look into adding a drop down somewhere so the user can pick more metrics.

This is a work in progress in feature/add-drag-and-drop.

erichartline commented 6 years ago

https://github.com/react-dnd/react-dnd -- Dan Abramov's creation https://github.com/STRML/react-grid-layout

erichartline commented 6 years ago

Great demo on how RGL works: https://strml.github.io/react-grid-layout/examples/0-showcase.html

erichartline commented 6 years ago

When a user changes the layout, the browser should remember what they last displayed. This can be done using localStorage.

erichartline commented 5 years ago

Closing since app has been moved to /dictybase