mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-12-03 00:09:19 -08:00
Replace the desktop app placeholder pictures with real captures, redraw the banner
AI Assisted
This commit is contained in:
1 parent
ccf82c4eb7
commit
bc2325e061
12 files changed
+468
-75
No files matched your search
@@ -283,8 +283,21 @@ button, a different color.
|
||||
```bash
|
||||
node scripts/capture-screenshots.mjs # every screen
|
||||
node scripts/capture-screenshots.mjs --only dashboard # one screen
|
||||
node scripts/capture-screenshots.mjs --app # the desktop app's five pictures
|
||||
```
|
||||
|
||||
`--app` takes the desktop app's pictures (`app-launch`, `app-terminal`,
|
||||
`loop-setup`, `loop-banner`, `loop-stop`, dark only). It runs the app's own
|
||||
page from `plan2code-app/ui` in Chrome with a stand-in for its Rust side, so the
|
||||
bar, the launch card, the loop banner and the terminal panel are the real ones,
|
||||
and frames a real staged console with the app's settings on. No agent runs: the
|
||||
terminal text is written by `scripts/capture-app-shots.mjs`. It needs the app's
|
||||
vendor files (`npm install` and `node scripts/vendor.mjs` in `plan2code-app`).
|
||||
|
||||
The README banner, `docs/banner.jpg`, is drawn by `node scripts/make-banner.mjs`
|
||||
from the console's own step poses. Rerun it when the tagline, the license or a
|
||||
step pose changes.
|
||||
|
||||
Each screen is staged with no agent, from the payloads in
|
||||
`scripts/screenshots/` (its README names the file behind each screen), in a
|
||||
throwaway sample project and console home that the script removes when it is
|
||||
|
||||
Reference in new issue
Block a user