Repository navigation
Quiet the menu and Settings, leave a call's mallet on the wood, and move six skins to the gallery - #43
Merged
Conversation
The mallet key's name for the space bar was looked up under "Space", the key the strings table also has for the room a knock rings in. The Chinese table had it twice, as 空格 and as 空间, and a table keeps one translation to a key, so a mallet key of ⌃⌥Space could read as the room. The key's name now has a key of its own, "Space (key)", which still reads Space in English. Not seen in the running app: the Chinese interface was not opened. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
The menu had grown to hold most of Settings: four named paces, the rhythm, knock as you type, placement, and every skin. It now holds what the fish can be asked to do: Knock, Auto-Knock, Light Incense or Put Out the Incense, and then Check for Updates… outside the App Store, Settings… and Quit Plinth. How it knocks, where it sits and what it wears are in Settings, where they already were. Numbers that measure are gone from the interface. The pace slider, now labelled Pace, shows no seconds: the fish is knocking as it is set, and the ear sets the pace. It still moves in tenths of a second, from 0.4 to 8. The incense lengths are Half a stick, One stick and Long incense, without their minutes. Under While You Work, four footnotes explained typed knocks, the long-typing bell, quiet in calls and the mallet key. The README says all of that. One line is left, of what Plinth never does: learn which key, listen to a microphone, or ask for a permission. The rule a mallet key must meet is now the Record Key button's help tag, for whoever wonders why a key was refused. The menu's named paces, With the breath among them, have no successor in the interface. The README says where on the slider a knock to each breath out lies. The strings table loses what only the menu and the footnotes used, and keeps "Skin" for the iPhone's palette button. The READMEs and the skin format point to Settings → Skins where they pointed to the menu, and give the minutes the menu no longer does. The Settings window was rendered in English and looked at. The menus and the Chinese interface were not opened; the strings table was checked against the code, with no entry unused and none missing. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
The day's line came in a translucent bubble, in the system's serif. It is now written as the scroll in Settings > Why a Fish is: in Songti SC and the scroll's ink, on a slip of its rice paper under the fish, with a hairline edge. The iPhone already writes the line in a Song face, on paper. The slip stays paper in Dark Mode, as the scroll does. The paper and the ink are named once, in Paper, for the slip and the scroll both. The slip rises into place and fades as the bubble did, and the last line still leaves it empty for a moment before it goes. Rendered off screen with five of the lines and looked at. Not seen over a real desktop, in light or dark. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
plinth://call knocked three times and was gone: whoever was away from the Mac came back to a fish that looked as it always does. And a call made while a microphone was in use, which makes no sound, was ended by the next key or click, as if it had been heard and answered. The third knock now leaves the mallet lying on the wood. A key or a click that answers the call lifts it, as slowly as 压槌 lifts. A call no one answers leaves it there until the next knock of any kind, which lifts it partway and swings. While it lies there, the menu bar icon shows the figure with its mallet on it, for when the fish is unseen or under a window. Nothing is counted: after three calls it lies as it does after one. Whether a call can be heard is settled once, as its first knock is made. One that can't be, with the volume all the way down or another app listening to a microphone, is not answered by a key or a click: all three knocks fall, and the mallet waits. A knock by hand, on the fish or on the painted one, and putting out the incense still end any call. The next knock lifts the mallet whoever makes it. So with auto-knock or knock as you type on, it lies there only until the accompaniment resumes, and in a meeting the first key typed lifts it without a sound. Holding the accompaniment back until the call is answered would keep the mallet down, and would press for an answer that the fish leaves to you. That is not done here. Swing gains `holds`, for a swing that lands and stays, and `rises`, for the one after it. A keyframe track that ends keeps its last value, and the next starts from the initial value given then, so a held mallet runs nothing while it lies there. A throwaway probe showed this on macOS 27 only. The app runs from macOS 14: if a track there goes back to its initial value when it ends, the mallet would spring up while the icon still shows it down. Sprite's mallet and its measures are public, for the app to draw the icon from. CallTests makes a call with the volume down: the mallet is down after the third knock and after the call has ended, the next knock lifts it with a swing that rises, and the knock after that doesn't. A key or a click answering a heard call has no test, as a test can't press one. The mallet through such a call, and the icon at 18 and 36 pixels, were rendered off screen and looked at. At 18 pixels the mallet reads as a slanted stroke over a smaller figure. SpriteFish and Swing are shared with the iPhone app, which makes no calls. It was not built: this Mac has only Xcode 27.0. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
Twenty-one skins shipped with Plinth. Fifteen are the fish, and what a hall is called by: the bowl, the gong, the chimes, the boards. The other six, the space key, piston, CRT terminal, abacus, seal and mug, are things of the desk. They leave the built-in list for the community gallery, where rubycatco/plinth-skins#3 adds them. A fish wearing one of the six when it updates keeps it. The app still carries them, in App/Resources/Retired (2.1 MB), for that alone: at launch, SkinOption.handOver copies the worn one into the fish's own skins folder, unless a skin of its name is there already, and the fish wears it from there. Only an id that names a folder directly in Retired is handed over. The iPhone app bundles Skins alone and has no skins folder, so there a fish wearing one of the six goes back to ink. A skin in that folder is named by its skin.json, not by Skins.strings, so the six would have lost their Chinese names. skin.json may now give `names`, keyed by language as an app's localizations are, and Plinth shows the one for the language it runs in, or `name` when there is none. The six carry theirs. All twenty-one voices stay, as the gallery's skins use them. docs/skins.png is redrawn with the fifteen, three rows of five. The sheet tool draws those of the show-off video's cast that still ship; the video tool reads the other six from Retired, and takes its fonts' folder from PLINTH_FONTS. The site and both videos still show twenty-one. SkinTests covers `names` by language, and the handover between temporary folders: it copies the worn skin, leaves a skin of the same name alone, and refuses any other id, one that climbs out of Retired among them. The export test packs and unpacks the fifteen and the six. swift build, PLINTH_APPSTORE=1 swift build and swift test, ten tests, pass. scripts/build_app.sh builds an app with fifteen in Skins and six in Retired; a copy under another bundle ID ran for 15 seconds and left the skins folder as it was. The handover was not tried through a launch, as every bundle ID shares that folder. The .plinthskin files the gallery's script packs unpack through SkinArchive.unpack with their bytes, voice, strike, glow and both names. plinth-skins#3 has to merge, and its release be published, before a release of Plinth without the six. 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. |
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.
Plinth had gathered more surface than a wooden fish needs: a menu that repeated Settings, numbers beside things the ear already measures, and six skins that belong to a desk, not a hall. This takes that surface away and spends the room on one thing the fish does that nothing else does: calling you back.
Five commits, each of which builds and passes its tests on its own.
The menu and Settings (
d9bc4bc)What left the interface and lives only in the README: the named paces (With the breath among them), the seconds, the incense minutes, and those explanations.
The day's line (
f277c4d)The fish's line was in a translucent bubble, in the system's serif. It is now on a slip of the scroll's rice paper, in Songti SC and the scroll's ink, as the iPhone already writes it. It stays paper in Dark Mode.
The call (
2b1551c)plinth://callknocked three times and left nothing behind. And a call made while a microphone was in use, which makes no sound, was ended by the next key or click, as if it had been heard.A limit to know about. The next knock lifts the mallet whoever makes it. With auto-knock or knock as you type on, it lies there only until the accompaniment resumes, and in a meeting the first key typed lifts it without a sound. Holding the accompaniment until the call is answered would keep it, and would press for an answer the fish leaves to you. That is left as a decision, not made here.
Six skins to the gallery (
b3ceb05)App/Resources/Retired(2.1 MB) for that alone: at launch the worn one is copied into the skins folder, unless a skin of its name is there, and worn from there. The iPhone app bundlesSkinsalone and has no skins folder, so there such a fish goes back to ink.skin.jsonmay givenames, keyed by language, so the six keep their Chinese names outsideSkins.strings. This is new to the skin format, and documented indocs/SKINS.md.docs/skins.pngis redrawn with the fifteen.The space bar's name (
ce9a8c0)The Chinese strings table had
"Space"twice, as 空格 for the mallet key and as 空间 for the room a knock rings in. The key's name now has a key of its own.Verification
Run with Xcode 27.0 on macOS 27.
swift build,PLINTH_APPSTORE=1 swift buildandswift testpass at the tip: 10 tests, 5 of them new. The first four commits were each checked out, built and tested too.CallTests: a call with the volume down leaves the mallet down after the third knock and after the call ends; the next knock lifts it with a swing that rises; the one after doesn't.SkinTests:namesby language, and the handover between temporary folders, which copies the worn skin, leaves a skin of the same name alone, and refuses any other id.scripts/build_app.shbuilds an app with fifteen inSkinsand six inRetired. A copy under another bundle ID ran for 15 seconds and left the skins folder as it was..plinthskinfiles the gallery's script packs unpack throughSkinArchive.unpackwith their bytes, voice, strike, glow and both names.Not verified:
Before a release
🤖 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.