Skip to content

docs: refresh html + image surface gallery examples#121

Merged
benvinegar merged 2 commits into
mainfrom
docs/refresh-surface-gallery
Jun 24, 2026
Merged

docs: refresh html + image surface gallery examples#121
benvinegar merged 2 commits into
mainfrom
docs/refresh-surface-gallery

Conversation

@benvinegar

Copy link
Copy Markdown
Member

Two of the README gallery surfaces previously looked like things the other
render surfaces can already produce — the html example was a node-flow
diagram (overlapping mermaid), and the image example was a before/after
bar chart (a plain data viz). This swaps both for examples that show off what
each part is actually for.

Changes

  • html → a shadcn/ui-style ecommerce products data table: filter
    input, faceted Status/Category chips, row-selection checkboxes, status
    badges, right-aligned numerics, and a selection-count + pagination footer.
    A layout most developers recognize at a glance. Filters, rows and buttons
    stay wired to sendPrompt().
  • image → a fictional SaaS billboard ad ("Meridian"): a designed
    creative (gradient, brand lockup, headline, CTA), so the image part reads
    as an uploaded, content-addressed asset rather than a chart.

Files

  • scripts/surface-examples/html.html — products table
  • scripts/surface-examples/chart.svg — billboard ad creative
  • scripts/shoot-surfaces.mjs — updated html card title and image alt/caption
  • docs/surfaces/01-html.png, docs/surfaces/06-image.png — regenerated via node scripts/shoot-surfaces.mjs
  • README.md — html gallery alt text updated to match

Both PNGs were regenerated with the existing pipeline; the other eight
surfaces are unchanged.

benvinegar and others added 2 commits June 23, 2026 22:50
Make two README gallery surfaces lead with examples that aren't easily
mistaken for the other render surfaces:

- html: a shadcn/ui-style ecommerce products data table (filter input,
  faceted Status/Category chips, row selection, status badges, pagination),
  replacing the node-flow diagram. Filters, rows and buttons stay wired to
  sendPrompt().
- image: a fictional SaaS billboard ("Meridian") — a designed ad creative,
  in place of the before/after bar chart, so the image part reads as an
  uploaded asset rather than a chart the render surfaces can already draw.

Updates scripts/surface-examples/{html.html,chart.svg}, the card title/alt/
caption in shoot-surfaces.mjs, the regenerated docs/surfaces/{01-html,
06-image}.png, and the html alt text in the README gallery.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@benvinegar benvinegar merged commit 6e3c1b6 into main Jun 24, 2026
9 checks 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