Skip to content

Add Playwright doc-screenshot tooling#2

Closed
asg017 wants to merge 2 commits into
paper-embed-0630from
doc-screenshots
Closed

Add Playwright doc-screenshot tooling#2
asg017 wants to merge 2 commits into
paper-embed-0630from
doc-screenshots

Conversation

@asg017

@asg017 asg017 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Adds tooling to build a demo FEC database and regenerate the committed
documentation screenshots via Playwright.

  • just shots-fixture — (re)build the demo FEC database the screenshots run against
  • just shots [names...] — build the frontend, boot a throwaway Datasette against the fixture db, drive Playwright, and write docs/screenshots/*.png
  • Commits the generated screenshots under docs/screenshots/
  • Adds @playwright/test as a dev dependency

Stacked on #1 (base branch: paper-embed-0630).

🤖 Generated with Claude Code

@asg017 asg017 force-pushed the doc-screenshots branch from 34e8821 to 738e924 Compare July 6, 2026 23:47
asg017 and others added 2 commits July 6, 2026 17:07
Adds `just shots` / `just shots-fixture` to build a demo FEC database and
regenerate the committed screenshots in docs/screenshots via Playwright.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a `paper` shot that boots datasette with `--extra paper` (datasette-paper
from PyPI), seeds a paper document embedding two FEC candidates as cards via the
real create API, and screenshots it. The server only pulls in datasette-paper /
opens its permission gates when the paper shot is in the requested set.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@asg017 asg017 force-pushed the doc-screenshots branch from 738e924 to a896b83 Compare July 7, 2026 00:07
@asg017

asg017 commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #3 — screenshot tooling now targets main directly.

@asg017 asg017 closed this Jul 7, 2026
@asg017 asg017 deleted the doc-screenshots branch July 7, 2026 00:30
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