Skip to content

Events

Events are on the roadmap and not built. This folder holds unwired scaffolding: nothing renders the dialog, and no page lists events. The /api/events route it would call also has no callers. It accepts an authenticated POST without server-side schema validation, so add that before wiring anything up.

A dialog with its own “New Event” trigger. It posts an all-day event ({ title, start_time, end_time }) to /api/events, with the title validated client-side by newEventSchema.

Source: src/components/events/NewEventDialog.tsx