MyRsvpsController

My RSVPs Controller

Handles RSVP editing using the attendance modal on the My RSVPs page.

Constructor

new MyRsvpsController()

Methods

(async) editRsvp()

Edit RSVP - load attendance modal

filterPastEvents()

Filter out events that have ended based on client's local date. Moves them to the past tab and updates badge counts.

(async) handleDeleteSubmit()

Handle delete form submission

(async) handleFormSubmit()

Handle main form submission

onConnectionStateChanged()

Called when connection state changes

onModalHidden()

Handle modal hidden event

setupFormHandlers()

Set up form submission handlers

transformCardForPast()

Transform a card from upcoming style to past style

updateBadgeCounts()

Update the badge counts for both tabs

updateOnlineButtons()

Update online-only buttons based on connection state