Replace the desktop app placeholder pictures with real captures, redraw the banner

AI Assisted
This commit is contained in:
jparkerweb committed 2026-12-02 20:33:49 -08:00
1 parent ccf82c4eb7
commit bc2325e061
12 files changed
+468 -75

No files matched your search

+7 -2
View File
@@ -49,11 +49,16 @@ node scripts/bench-web-console.mjs [--runs 7] [--workflow dashboard]
# PLAN2CODE_TEST_BROWSER=chrome|msedge forces which browser the page tests and these scripts use
node scripts/capture-screenshots.mjs # every screen
node scripts/capture-screenshots.mjs --only dashboard # one screen (dashboard-utilities scrolls to the utility cards)
# The desktop app's five pictures (app-launch, app-terminal, loop-setup, loop-banner, loop-stop; dark only):
# the app's own page (plan2code-app/ui) in Chrome with a stand-in for its Rust side, framing a real staged
# console. Needs plan2code-app's vendor files (`npm install` and `node scripts/vendor.mjs` there)
node scripts/capture-screenshots.mjs --app
node scripts/capture-screenshots.mjs --app --only loop-stop # one of them
# After a full capture, rebuild what the landing page derives from it (hero 1280px variants, the 1200x630
# social card) and, until the owner has real desktop app pictures, the labeled placeholders (never overwrites a real file)
# social card), and the README banner (docs/banner.jpg) when the tagline, license or a step pose changes
node scripts/make-site-images.mjs
node scripts/make-social-card.mjs
node scripts/make-app-placeholders.mjs
node scripts/make-banner.mjs
# Compare every element's computed style on every screen before and after a stylesheet change
# (dev-only, not in npm test): take a baseline first, then compare after each move