Skip to content

feat: credit a game's author on its card and cabinet - #106

Merged
dmccoystephenson merged 1 commit into
mainfrom
feat/author-credit
Nov 22, 2026
Merged

dmccoystephenson merged 1 commit into
mainfrom
feat/author-credit

Conversation

@dmccoystephenson

Copy link
Copy Markdown
Member

Adds an optional author: registry field, so a game made by someone other than the arcade's owner is credited by name. It's needed now for Jon McElyea's Forward One and Glomus. Until now the only credit was the McElyea chip in the organisation filter, and nothing named him in words.

  • registry.py: author: is a display name, trimmed, 1–80 characters, no control characters, and it's optional. Its docstring section is next to featured:.
  • /api/games: author (null when not set), after featured.
  • Landing page: the card shows a by <author> line between the address and the tags, escaped. The search box also matches the author (?q=mcelyea).
  • Hall: cabinets carry author, and the cabinet card reads McElyea · by Jon McElyea.

Tests: the registry tests accept a name and reject empty, blank, over-long and control-character values. The landing test checks the byline is escaped, appears only on authored cards, and is found by search. The hall test checks a cabinet carries the author, and the characterization test now expects author: null. Full suite: 707 passed. The card was checked at phone width.

Follow-ups, in order:

  1. arcade-social re-vendors registry.py, whose sha256 is pinned in its tests. Without this it rejects author: in games.yaml.
  2. Gateway bumps both pins and adds author: Jon McElyea to the forward-one and glomus entries.

drafted by Claude on behalf of Daniel Stephenson

🤖 Generated with Claude Code

An optional `author:` in the registry (a display name, at most 80
characters, no control characters) is reported by /api/games, shown as
"by <author>" on the landing page's card, found by the search box, and
named beside the organisation on the hall's cabinet card. For games made
by someone other than the arcade's owner, such as Jon McElyea's Forward
One and Glomus.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dmccoystephenson
dmccoystephenson merged commit c6a55f4 into main Nov 22, 2026
4 checks passed
@dmccoystephenson
dmccoystephenson deleted the feat/author-credit branch November 22, 2026 07:14
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