A local-first multi-agent app development platform, built on PenguinHarness
Buttons take the rung of what they stand beside, and the menu search box gets a record
- Date: 2026-09-11
- Type: fix
- Scope:
web - PR: #699
A second pass over the form controls, on the rule #689 set: a size comes from one record, and the rule is checked rather than remembered.
Details
- Four buttons in the settings dialog stood a rung above the fields beside them — Account's "change
password", Proxy's and Uploads' "save", and the admin Users page's "create". All four are dialog
body buttons, which #689's rule already put on
sm; they keptButton'smddefault because nothing checked them.control-size.test.tsnow names the settings dialog's pages inDIALOG_BODY_MODULESand fails on a Button in one of them that does not ask forsm. - The Agents page header gained a search box — name, id and description, case-insensitive — in the
Models page header's shape: the same
flex-wraptitle row, the samemin-w-0 flex-1 sm:w-56 sm:flex-nonebox, the sameInput size="sm". Its create action drops frommdtosmso it reads at the size of the box beside it. An empty result says so rather than reading as "no agents". - The Models page's "sync presets" action appears only while a sync is waiting, in the accent. A sync with nothing to sync is a no-op, and the permanent button spent the header's width on one. The update dot goes with it: it marked this button as the end of the models trail, and on a button that exists only when the trail does, it would be lit every time it was seen.
- The four raw
<input>search boxes that do not go throughInput— the model picker, the Skill picker, the Workspace browser and the machines picker — readmenuSearchClassorpanelSearchClassfromcomponents/ui/input.tsxinstead of each spelling its own look. The four copies had drifted apart on radius, padding, focus colour and whether the border transitions at all. Padding stays with the caller, the one thing that legitimately differs. - The machines page's install action was the last page-header button still on
md, beside the machine picker.CreateButtonsdefaulted itssizetomdwhile both call sites passedsm, so the default was unreachable — a trap for the next caller; it defaults tosmnow. - The three
<label>s that a file picker needs, and that had each respelled the Button look by hand — two of them byte-identical — readlabelButtonClass(variant, size)frombutton.tsx, built from the same two recordsButtonitself reads. .agents/skills/penguin-harness-frontend/SKILL.mdrecords the button rule as "a button takes the rung of whatever it stands beside", with the three places that meanssm.