mirror of
https://github.com/Komediruzecki/token-circles.git
synced 2026-10-20 09:46:43 +02:00
The six product stills on irchiinnuss.com and the blog were hand-taken, live in another repository, and had drifted ten commits of UI behind with nothing in either repo able to say so. This is the repeatable way to re-shoot them: log in through the API, pin the theme and profile, address each page by the data-test-id hooks the e2e specs already gate on, and shoot at 2x for a clean 2:1 downscale to the published 1440x900. Every trap it guards fails by producing a plausible image rather than an error, which is the whole reason they are pinned here instead of left to the environment: - The theme. The app follows prefers-color-scheme when nothing is pinned and headless Chromium reports light, so an unpinned run returns a complete, correct-looking light set to publish into a dark gallery. - page.addStyleTag belongs to the document that was live when it ran, so scrollbar and animation suppression evaporates on the first goto() and only shot one comes out clean. It is an init script. - Empty states photograph well. A header renders just as happily above no data, so each shot asserts a minimum row count and a floor on the digits on screen before the shutter opens. - Hash-to-hash navigation is same-document, so the router swaps pages inside a DOM that still holds the last one -- portfolio counted 77 rows following analytics against its real 8. Each shot loads a fresh document and is independent of its order. Output defaults into frontend/local/, which git already ignores; publishing means pointing OUT at the gallery checkout deliberately. Verified by re-running it on this branch against a freshly seeded demo profile: five of the six come out byte-identical to the masters currently published. The sixth is the portfolio frame, whose gain/loss column carries live quotes.