Skip to content

Add board screenshots; fix refresh_seconds floor#2

Open
jeffredodd wants to merge 1 commit into
mainfrom
docs/screenshots
Open

Add board screenshots; fix refresh_seconds floor#2
jeffredodd wants to merge 1 commit into
mainfrom
docs/screenshots

Conversation

@jeffredodd
Copy link
Copy Markdown
Member

Summary

  • Adds 9 board PNGs to docs/ rendered from the local FiestaBoard install (one rainbow primary, plus trans, progress, ally, heart, diagonal, sparkle, arc, equality).
  • Updates manifest.json screenshots to list all nine with captions.
  • Fixes validate_config: refresh_seconds floor was hard-coded to 60 but the manifest advertises a 30s minimum, so any API PUT using the documented minimum was silently rejected. Splits the two floors (rotate >= 60, refresh >= 30).

How the screenshots were made

Drove http://localhost:4420 with the installed Pride plugin: for each piece, PUT /api/plugins/pride/config set selection=pick + piece=<id>, POST /api/templates/render returned the live {{pride.art}} marker string, and a Canvas in the browser rasterized each 6×22 grid to rounded color tiles on a dark surround, then POSTed the PNGs to a tiny local receiver that wrote them to docs/.

Test plan

  • All 9 PNGs render correctly (visually verified rainbow and ally)
  • Sample PUT with refresh_seconds=30 is now accepted by validate_config
  • CI passes (existing --cov-fail-under=70 workflow)

🤖 Generated with Claude Code

Screenshots:
- Generated 9 board renders by driving the local FiestaBoard install,
  setting each piece via /api/plugins/pride/config, fetching the
  rendered {{pride.art}} markers via /api/templates/render, then
  rasterizing each grid to PNG with rounded color tiles.
- Captured: rainbow (primary docs/board-display.png), trans,
  progress, ally, rainbow_heart, rainbow_diagonal, rainbow_sparkle,
  rainbow_arc, equality.
- Manifest's screenshots array now lists all nine with captions so
  the marketplace can pick whichever fits.

Bug fix:
- validate_config required refresh_seconds >= 60, but manifest.json
  advertises a 30s minimum (so the alive Rainbow Sparkle can crawl
  smoothly). The mismatch silently rejected any API PUT that tried
  to use the documented minimum. Split rotate_seconds (>= 60) and
  refresh_seconds (>= 30) into separate checks so both honor the
  schema.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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