Repository navigation
test(docs): add demo fixtures and capture tools - #1106
Merged
Merged
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… auto-start demo server
khaira777
force-pushed
the
docs/end-user-help-automation
branch
from
October 13, 2026 17:00
d396cbe to
50cf6fb
Compare
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.
Summary
This PR introduces automated tooling to seed a deterministic demo restaurant and capture high-resolution screenshots for end-user documentation and the flopos.com Help Center.
What is added / updated:
Deterministic Demo Seeder (
scripts/docs/seed-blue-harbor.cjs):Isolated Server Harness (
scripts/docs/demo-server.cjs):/tmpdirectory on isolated ports (3101 API/POS, 3102 KDS, 3103 Server App) without port collisions.Playwright Screenshot Capture Pipeline (
scripts/docs/capture-screenshots.cjs):product-create-modal.webp,addon-group-create-modal.webp,settings-printer-add-modal.webp,settings-receipt-customization.webp,settings-whatsapp.webp, andproducts-addon-groups.webp).print-test-page.webp,addon-groups-manager.webp).Convenience npm Scripts:
npm run docs:demo: Run standalone demo server.npm run docs:screenshots: Run end-to-end headless capture.Safety & Invariants:
npm run lint:backend(0 errors, 1000 warnings within budget).Companion PR in flopos.com: FreeOpenSourcePOS/flopos.com#3 (
feat/interactive-help-center)