Skip to content

feat(previews): real renders and READMEs for 13 more widgets - #62

Merged
jiunbae merged 3 commits into
mainfrom
feat/widget-previews-batch2
Sep 25, 2026
Merged

jiunbae merged 3 commits into
mainfrom
feat/widget-previews-batch2

Conversation

@jiunbae

@jiunbae jiunbae commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Summary

  • 11 new preview tiles in assets/widget-previews/ (battery-meter, clock, calendar, codex-reset, downloads-new, exchange, github-status, network, now-playing, reminders, stock), rendered by barshelf-app screenshot from new ShotData nodes.
    • Each node is the widget's own workflow.json evaluated by WorkflowEngine — live public feeds (open-meteo, open.er-api, githubstatus, willcodexquotareset, Yahoo Finance), this Mac's own date/cal output, and neutral samples where the real source is personal (track, reminder count, file names, LAN address, battery on a desktop Mac).
    • Inner header glyph + title dropped, as for the existing tiles, since the tile header carries them.
    • Existing tiles are untouched (they differ byte-wise from a fresh render; out of scope).
  • 13 READMEs (the 11 + weather, recent-files-grid), written only from each manifest/workflow.
  • Registry: screenshot + readme for those entries, updatedAt bumped. check-release-versions.py passes.
  • Site: 25 widget pages (was 12), sitemap 27 URLs, search-facing titles for the new ones.

Widget fixes (versions bumped)

  • GitHub Status 0.1.1: the badge and menu bar label said "none" for an all-clear (raw API indicator). Now OK / Minor / Major / Critical (Unknown when missing), tinted good / warning / danger, with a warning glyph during incidents. GitHubStatusWidgetTests pins the mapping.
  • Downloads 0.1.1: arrow.down.circle.badge.clock is not an SF Symbol, so the card header had no glyph (checked every widget/registry icon with NSImage(systemSymbolName:); this was the only one). Now arrow.down.circle.fill.
  • Both tiles re-rendered.

Test plan

  • Temporary XCTest dumped the view trees (not committed); swift build --product barshelf-app + screenshot rendered all tiles
  • Generator: 25 pages; WebKit at 390px shows no overflow on the 13 new pages
  • CI

🤖 Generated with Claude Code

jiunbae and others added 3 commits September 25, 2026 22:20
Only 12 of the 26 registry widgets had both a preview and a README, so the
rest had no widget page and no Gallery thumbnail.

Previews: 11 new tiles (battery-meter, clock, calendar, codex-reset,
downloads-new, exchange, github-status, network, now-playing, reminders,
stock). Each fixture is the widget's own workflow.json evaluated by
WorkflowEngine: public feeds use live responses (open-meteo, open.er-api,
githubstatus, willcodexquotareset, Yahoo Finance), clock and calendar use
this Mac's own command output, and sources that would expose personal data
(track, reminder count, file names, LAN address, battery on a desktop) use
neutral sample values. As with the earlier tiles, the inner header's glyph
and title are dropped because the tile header already carries them. The
Downloads tile uses the widget's own arrow.down.circle.fill glyph; the
registry icon name does not resolve to an SF Symbol.

READMEs: 13 widgets (the 11 above plus weather and recent-files-grid),
written only from each manifest and workflow: what it shows, settings,
permissions, refresh cadence.

Registry: screenshot and readme links for those entries; updatedAt bumped.
The site generator now builds 25 widget pages (sitemap 27 URLs), with
search-facing titles for the new ones people look for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub Status printed the status API's raw indicator, so an all-clear read
"none" in the badge and "GitHub none" in the menu bar. It now says OK, Minor,
Major or Critical (Unknown when missing), colors the badge and glyph to match
(good, warning, danger), and swaps the seal for a warning triangle during an
incident. GitHubStatusWidgetTests pins the mapping. 0.1.0 → 0.1.1.

Downloads declared the icon arrow.down.circle.badge.clock, which is not an
SF Symbol, so its card header had no glyph. It now uses the
arrow.down.circle.fill it already draws inside the card. 0.1.0 → 0.1.1.

Previews: the GitHub Status tile is re-rendered from the fixed workflow, and
the Downloads tile is re-rendered with its header glyph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jiunbae
jiunbae merged commit 08a3e19 into main Sep 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant