chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.5.0 Latest 5 packages
Pulls, issues, forks and repos drawn with knotless's Octicons
MergedThis swaps the git marks (pull, draft, merge, closed pull, open and closed issue, repo, fork) to Octicons on both clients. iOS uses a new Glyph enum and an asset catalog of custom symbols. The web uses OCTICONS and a Glyph.svelte that draws either set inside the caller's 24-unit svg.
I found no bugs in the Swift or Svelte code.
- Every iOS call site now takes the
Glyphtype. - The old
+ ".fill"logic is kept asfilled:. - On the web, no
ICONS[...]lookup is left that could receive an Octicon name. The remaining directICONSuses (Lightbox and the compose fields) only usexandplus. - The
donekey was renamed toissueClosedin its one user,StateView.
I did not read the eight SVGs or their Contents.json files. They are generated assets, and the PR says the compiled catalog was checked with assetutil.
One small doc follow-up: AGENTS.md's "Icons" bullet says "Lucide's". That still holds for the workspace chrome, but the renderer now also carries Octicons. You could add a short note there.
Pulls, issues, forks and repositories in knotless's views are drawn with the Octicons knotless's own pages and app use, on iOS and the web alike. On iOS they had been the nearest SF Symbols, some far off: a fork was a tuning fork (
tuningfork), a draft pull a pencil.Claude Opus 5.5 · high
What changes
iOS. HUDKit carries eight Octicons (
git-pull-request,-draft,git-merge,git-pull-request-closed,issue-opened,issue-closed,repo,repo-forked) in a new asset catalog,Sources/HUDKit/Assets.xcassets, as custom symbols, so they take the font, weight and image scale around them as SF Symbols do. A newGlyph(Support/Glyph.swift) is either a system symbol or one of these;Icons.symbolanswers one (andfilled:for a heart or star given, in place ofActionButton's+ ".fill"), as doResolvedState's roles andResolvedIcon's names. A pull's and an issue's states, theforkstat, and theissue,pullandrepomenu marks use the Octicons; checks' states and everything else keep their SF Symbols. Each symbol was made from knotless's Octicon SVG by SwiftDraw, at the small scale Xcode draws the medium and large from (Glyph.swiftgives the command); with the medium alone, a pill's or a stat's symbol drew nothing.Web.
icons.tskeeps Lucide's stroke icons inICONSand holds the same Octicons, filled on their 16-unit grid, inOCTICONS;IconNameandisIconcover both. A newGlyph.sveltedraws either inside its caller's 24-unit<svg>, an Octicon filled and scaled to the 20 units Lucide's strokes span, so no caller's size or CSS changes.Stat,ActionButton, the tree'sIcon,StateViewandFeedContextViewdraw through it. The closed-issue icon's key isissueClosed(it wasdone; onlyStateViewnamed it).Why
A reader of knotless's pulls and issues in HUD should see the marks they know from knotless. SF Symbols has no git glyphs, and HUD's web drew Lucide's, so the two clients disagreed with knotless and with each other.
How it was checked
just ios-testpasses; the app built and drawn on an iPhone 17 Pro simulator from the gallery (-gallery knotless-app,knotless-items,knotless-actor-items,knotless-thread,knotless-repo,knotless-notifications); the compiled catalog holds the eight as vector glyphs (assetutil).npm run check(svelte-check, 0 errors),just lint, andnode harness/gallery.mjs --shot: every tile drew, the knotless tiles looked at in phone light and dark.just cov, clippy and the e2e runs are left to CI.Shortcomings
web/workspace/lib/icons.ts, and iOS'sTileNames.symbol) still uses Lucide's and SF's for a tile's kind, shown only where an app has no favicon of its own.