It sat first in the app bar's trailing row, and the marketing renders lay that
bar out narrower than a real window — enough that AppTitle's wordmark wrapped
mid-word, "BikeContr / ol". Harmless in the framed boards, glaring on the
website hero, which shows the frameless render at ~150px where the broken
wordmark is the first thing the eye lands on.
Gating it on !screenshotMode gives the title its line back, and buys enough
trailing room that "Add keyboard and mouse actions" stops wrapping too. A Pro
upsell was never what these boards were selling.
71 goldens follow: the six device-* slots per locale, where the app bar lives,
plus the androidTablet / noFrame pairs that flap between runs.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Four things the first pass got wrong.
The home screen is the first board on the listing, and it was advertising
an unconfigured app: an amber "3 steps left — Controller & Trainer app
still need setting up" banner, nine controller cards (the set the card
goldens further down need, not a rider's bars), a steering gauge reading
"Calibrating…" where the Click V2's contour belongs, and an "Unlock it
with Zwift" card. The scene now runs with one controller — the Click V2,
which `screenshotMode` already shows as "Controller" — its unlock-mode
choice made and its unlock persisted, the trainer bridged and the
MyWhoosh Link connected. Every one of those buys off a step the home
chain was counting, so the banner is green and the controller card draws
its contour.
The device's corner radius was a fraction of the viewport WIDTH, which is
fine on a portrait phone and wrong on a landscape tablet: 78 logical
units on the 917-wide iPad viewport, where golden_screenshot's status bar
image puts the battery 23 units in from the right. It ate the battery.
Radius and bezel now scale off the viewport's SHORT side — a bezel is a
physical property of the device, not of the orientation it is held in —
and phones and tablets get their own radius fractions, because a real
phone is dramatically rounder than a real tablet. store_board_test.dart
holds every slot's corner arc clear of that status bar corner, with the
insets measured off the package's own topbar assets.
Version to 6.4.2+146, which the boards print in the overview header — the
fixture was still claiming 6.1.0.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Ports the marketing board BikeOtter moved to, onto the slots and scenes
this project already emits. The board is now written entirely in
fractions of the canvas — the five board slots are 440x956, 414x896,
1280x800, 917x688 and 853x533 logical, so anything in pixels lands
somewhere different on each.
The look:
* gradient corner to corner instead of straight down, so the board has
a light side and a dark side rather than a horizon;
* a white radial glow under everything — the falloff is what makes it
read, so it holds better than half its strength through the inner
half before dropping;
* the device tilted -3 degrees, with the rotation's overhang taken off
the top so the painted top edge still lands at the band foot (a
Transform resizes nothing);
* the bezel as padding rather than a foregroundDecoration border,
which used to eat 8 logical px of app on every edge and clip the app
bar at tablet width; plus a drop shadow and a bottom bleed, so the
board reads as a product shot;
* one accent phrase per headline in a light cyan from the brand
family — always the subject of the claim, never the verb;
* a 24-degree hue ramp across the listing, so six boards read as a
series instead of one image repeated.
Marketing copy and the brand style move to test/store_copy.dart, and the
slot table to custom_frame.dart, so the new board tests can read both
without booting the app. Two French headlines were shortened to fit the
character cap.
test/store_board_test.dart asserts the composition arithmetically on
every slot — the goldens are generated on demand and the suite that
writes them is tagged out of a normal run, so nothing else looks at the
layout, and its failure mode is silent.
Note: regenerating also picked up app-content drift on the `device`
scene (the "3 steps left" banner, a Calibrating gauge and the "Unlock it
with Zwift" card). That is the redesigned home screen reacting to the
marketing fixture's state, not the board change, and still needs a
decision on what that scene should feature.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Extract FrontShiftCard from the gear-ratios page so it can render in
isolation, and add two golden scenes that capture single widgets for the
6.2 blog: the front-derailleur setting card and the second-window gear
overlay (2×N notation). Each renders the widget in a keyed RepaintBoundary
for a tight, page-free capture.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Long localized titles (e.g. es/companion, fr/device) wrapped past the device
frame's top. Constrain the title to the band above the frame and shrink it to
fit (FittedBox scaleDown), and raise it slightly, so any title length sits
fully above the frame.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Suppress the overview's alert toasts in screenshotMode and drop the Device
scene's "Connecting to:"/"Connection finished:" test notifications, so the
store screenshots no longer show a "Connecting to: Controller" popup.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The connection titles ("Connect using Bluetooth", "Connect directly over
Network", "Connect using MyWhoosh Link", ...) were captured once at object
construction in English, so they didn't follow the active locale. Back the
title with a builder (String Function()) and expose it via a getter so it
re-localizes — fixing the English titles in the localized store screenshots.
Updated all 10 subclasses and the fake connection in the bridge-transport test.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Show the Base version in screenshots (re-assert IAPManager.isPurchased in the
shoot() helper, which core.settings.reset() had cleared — so the overview no
longer shows "N day trial available").
- Localize previously-hardcoded strings (en source; de/es/fr/it/pl are drafts):
- InGameAction labels (~50): title is now a localized getter backed by
englishTitle (Steer Right, Change Camera, Tuck, ...).
- ButtonTrigger (Single/Double Click, Long Press).
- Button-simulator action categories (Shifting/Steering/Other).
- The "N day trial available" banner string.
- Regenerated all localized screenshots.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Bump golden_screenshot 8.2.0 -> ^11.0.1 (drops the Yaru dependency, hence the
linux plugin-registrant change).
- screenshot_test.dart now renders each scene for 6 locales (en/de/es/fr/it/pl)
via a shoot() helper, writing screenshots/<locale>/<scene>-<device>.png.
Marketing titles are translated per locale (de/es/fr/it/pl are drafts).
- main.dart: screenshotLocale global drives the app locale in screenshot mode
(was hardcoded to English).
- v11 only loads fonts found in the rendered tree, so loadAssets() runs after
the first pump.
- Virtual Shifting scene shows the gear UI instead of the "trainer doesn't
advertise FTMS" warning: added ProxyDevice.debugAttachFitnessBike (test seam,
no server side-effects) and hide the MyWhoosh gearing hint in screenshot mode.
- prepare_store_screenshots.sh maps each store locale from its language folder
(de-DE <- screenshots/de, ...).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>