Skip to content

Add the Loyalty cluster Specs - #721

Open
richardhjtan wants to merge 2 commits into
mainfrom
gold-specs-step2-loyalty
Open

Add the Loyalty cluster Specs#721
richardhjtan wants to merge 2 commits into
mainfrom
gold-specs-step2-loyalty

Conversation

@richardhjtan

Copy link
Copy Markdown
Collaborator

Step-2 cluster. Moves Loyalty from the matrix layer into cards/loyalty as 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 in cards/crm; membership status builds on the catalog Status field; hues come from components/state-pill.
  • Example instances: five Loyalty Accounts across the tier ladder and statuses, and nine Points Transactions whose account links point at them. The matrix realm's only example was a club-membership Member card, so the accounts are authored here. All adoptsFrom and link refs are relative.
  • TierBadge extends @glimmer/component instead of the card-format Component, 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

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>
@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown

Staging Submissions Preview

This PR's content is pushed to the staging submissions realm: https://realms-staging.stack.cards/submissions/

Changed folders:

  • cards/

Updated at 2026-09-11 10:20:01 UTC for commit 4fc6553. Shared realm: only this PR's changed files are pushed; files touched by multiple PRs reflect whichever pushed last, and deleted files are not removed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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