Commit Graph

4 Commits

Author SHA1 Message Date
Jonas Bark
312137bad3 Mirror the App Store listing to macOS
macOS shares the App Store record (same bundle id), so add an
upload_metadata_macos deliver lane that reuses the iOS listing texts
(same metadata_path) under platform osx, and run it from the metadata
workflow's iOS job on every upload. Screenshots use the desktop renders
(2560x1600 — a valid Mac size, framed like the others); the prepare
script now stages them into ios/fastlane/screenshots_macos (gitignored).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 18:54:26 +02:00
Jonas Bark
b201cb3e53 Generate localized store screenshots (golden_screenshot 11)
- 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>
2026-06-18 11:22:56 +02:00
Jonas Bark
cea9112031 Move store metadata into the private prop submodule
The localized App Store / Google Play listing text (titles, descriptions,
keywords, ...) was committed under ios/fastlane/metadata and
android/fastlane/metadata in this public repo, exposing the marketing/ASO copy.
Relocate it to the private prop submodule (prop/store_metadata/{ios,android})
and point fastlane at it; the public repo keeps only the lanes/workflow.

- ios/android Fastfiles: METADATA = "../prop/store_metadata/{ios,android}"
  (lanes run from ios//android/, so ../prop is the repo-root submodule).
- prepare_store_screenshots.sh: Android images stage under the prop metadata
  path; iOS screenshots unchanged.
- metadata.yml: checkout the prop submodule (submodules: recursive + PAT_TOKEN);
  on download, commit & push the listing text to OpenBikeControl/prop (6.1) and
  bump the submodule pointer here. PAT_TOKEN needs write access to prop.
- .gitignore / STORE_METADATA.md updated; screenshots stay public in ./screenshots.
- Bumps prop submodule to include the new store_metadata.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 06:56:26 +02:00
Claude
eb37850b2d Upload store screenshots from screenshot_test.dart goldens
Add scripts/prepare_store_screenshots.sh which maps the golden screenshots
produced by test/screenshot_test.dart (./screenshots/<scene>-<device>-<WxH>.png)
into the per-language layout fastlane expects:
- Google Play: phoneScreenshots (android) + tenInchScreenshots (androidTablet)
- App Store: iPhone 6.5" + iPad 12.9" images per locale (device detected by size)

The fastlane upload lanes now include screenshots (skip_upload_screenshots /
skip_screenshots disabled), and the 'Store Metadata' upload workflow runs the
prepare step first. Generated screenshot folders are gitignored so the images
stay sourced from the test output instead of being duplicated per language.

https://claude.ai/code/session_01Q3VrPge5KaXrrogqtbvGLZ
2026-06-15 20:21:43 +00:00