HOLD: Confirm registrants with a "You're registered!" banner#1764
Open
maebeale wants to merge 1 commit into
Open
HOLD: Confirm registrants with a "You're registered!" banner#1764maebeale wants to merge 1 commit into
maebeale wants to merge 1 commit into
Conversation
After a successful public registration the registrant landed on the ticket page with only a transient flash toast — no durable confirmation they were in. Carry a `registered` flag to the ticket page on the success redirect; show a green "You're registered!" banner above the ticket when arriving from a fresh registration or a successful Stripe `checkout=success` return, but not on plain return visits. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
maebeale
commented
Jun 19, 2026
| flash.now[:alert] = "Payment was cancelled. You are registered for this event but payment may still be due." | ||
| end | ||
|
|
||
| @just_registered = params[:registered].present? || params[:checkout] == "success" |
Collaborator
Author
There was a problem hiding this comment.
🤖 From Claude: Banner fires for a fresh registration (?registered=true) and a successful Stripe return (checkout=success), but not on plain ticket re-visits.
2 tasks
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.
Closes [link an issue or remove this line]
What is the goal of this PR and why is this important?
How did you approach the change?
registeredflag to the ticket page.registrations#showsets@just_registeredfor that flag or a successful Stripecheckout=successreturn, and the ticket view renders a green "You're registered!" banner above the ticket.UI Testing Checklist
Anything else to add?
registered/checkout=successbut not on plain ticket views.