docs: refresh html + image surface gallery examples#121
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two of the README gallery surfaces previously looked like things the other
render surfaces can already produce — the
htmlexample was a node-flowdiagram (overlapping
mermaid), and theimageexample was a before/afterbar 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: filterinput, 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 designedcreative (gradient, brand lockup, headline, CTA), so the
imagepart readsas an uploaded, content-addressed asset rather than a chart.
Files
scripts/surface-examples/html.html— products tablescripts/surface-examples/chart.svg— billboard ad creativescripts/shoot-surfaces.mjs— updated html card title and image alt/captiondocs/surfaces/01-html.png,docs/surfaces/06-image.png— regenerated vianode scripts/shoot-surfaces.mjsREADME.md— html gallery alt text updated to matchBoth PNGs were regenerated with the existing pipeline; the other eight
surfaces are unchanged.