Repository navigation
Add the six skins that used to ship with Plinth - #3
Conversation
The abacus, CRT terminal, mug, piston, seal and space key shipped with Plinth and are moving out of the app, which now carries only the fish and what a hall is called by. They are the gallery's first skins, as they were in the app, under CC0. The check knew twelve voices; Plinth has twenty-one, and three of these skins use ones it didn't know (bead, stamp, ceramic). It now knows them all, and `names`, a skin's name in other languages, which the gallery shows beside the name. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 13680e54fc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| others = meta.get("names", {}) | ||
| title = " · ".join([f"**{meta['name']}**"] + [others[k] for k in sorted(others)]).replace("|", "\\|") |
There was a problem hiding this comment.
Normalize null localized names before rendering the gallery
For a skin containing "names": null, check() reports no problems because its validation explicitly skips None, but meta.get("names", {}) returns None and sorted(others) raises TypeError. Since every command renders the gallery before dispatching, this prevents check, gallery, and pack from completing for an otherwise accepted skin. Normalize null to an empty mapping here, or reject it during validation with the existing diagnostic.
Useful? React with 👍 / 👎.
What
The abacus, CRT terminal, mug, piston, seal and space key move here from the app. Plinth will ship only the fish and what a hall is called by; these six become the gallery's first skins, unchanged, under CC0-1.0.
Changes
skins/: the six skins, byte for byte the app's artwork. Eachskin.jsongainsauthor,license, andnameswith its Chinese name.scripts/skins.py:bead,stamp,ceramic).names, and the gallery shows them beside the name.CONTRIBUTING.mdandREADME.mdsay the same.Checked
python3 scripts/skins.py checkpasses: 6 skins OK.python3 scripts/skins.py packwrites six.plinthskinfiles. Plinth's own unpacker installs each one, and the frames, voice, strike, glow and both names come back as in the app.Order
latestrelease.namesis read by that same Plinth release. Earlier versions ignore it and showname.🤖 Generated with Claude Code
https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.