Repository navigation
Replace README screenshots with fake test printers - #2
Merged
Merged
Conversation
The old screenshots showed real printer names. The new ones are taken from a Bridge running on made-up demo data (Test Printer A to D). Same paths and pixel sizes, so README links are unchanged. Adds scripts/demo to regenerate them.
Hacktron Security Check - SkippedReason: Code Review is not active for this organization
|
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.
Replace README screenshots that showed real printers
What: Six README screenshots in
docs/images/(dashboard, history, maintenance, command-menu, mobile, share) showed the maintainer's real printer names and file names. They are replaced with screenshots of made-up data: Test Printer A to D, fake serials and access codes, test_* file names. Same paths, file names and pixel sizes, so README links are unchanged.notifications.pngand the logos were already clean and are untouched.How they were made: A Bridge built from main (
-tags headless, v2.6.6) ran against a fake Bambu MQTT broker (scripts/demo/fake_bambu.go, loopback only) with a seeded demo config (scripts/demo/seed.py). Playwright took the shots (scripts/demo/screenshots.cjs). No real printer, config, token or network access was used. Steps are inscripts/demo/README.md.Visible differences from the old images: they show the current main UI, not the older one (header "Bridge running v2.6.6", "Printers" and "Need attention" cards, a "Start print" button on idle printers). The share page no longer shows a file name, and the history hours column is not lifetime hours. The printers' addresses are 127.0.0.x and never appear on screen.
Tested: all six images match the old pixel sizes; each was viewed after rendering;
CGO_ENABLED=0 go test -tags headless ./...passes (no Bridge code changed).Not tested: the generator on another machine; the README on GitHub after merge. Old images stay in git history (no rewrite). Test files still contain the old printer names and serials (see audit note), a separate change.