Skip to content

Add ability to upload events as a csv file #2177

Description

@evanugarte

We can only create events 1 at a time. if we had a csv file with 10+ rows, we would save so much time and fill the calendar with lots of events

setting up

game plan

  • modify the above createeventspage to take a 10mb max csv file
  • identify what columns the csv file should have (title, description, date, etc)
  • it should render a table, which is the parsed rows from the csv file
  • add a confirm button, and if clicked, it calls the CreateSceEvent function like below for each row
    import { createSCEvent } from '../../APIFunctions/SCEvents';

if that works, then we can try adding an api endpoint in the actual sce events repo to take a csv file and create the events with a single api call

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions