Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AddEventToPublishSchedule + Edit/Delete Days + Edit/Delete PS Events (#…
…61) * added two modals and started search and filter * progress on add day modal and day planner modal. * added create event form inside day planner Co-authored-by: chloecheng8 <[email protected]> Co-authored-by: kristenyee <[email protected]> Co-authored-by: Subin Kim <[email protected]> * Put the catalog component in PlannerEvents component + fixed useState management for button visibility * updated branch from dev * added Add Day Modal back to Publish Schedule and connected to backend * AddDayContext file so no need for multiple prop passes for addDayForm and CreateEventForm * Post request to /published-schedule inside CreateEventForm * AddEventToPublishedSchedule form used in PS modal to create new ps and catalog * fixed addEventOverlay rendering the datePart and location on event form * AddEventToPublishScheduleForm creates new events in the PS and catalog, PaginationFooter data param fix * Planner Timeline changes * light styling * semi styled published schedule form * matched ps form styling * updated styling, events display on timeline * can add existing catalog event to ps * sorting events on schedule by startTime * fixing bugs + re-implementing catalog add * (rest of changes) * replace location with description for individual ps events * fixed bugs and added styling to timeline * change to use planner context * merge conflict fixes * live events on timeline * fixed ps table styling + removed date/location from ps form * migrated day context to planner context * missed a file * edit existing day * delete day if no events + more styling * handled 2 overlapping events * close ps form after submission + prevent multiple fetches of catalog * delete day + (bad) data revalidation * edit day from day planner implemented * edit day, edit events (mostly), plus bug fixes * updated navbar, dropdown, catalog, 'finish day' + fixed ps student view * editing event reflects correctly on timeline, edit/delete appear on hover, delete event mostly implemented * edit buttons updated, styling of delete event modal still has darkness bug * fixed delete event + styled edit/delete buttons * fixed host bug * minor visual touch-ups, fixed timeline height issue * alt timeline size fix * fixed season cutoff * removed unnessary addDayModal * made catalog scroll bar nicer * fixed small catalog bug * fixed bugs, removed second variable tracking edit state, added some toasts * update catalog on timeline event edit * removed unnessary console logs * fixed season select issue * fixed bug of currently edited event disappearing when editing different event * toast clean up * fixed day toast error message --------- Co-authored-by: Philip Jian <[email protected]> Co-authored-by: chloecheng8 <[email protected]> Co-authored-by: kristenyee <[email protected]> Co-authored-by: Subin Kim <[email protected]> Co-authored-by: subinqkim <[email protected]> Co-authored-by: michellelin1 <[email protected]> Co-authored-by: ThatMegamind <[email protected]> Co-authored-by: ThatMegamind <[email protected]>
- Loading branch information