MyRsvpsController

MyRsvpsController

My RSVPs Controller

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

Constructor

new MyRsvpsController()

Source:

Methods

(async) editRsvp()

Description:
  • Edit RSVP - load attendance modal

Source:

filterPastEvents()

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

Source:

(async) handleDeleteSubmit()

Description:
  • Handle delete form submission

Source:

(async) handleFormSubmit()

Description:
  • Handle main form submission

Source:

onConnectionStateChanged()

Description:
  • Called when connection state changes

Source:

onModalHidden()

Description:
  • Handle modal hidden event

Source:

rsvpCard()

Description:
  • One event-card renderer for both the live API and the saved response.

Source:

setupFormHandlers()

Description:
  • Set up form submission handlers

Source:

transformCardForPast()

Description:
  • Transform a card from upcoming style to past style

Source:

updateBadgeCounts()

Description:
  • Update the badge counts for both tabs

Source:

updateOnlineButtons()

Description:
  • Update online-only buttons based on connection state

Source: