feat: Query attendees for "Thank you for Attending" or "Sorry you couldn't make it" message types. π€ #1160
Open
mrjbj wants to merge 1 commit intoHiEventsDev:developfrom
Open
Conversation
Organizers can send follow-up emails based on check-in status, scoped to a specific check-in list. Useful for thank-you messages to attendees who showed up, or "sorry we missed you" to those who didn't. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes I've made
Add two new recipient groups to the organizer messaging system: "Attendees who checked in" and "Attendees who did not check in", scoped to a specific check-in list. This allows follow-on "Thank you for attending" or "Sorry you couldn't make it" messaging from the organizer, scoped to allow different messages per check-in list.
Backend:
CHECKED_IN_ATTENDEESandNOT_CHECKED_IN_ATTENDEEStoMessageTypeEnumAttendeeRepositoryusingwhereHas('check_ins')/whereDoesntHave('check_ins'), scoped by check-in list and filtered to attendees whose ticket type is on that check-in listcheck_in_list_idtoSendMessageDTO, request validation, and send pipelineSendMessageHandlerFrontend:
Why I've made these changes
Event organizers commonly want to send post-event follow-up emails β "thank you for coming" to attendees who checked in, or "sorry we missed you" to those who didn't show. This was previously impossible without manually tracking attendance outside the platform.
The check-in list selector ensures correct scoping for events with multiple check-in lists (e.g., "Main Entry" + "VIP Dinner") β an attendee who checked into the main event but missed the VIP dinner appears in the right group for each list.
How I've tested these changes
npx tsc --noEmitβ no new TypeScript errorsChecklist
guidelines and if this PR template is left unedited.