Commit Graph

26 Commits

Author SHA1 Message Date
Jonas Acker
d409716bf0 Short Play notes per language; Apple changelog drops emptied releases and sub-items; Click V2 doc comment back on its class
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:45:42 +01:00
Jonas Acker
24c5c65827 changelog: 7.6.0 in all languages; App Store notes and Apple builds leave out other-platform entries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:53:32 +01:00
Jonas Acker
809c2f63a3 Changelog per language: translations in changelog/<lang>.md for the app and the store notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:42:04 +01:00
Jonas Acker
c81bbd4e4d What's new: banner + full-screen page instead of the changelog dialog; no markdown bold in store notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:30:10 +01:00
Jonas Acker
fe5e96a596 feat(store): Play feature graphic, App Store header and search assets
store_screenshots/scripts/graphics.mjs renders the Play feature graphic and
the App Store product page header (3840x1646) and search results (3840x2560)
stills per language from the app captures, on the app's brand band. They lead
with virtual shifting, then the rider's own controllers, and follow the
stores' rules: copy and focal art in Apple's template safe areas, no prices,
URLs or other platforms; for Play a vibrant ground, no device imagery and the
centre clear of the preview video's play button. The copy lives in
scripts/creative-copy.mjs.

store_screenshots/header-loop is a HyperFrames project for a 10 s seamless
header loop: the design system's drivetrain shifting 12 → 14 → 12 with the
+ / − press, the contours drifting on a closed path. node render-all.mjs
renders one MP4 per language (renders/ is not committed).

The capture settle now waits 2.5 s: Trainer Controls' buttons fade their
own fill slower than the theme and were caught half light, half dark. A
failed capture run retries once; the feature graphic gets its own Play lane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:37:02 +02:00
Jonas Acker
7ee250e2f2 feat(store): every listing language, an iPad deck and the Microsoft Store
The decks now carry de/es/fr/it/pl copy (the app's own words for its screens,
informal like the boards) and the capture run covers all six languages by
default. A new iPad deck frames 13" portrait captures rendered at the iPad's
real 2x, so the app shows its sidebar layout; prepare_store_screenshots.sh
uses it for the 12.9" set. The 10" landscape deck doubles for the Microsoft
Store (screenshots/store/<locale>/windows/).

The captures alternate light and dark and the app cross-fades its theme, so
each one now waits for the fade to finish instead of catching it halfway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:33:54 +02:00
Jonas Acker
86a27050d1 feat(store): the English listing uses the editor decks
scripts/store_screenshots.sh now also copies the store sizes of every deck
into the committed screenshots/store/<locale>/<slot>/, and
prepare_store_screenshots.sh prefers those over the Flutter-drawn boards per
locale and slot: iPhone 6.5" (1284x2778), Mac (2880x1800), Play phone, 10"
and — new — 7" tablets. Locales without a deck (all but en so far) and the
iPad keep the boards. New screenshots-only lanes (iOS, macOS, Play) replace
the images without touching the listing texts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:04:49 +02:00
Jonas Acker
7b3bb18d3a chore(store): screenshot decks from an editor, regenerated from the app
store_screenshots/ holds the app-store-screenshots editor and the BikeControl
decks (iPhone, Android phone, Mac, Android 10"/7" tablets, Play feature
graphic) in app-store-screenshots.json, styled after prop/design/DESIGN.md.

scripts/store_screenshots.sh rebuilds them from the current app: the golden
test's new EDITOR_CAPTURES mode renders the six store scenes bare (phone and
desktop, light and dark) into the gitignored screenshots/editor/, the editor
picks them up, and a headless export writes every deck to
store_screenshots/out/. screenshotThemeMode lets the test capture the dark
app; the existing store boards are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:04:49 +02:00
Jonas Acker
b245f9b509 ci(macos): drop the Mac App Store Shorebird patch workaround
Shorebird 1.6.128 fixes shorebirdtech/shorebird#3223: patches now install
after the app is re-signed (Developer ID or Mac App Store .pkg). macOS
patches go through the stock shorebird-patch action like every other
platform, including the beta-track follow-up for stable patches. The
register-baseline script, its README and the disabled plain
`flutter build macos` step go away.

Only valid for macOS releases built with Shorebird >= 1.6.128; releases
up to 7.2.0+157 still need the removed workaround to be patched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 17:49:05 +02:00
Jonas Acker
69ac9b1bba fix(store): boards sell what a rider gets, in one cast, with readable headlines
- Every board is shot with Pro, so the plan pill no longer says "Base" next
  to BikeControl's own virtual shifting.
- One trainer app throughout, named generically and in the board's language:
  the Ride banner, the desktop trainer chip and the companion page no longer
  leak the real app name; the companion board sends over the Network method.
