Restructure registration ticket into a two-tier card system#1751
Open
maebeale wants to merge 1 commit into
Open
Restructure registration ticket into a two-tier card system#1751maebeale wants to merge 1 commit into
maebeale wants to merge 1 commit into
Conversation
The ticket accumulated one-off colored callouts (event details, CE hours, W-9, invoice) that competed for attention with no clear hierarchy. Group them into an action tier (things the registrant must do/decide) and a reference tier (documents to look up), and extract a single reusable _ticket_card partial so adding a section is one render with a fixed two-variant palette. Shrink the event image to an inline thumbnail beside the title to reclaim vertical space. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
d2f2fc7 to
9a55dec
Compare
maebeale
commented
Jun 18, 2026
| </div> | ||
| <% end %> | ||
|
|
||
| <!-- Custom ticket callouts (admin-configured: actions & reference reading) --> |
Collaborator
Author
There was a problem hiding this comment.
🤖 From Claude: Rebase note — main's admin-configured ticket callouts (#1740-era) auto-merged here and now render as standalone cards alongside the new two-tier system. They use their own multi-color callout.theme, which is intentionally at odds with this PR's "two variants only, no third accent color" _ticket_card rule. Left as-is to preserve the feature, but worth deciding whether callouts should eventually route through _ticket_card (action/reference) or stay a separate styled system.
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 is the goal of this PR and why is this important?
How did you approach the change?
_ticket_cardpartial with exactly two variants (action/reference) so adding a new ticket section is one render against a fixed palette — no new accent colors.Rebase notes (onto current
main)intends_to_pay?"Access granted — payment pending" chip (now inside the payment-due card) and thedollars_from_centshelper (replacing the localformat("%.2f", …)).registration_ticket_calloutsfeature merged cleanly and renders below the two tiers. It keeps its own multi-colorthemesystem, which is in tension with this PR's two-variant rule — flagged inline for a follow-up decision rather than redesigned here.Anything else to add?
spec/system/event_registration_show_spec.rbpasses (19 examples, 0 failures) including both main's callout tests and the new CE-hours / reference-tier tests.🤖 Generated with Claude Code