You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Status update (Nov 19). Insert and update rules for admins are live on LCS-Site (#223), so saving will just work for a signed-in exec. The Event zod schema in src/types/event.ts is a good base for form validation.
Still to do: everything in the issue. Add createEvent() / updateEvent() next to listEvents() in src/lib/events.ts, and invalidate ['events'] after saving. Do this after #209, since the list links to it.
Activity
Flapjacck commentedon Nov 19, 2026
Status update (Nov 19). Insert and update rules for admins are live on LCS-Site (#223), so saving will just work for a signed-in exec. The
Eventzod schema insrc/types/event.tsis a good base for form validation.Still to do: everything in the issue. Add
createEvent()/updateEvent()next tolistEvents()insrc/lib/events.ts, and invalidate['events']after saving. Do this after #209, since the list links to it.chore(admin): add react-hook-form and its zod resolver (#210)
feat(admin): event form fields, their rules, and times stored like 7:…
feat(admin): load, create and update events, saving only the fields t…
feat(admin): reusable form field, saved notice and leave-without-savi…
feat(admin): event form with inline errors, new and edit pages, and a…
feat(admin): route /events/new and /events/:id through a data router (#…