- New Devices board replaces the virtual-shifting mode page; the trainer
  board shows the Network method connected. New listing order: Ride,
  Devices, per-gear ratios, buttons, connection, companion.
- Benefit-led headlines in all six languages (French uses "tu" like the app).
- Headlines sit on the darker band pair and the glow moved below them:
  white type now holds 4.5:1 and the accent 3:1 on every board, with a test.
- STORE_LOCALES / STORE_SLOTS dart-defines for quick preview renders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 19:09:08 +02:00
Jonas Acker
78fcc3bed3 fix(release): App Store notes up to 4000 chars, cut on word boundaries, all locales
The App Store "What's New" reused the 500-byte Play file, so long changelog
entries were cut mid-word (7.0.0 ended in "...as an indoor cy"). head -c also
counted bytes, cutting multi-byte text earlier and able to split a character.

- scripts/truncate_release_notes.sh: truncate by Unicode characters; if the
  text must be cut, cut at the last line break (else last space) and append
  "…". Input that fits is passed through unchanged.
- build.yml: Play keeps a <=500-char whatsnew; a separate <=4000-char
  store_notes/app_store_release_notes.txt feeds the iOS and macOS pushes.
- Fastfile: push release notes to every listing locale, derived from the
  locale folders under the metadata dir (fallback list incl. es-MX), so es-MX
  no longer keeps the previous version's note. Screenshots are unchanged.
- scripts/test_truncate_release_notes.sh covers the truncation rules.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 11:20:59 +02:00
Jonas Bark
c6706e7f90 fix(scripts): match App Store and Shorebird release version spellings
App Store Connect returns the marketing version exactly as it was typed
there ("6.6"), while Shorebird and the app bundle both use the three-part
pubspec version ("6.6.0"). The MAS patch script string-compared the two,
so `register-baseline` aborted with "No Shorebird release found for
6.6+152" even though 6.6.0+152 existed.

Compare version strings semantically via Gem::Version (build number still
has to match exactly), then adopt Shorebird's spelling for everything
downstream, since that is what the installed bundle's
CFBundleShortVersionString and `shorebird patch --release-version` agree
on. Without this the same mismatch would also have failed the installed-app
check and spun `install_or_update_mas_app!` until its timeout.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 08:08:08 +02:00
Jonas Bark
725daa9650 fix macOS script 2026-08-27 08:29:04 +02:00
Jonas Bark
6ab8bf80bb feat(shorebird): enable macOS App Store OTA patches
Work around shorebirdtech/shorebird#3223: Apple re-processes the submitted
.pkg, so patches built from Shorebird's original `macos/app` artifact download
but fail to load. Register the store-delivered `.app` as a second release
artifact (`macos/app_mas_contents`) and point `shorebird patch` at it.

- Vendor lukemmtt's gist as scripts/shorebird_mas_patch.rb (BikeControl
  defaults) with register-baseline/status/patch, plus repo-adapted docs.
- build.yml: ship the macOS store binary through `shorebird release macos` so
  it carries the updater and a release record exists to patch against; disable
  the plain `flutter build macos` it replaces.
- patch.yml: replace the disabled stock shorebird-patch macOS step (the stale
  #143 one) with a script-driven patch, guarded by build_mac (off by default,
  needs a one-time local register-baseline first).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-24 12:06:36 +02:00
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
Jonas Bark
a0ed98e5f0 Windows direct download option 2026-03-08 16:51:24 +01:00
copilot-swe-agent[bot]
a3f4d2d339 Refactor: reuse get_latest_changelog.sh output
- Removed duplicate awk logic from generate_release_body.sh
- Now calls get_latest_changelog.sh for changelog content
- Simplified script by removing unused variables
- Adds version header separately for GitHub releases

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-09 07:21:17 +00:00
copilot-swe-agent[bot]
fbcdd58115 Add changelog to GitHub release body
- Created generate_release_body.sh script to combine changelog with store links
- Updated build.yml workflow to use new release body
- Updated patch.yml workflow to use new release body
- Release body now includes latest changelog entry followed by store download links

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-09 07:12:43 +00:00
Jonas Bark
dcedb5fe04 windows store preparation 2025-10-20 11:29:18 +02:00
Jonas Bark
a8b2ae47d0 fix a few issues in button customization screen 2025-10-12 10:16:36 +02:00
Jonas Bark
9abd9e2f64 github actions change 2025-10-10 21:28:13 +02:00
Jonas Bark
277f4f42e3 cleanup 2025-09-30 09:00:30 +02:00
copilot-swe-agent[bot]
77bfdc7b2c Implement changelog integration features
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:41:46 +00:00