0
Fork 0
mirror of https://github.com/zeronsh/comet.git synced 2026-11-18 18:56:11 +00:00
comet/apps/card-web/mock
Wing 0cb5f2c40e
Edge: badge earned by an early first claim (#1136)
* Edge: badge earned by an early first claim

A member whose first username claim lands before 2026-11-05 09:00 UTC
(01:00 PST) earns the v3-beta badge, granted by the directory from the
stored claim time and never by hand.

- users.first_claimed_at: set once at a user's first name (claim or
  operator set), beside card_scenes; renames, clears, releases and new
  claims never change it.
- Backfill on start: users named before the column are dated by their
  oldest usernames row (retired rows keep claimed_at); one whose names
  were all released is dated now, an upper bound on the claim.
- The badge is a grant row dated by the first claim, so it's served and
  listed like any badge; /admin/badges refuses to define, grant or revoke
  it. Only an account delete drops it.
- Cards list badges in definition order, so every card orders them alike.
- card-web draws v3-beta as an outline pill; RENDER_VERSION 5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>

* card-web: draw badges without a known style as outline pills

The native app draws every served badge as an outline pill
(account/api.luau); ink was only ds.MemberCard's default for a badge given
without a style. Covered by this PR's RENDER_VERSION 5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
History 2026-11-02 23:13:24 -07:00
..
members.json Edge: badge earned by an early first claim (#1136) 2026-11-02 23:13:24 -07:00