docs: refresh demo GIF + add Product Hunt launch gallery assets - #14
Merged
Conversation
Three Playwright-driven scripts under packages/e2e/scripts: - capture-demo.mjs — drives launcher → picker → composer → live agent edit against examples/react-vite and records the marketing demo as a .webm (synthetic cursor, caption banner, capture-only framing). - capture-still.mjs — high-DPI shot of the composer chip + evidence tooltip. - make-posters.mjs — renders the two Product Hunt gallery stills. Ignore the Playwright run output and the demo-capture scratch (the shipped GIF/PNGs live under assets/), and untrack the stale test-results state file. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
A Checkout card whose grand total is inflated 100x by a cents/dollars unit mismatch that spans three files: money.ts defines the "everything is integer cents" contract (applyTaxCents returns cents, formatCents divides by 100 once), cart.ts is where the fault lives (a stray * 100 re-scales the already-cents tax), and OrderSummary.tsx is innocent presentation. The bug cannot be fixed from the element you click — only by following the import chain across files — which is exactly the picker → agent story the README describes. Additive: the existing Counter / UserTable / ProfileCard cards and the e2e selectors that target them are unchanged. Committed in its correct form; the demo capture injects the bug transiently and the live agent removes it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Regenerate assets/demo.gif against the current 1.2.1 widget: a real Claude agent picks the inflated Grand total, reads OrderSummary.tsx → cart.ts → money.ts, removes the stray * 100, and Vite HMR collapses $11,691.00 (red) to $1,402.92 (green) in the same tab. Add two gallery stills — the picker-evidence close-up and the category positioning chart — and rewrite the README demo prose (en/ko) to the Checkout story, embedding the evidence still. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Show assets/gallery-category.png at the top of the category section (en/ko), above the existing comparison table, so all three launch visuals — the demo GIF, the picker-evidence still, and the category chart — have a home in the README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Refreshes the marketing demo against the current widget and adds the launch gallery visuals, plus the reproducible tooling that generates them. All three launch visuals now live in the README.
Launch assets
assets/demo.gif— regenerated against the current widget. A real Claude agent picks the inflated Grand total, readsOrderSummary.tsx → cart.ts → money.ts, removes a stray* 100, and Vite HMR collapses$11,691.00(red) →$1,402.92(green) in the same tab — no IDE.assets/gallery-picker-evidence.png— close-up of the real composer chip + evidence tooltip (component chain, source file, selector).assets/gallery-category.png— category positioning chart.Example scene (additive)
examples/react-vite/src/checkout/{money,cart,OrderSummary}.tsx?— a cross-file cents/dollars unit-mismatch bug that can only be fixed by following the import chain, not from the clicked element. Matches the cart narrative the README describes. Existing Counter / UserTable / Profile cards and their e2e selectors are unchanged.Reproducible tooling
packages/e2e/scripts/capture-demo.mjs(live demo → webm),capture-still.mjs(evidence screenshot),make-posters.mjs(gallery posters). Playwright run output + capture scratch are gitignored.README
Notes
931f37a chore: version agent-devtools beta prerelease(adds.changeset/pre.json) — develop is currently in changesets prerelease mode, so this carries that state into main. Confirm that matches your intended release flow before merging.pnpm typecheck✅,pnpm lint✅ (0 problems), widget-shell e2e 4/4 ✅.🤖 Generated with Claude Code