einarhaaland / robot-caretaker

Remote emotion control for heterogeneous robots
1 stars 1 forks source link

divide frontend into 3 moodgrids, Positive, Neutral, Negative #36

Closed einarhaaland closed 2 years ago

einarhaaland commented 2 years ago

need to move add and delete button up one layer and add dropdown to choose which grid to add button to.

This might cause a doubling of buttons. To fix, add setCards([]) to useEffect in MoodGrid.tsx

einarhaaland commented 2 years ago

above option is issue-filled. Maybe just make buttons not have absolute positions

einarhaaland commented 2 years ago

above option is also lame, needs more research

einarhaaland commented 2 years ago

Go with first option, just edit props. It will cause a rerender and all is good