Add the Loyalty cluster Specs - #721
Open
richardhjtan wants to merge 2 commits into
Open
Conversation
Moves Loyalty Account, Loyalty Tier, Member Number and Points Balance into cards/loyalty as Specs, plus a Spec for the Points Transaction ledger entry that shares the account module. Accounts hold the CRM contacts already in the catalog and take their hues from the State Pill helpers. Five account instances and nine ledger entries travel as examples; the matrix realm's example was a club-membership Member, so the accounts are authored here. The tier badge is a plain Glimmer component rather than a card format. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Staging Submissions PreviewThis PR's content is pushed to the staging submissions realm: https://realms-staging.stack.cards/submissions/ Changed folders:
Updated at 2026-09-11 10:20:01 UTC for commit |
Co-Authored-By: Claude Fable 5.1 <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.
Step-2 cluster. Moves Loyalty from the matrix layer into
cards/loyaltyas Specs, so the blocks are found by Spec search:loyalty-account(Loyalty Account and Points Transaction),loyalty-tier-field,member-number-field,points-balance-field, with five Specs. Account holders are the CRM contacts incards/crm; membership status builds on the catalog Status field; hues come fromcomponents/state-pill.accountlinks point at them. The matrix realm's only example was a club-membership Member card, so the accounts are authored here. AlladoptsFromand link refs are relative.TierBadgeextends@glimmer/componentinstead of the card-formatComponent, and the ledger's hue is typed, which is what the catalog type-check required.Lint and type-check clean on the contents mirror; render verification on staging after merge.
🤖 Generated with Claude Code