hack4impact-calpoly/cp-ccc-uss

Connect CreateEvent modal to Calendar

Closed this issue · 0 comments

We want the CreateEvent modal to actually interact with the calendar now! Here's the workflow:

  1. Click on button in calendar page (main page, see figma).
  2. Admin fills out the event details.
  3. Click submit
  4. Event added to database
  5. Event rendered immediately on calendar

Notes:

  • Use ChakraUI for the modal functionality, make sure it opens & closes as expected (should close on submit)
  • You should just have to update the event (not FullCalendar event) array in the Calendar component, that component should automatically be converting the Events in that array and adding them to the Calendar for you. You'll have to confirm this is happening as expected though.