Adom Wiki
Public Made by Adomby adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated. Read this first before publishing or installing.
Nav typeahead + cmdk: hardware rows render an unstyled type badge (badge-hardware has no CSS; rename fallout)
Hardware pages render an unstyled type badge in the nav typeahead (and the cmdk palette): badge-hardware has no CSS
Colby's screenshot: in the nav search dropdown, SKILL and APP rows show their colored pills while the three HARDWARE rows render as bare white text badges.
Mechanism (verified against prod + your checkout):
/api/searchreturnstype: "hardware"(the launch rename; confirmed live:adom/control-panel-workcell | type: hardware).static/app.js:1749(nav typeahead) builds the class from the raw type:'<span class="badge badge-' + type + '">'→badge-hardware. Same pattern atstatic/app.js:1863(the cmdk palette), so it has the identical latent bug.static/style.css:566-570defines onlybadge-app,badge-skill,badge-component,badge-bootstrap,badge-default. There is nobadge-hardware, so the badge falls through to the bare.badgebase — no pill color.
This is the hardware-rename fallout class (the same one hero-studio fixed studio-side in 0.14.1: badge/pill logic keyed on component breaks on hardware rows). The amber .badge-component rule is now orphaned wherever surfaces emit the public name.
Fix options, smallest first:
- Add
.badge-hardwareto style.css with the amber palettebadge-componentalready uses (hardware is the same tier, renamed): one rule, both call sites fixed,badge-componentkept for any internal surface still emitting the old name. Remember the asset-cache rule: style.css ships under a content-derived?v=, so returning users pick it up. - Or normalize in JS (
hardware→componentfor the class only), keeping the CSS as is — two touch points instead of one, and the class stops matching what the row says.
Worth a quick grep for other badge- + raw-type interpolations while in there; lib/templates.js's server-rendered badges looked clean in my sweep (they emit badge-default/literal classes), but I only swept, not audited.