Skip to content

fix(events): collapse rsvp picker into single button - #1135

Merged
leahpeker merged 3 commits into
mainfrom
fix-rsvp-single-button-1133
Jul 24, 2026
Merged

fix(events): collapse rsvp picker into single button#1135
leahpeker merged 3 commits into
mainfrom
fix-rsvp-single-button-1133

Conversation

@leahpeker

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces the 3-button going/maybe/can't-go picker on the event detail page's primary RSVP action row with a single "rsvp" button that opens the same RsvpBox modal (which already lets you pick going/maybe/can't go/waitlist).
  • The already-RSVP'd state is unchanged — it already showed a single status/edit button (e.g. "i'm going" -> opens edit mode), so that logic was preserved as-is.
  • When the event is at capacity, the single button label becomes "join the waitlist" (same behavior as before, just consolidated onto one button).
  • Removed the now-unused prominent prop from RsvpStatusPicker (only consumer was the removed 3-button row); RsvpStatusPicker itself is still used inside RsvpBox and PublicRsvpForm.

References Issue 1133.

Test plan

  • make agent-frontend-typecheck — clean
  • make agent-frontend-lint — clean
  • Targeted vitest run: RsvpSection.test.tsx, RsvpStatusPicker.test.tsx, RsvpBox.test.tsx, PublicRsvpForm.test.tsx — 72/72 passed
  • Full suite / make agent-ci intentionally skipped per task instructions
  • Visual verification skipped — traced code/tests instead (see PR description below)

Replace the 3-button going/maybe/can't-go picker on the event detail
page with one 'rsvp' button that opens the same RsvpBox modal, since
the modal already lets you pick a status. The already-RSVP'd state
(single status/edit button) is unchanged. Also drops the now-unused
'prominent' prop from RsvpStatusPicker.
rsvp-member.spec.ts and live-updates.spec.ts still clicked "i'm going",
the old 3-button picker's label. The member RsvpSection's primary
action button is now a single "rsvp" button (or "join the waitlist"
at capacity); rsvp-public-* specs are unaffected since they go through
PublicRsvpForm/RsvpStatusPicker, a separate component this PR didn't touch.
@leahpeker
leahpeker marked this pull request as ready for review July 24, 2026 22:07
@leahpeker
leahpeker merged commit 5d4077c into main Jul 24, 2026
3 checks passed
@leahpeker
leahpeker deleted the fix-rsvp-single-button-1133 branch July 24, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant