Upserts or deletes a row in user_events for the authenticated user.
user_events
status: "none"
status: "bookmark"
rating
note
status: "done"
Calls refresh() on success so the feed reflects the change immediately.
refresh()
Previous form state (unused; required by useActionState).
useActionState
Must include eventId and status; optionally rating and note.
eventId
status
EventEntryState with saved: true on success, or error on failure.
EventEntryState
saved: true
error
Upserts or deletes a row in
user_eventsfor the authenticated user.status: "none"— removes the event from the user's list entirely.status: "bookmark"— saves the event for later;ratingandnoteare ignored.status: "done"— marks attended; optionally stores a 1–5ratingand free-textnote.Calls
refresh()on success so the feed reflects the change immediately.