Skip to content

Add an attended gate for ticket callouts - #2589

Merged
maebeale merged 3 commits into
mainfrom
maebeale/ticket-callout-gate-add
Oct 3, 2026
Merged

maebeale merged 3 commits into
mainfrom
maebeale/ticket-callout-gate-add

Conversation

@maebeale

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 one new boolean gate mirroring the two existing callout gates; small contained logic

Ticket callouts can now be hidden until a registrant is marked attended — so facilitators can hold back post-event material (certificate, evaluation, thank-you) until someone actually shows up.

  • New attended_gated boolean on registration_ticket_callouts, joining payment_access_gated / ce_payment_access_gated.
  • Admin editor gets a third checkbox: "Only show if marked attended".
  • Gate re-locks if status moves back off attended — same as the payment gate re-locking if a payment is deleted.

Like the other gates, this only hides the card on the ticket; the callout detail page isn't separately re-gated.

🤖 Generated with Claude Code

Facilitators want to hold post-event material (certificate, evaluation)
back until someone has actually attended. This adds a third callout gate
alongside the payment and CE-payment gates, driven by the registration's
attended status.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/ticket-callout-gate-add branch from c33db3c to 7ca29ce Compare October 3, 2026 20:41
maebeale and others added 2 commits October 3, 2026 16:43
The "Payment-gated" label headed all three gate checkboxes, but the
attended gate isn't about payment. Use a gate-neutral heading.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maebeale
maebeale marked this pull request as ready for review October 3, 2026 20:47
@maebeale
maebeale merged commit 729f3b1 into main Oct 3, 2026
3 checks passed
@maebeale
maebeale deleted the maebeale/ticket-callout-gate-add branch October 3, 2026 20:53
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