We want the ability for anyone to submit a new event and we'll need a new component for that. Let's try to design the component so that it can be used for both submitting a new event, and updating an existing event.
There is no api endpoint to hit for this yet, so you'll need to stub your own data.
You can refer to the Figma for an outline of what we were originally thinking.
Start with an event form that has the following fields:
Title - string
Start - timestamp
End - timestamp
Description - string
URL - string (optional)
Email - string
For now, this event form can live above the list of events from the server. Eventually we'll make it nicer by collapsing it or moving it to it's own page. Let's get it working, then we'll make it right.
We want the ability for anyone to submit a new event and we'll need a new component for that. Let's try to design the component so that it can be used for both submitting a new event, and updating an existing event.
There is no api endpoint to hit for this yet, so you'll need to stub your own data.
You can refer to the Figma for an outline of what we were originally thinking.
Start with an event form that has the following fields:
For now, this event form can live above the list of events from the server. Eventually we'll make it nicer by collapsing it or moving it to it's own page. Let's get it working, then we'll make it right.