GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — Generate the docs screenshots with Playwright by Bohreromir · Pull Request #456 · stackabletech/cockpit Conversation
Member
DescriptionAdds a script to update screenshots automatically with DocsRelease noteChecklistAuthor
Reviewer
Acceptance
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCockpit is released together with the SDP, so the docs become the 'cockpit' module of the 'home' component instead of a component of their own. The release scripts set the version on release branches. Getting started also needs the Secret Operator for the SecretClasses and an Ingress or reverse proxy that serves Cockpit over HTTPS. better-auth 1.7 serves the generic OAuth callback at /api/auth/callback/oidc. The Trino TLS certificate from the Secret Operator covers the headless role group Service, not trino-coordinator.
|
There was an error while loading. Please reload this page.
Coverage Report
File CoverageNo changed files found. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The fallback was the NodePort of the kind dev setup (31432), which sets the port explicitly anyway. Use the standard PostgreSQL port instead.
npm run docs:screenshots builds with .env.test and runs the specs in e2e/docs-screenshots in a separate Playwright project, which writes the images to docs/modules/cockpit/images. The normal E2E run skips them.
fb4ea57 to
fc08ff1
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Basically looks good to me, Claude found one thing that sounds reasonable:
The screenshot depends on the fonts of the machine that runs it (e2e/docs-screenshots/dashboard.spec.ts:56, playwright.config.ts:10). Neither src/app.css nor package.json bundles a font, so the app falls back to the Tailwind system font stack. Every contributor who runs the script will commit a slightly different binary and the docs will keep changing look.
Fix:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
At least 1 approving review is required to merge this pull request.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.