mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
bb33d681ea
The 138 catalog pages hid their install command, registry metadata, and wiring snippet behind three accordions. Asking an agent and running the terminal command are two parallel ways to do one thing, so they are now tabs with the agent request leading; the metadata and the hand-wiring snippet are visible, since they were short enough that a click bought nothing while costing Cmd+F and printing. This is how component catalogs are normally presented - shadcn/ui and its descendants put preview and code behind tabs - and it keeps the preview first, which is the point of a visual catalog. Two generator bugs fixed while in there. It rebuilt the Catalog tab object from scratch, so the tab silently lost its icon on every regeneration, and it re-inserted the tab relative to a tab named Documentation that no longer exists, so the fallback index moved Catalog ahead of Studio. It now updates the existing tab in place and owns only the groups array. Regenerating also picked up four registry items that had no docs page: camcorder-hud, editorial-flash-overlay, freeze-frame-dressing, and organic-light-leak-overlay. Accordions now remain in three hand-written pages only: troubleshooting, data-attributes, and html-schema. mint validate and mint broken-links pass. The repo's pre-commit build gate was bypassed deliberately: this work lives in a git worktree, which has no per-package node_modules, so `bun run build` cannot resolve tsup there. The gate covers package builds and this change touches docs/ and one generator script.