Commit Graph

22 Commits

Author SHA1 Message Date
Jonas Bark
0d68e370e9 revert: put the Base version back below the monthly subscriptions
Reverts the reorder from 74bb2737; _buildPlansSection is byte-identical to
what it was before that commit again. The "Basis" rename of the comparison
column stays.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 08:59:44 +02:00
Jonas Bark
74bb2737ba fix: UI feedback round — remembered devices, Click V2 unlock, paywall, Pro dialog
- Remembered controllers offer a single "Forget" instead of two disconnect
  variants: there is no link to drop on a device that isn't here.
- Click V2: drop the unlock-mode dropdown and the new-unlock-method toggle.
  The explainer stays the one place the mode is chosen — it also does the
  follow-on work (un-ignoring the left puck, the right-side-only remap,
  cancelling the reset timer) that the bare dropdown never did. "Set up
  again" now sits on the right puck's card too.
- Paywall: the Base column reads "Basis"/"Base" rather than "VOLL"/"FULL",
  and the one-time Base card moves above the Pro plans so top-to-bottom
  matches the comparison table's left-to-right.
- A remembered controller's own settings page shows its button mapping
  again. The gate counted live controllers only and KeymapExplanation
  looked its filterDevice up in the live list, so the page fell through to
  a warning about connection methods, which had nothing to do with it.
- showGoProDialog takes a feature name for its title, so the keymap sync
  cloud icon says what it does instead of only "Pro Feature".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 07:50:34 +02:00
Jonas Bark
44f8be9ad5 feat(paywall,l10n): shrink Base card, translate onboarding into de/es/fr/it/pl
The Base-version row on the mobile paywall dominated the plan cards it sits
under; tighten its padding, radius and type scale and give the radio a small
16px variant so it reads as the secondary option it is.

Translate the 182 onboarding/paywall keys added on this branch into all five
non-English locales, and refresh the four strings whose English wording
changed (billing lines, SRAM setup copy).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 08:39:59 +02:00
Jonas Bark
419d23d74f fix(paywall): stop stretching plan cards against an unbounded height
The plan Row sits in a Column inside the sheet's scroll view, so its cross
axis is unbounded — CrossAxisAlignment.stretch then hands each card an
infinite height and layout dies mid-frame ('BoxConstraints forces an
infinite height', then the drawer paints un-laid-out boxes as 'RenderBox
was not laid out'). IntrinsicHeight bounds the row to its tallest card so
stretch can still equalise them.

Also reverts SelectableCard's Stack to the default loose fit: passing
constraints through risked the same unbounded-height crash in every
scrolling drawer that uses it, and the onboarding grid it was added for
now has its own tile widget. A test renders both inside a scroll view.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 08:17:09 +02:00
Jonas Bark
ddf220807a fix(paywall): lighter plan titles, smaller price, drop the redundant monthly line
Titles go w800 -> w600 and the price line 19 -> 17, so the cards read as
options rather than headlines. The monthly card's 'Billed at 2,99 €/mo.'
repeated its own price line and is gone; the plan row now stretches both
cards to one height so dropping it doesn't leave a ragged edge (the card
Stack passes the row's constraints through). Base card padding 12 -> 7.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 08:08:01 +02:00
Jonas Bark
7660e5fa47 fix(paywall): currency symbol instead of ISO code, smaller radio, lighter Base card
NumberFormat.currency(name:) prints 'EUR 2,08' — the per-month figure now
takes its symbol from the store's own formatted price (falling back to
simpleCurrency), extracted as testable paywallFormatPrice. The selection
radio was 28px on cards that are 17px-titled; it's 20px now. The Base
card's title drops from w800 to w500 so it reads as the quiet option.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 08:00:45 +02:00
Jonas Bark
063a3f4055 fix(paywall): one-line plan titles and legal links, per-month price first, quieter Base card
- Plan titles and prices shrink to fit rather than wrapping, so German
  'Monatlich' stays on one line.
- The per-month figure now leads each card with 'Billed at …/yr.' beneath
  it, matching the design; the monthly card's price line was blank
  whenever its store product resolved.
- Terms of Use / Privacy Policy sit on one line at any width.
- The one-time Base card is white with a hairline border, so it reads as
  the quieter option next to the Pro plans.
- Windows/Stripe fallback strings shortened to fit those single lines.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 07:52:22 +02:00
Jonas Bark
0ce4e9d6dd fix(paywall): mobile layout — icon, tighter type, padded value columns, side-by-side plans
- The BikeControl icon heads the sheet.
- Comparison table type scaled down (labels 16→13.5, header 18→14, values
  14→12, marks 28→22) so a phone shows the table without shouting.
- The Full/Pro value columns ran flush to the sheet edge, so long values
  like 'Unbegrenzt' touched it — they're now padded and slightly narrower.
- Yearly is always the preselected plan, and Yearly/Monthly stay side by
  side on narrow phones instead of stacking (they're a comparison).
- Terms of Use | Privacy Policy overflowed: smaller, underlined, wrapping.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 07:42:22 +02:00
Jonas Bark
45b214b095 feat(iap): show the in-app paywall on iOS and Android too, with real store prices
Riders see the Flutter paywall on every platform now — RevenueCat's hosted
sheet is only a fallback when an offering has no matching package. Its
price loader was gated to macOS, so mobile would have shown the hardcoded
'About 2.25 $/mo' placeholders; it now fetches offerings wherever
RevenueCat is in use (the Windows Stripe build keeps the fallback, having
no offerings to read). Purchases still go straight to the store via the
paywall's own buttons (fromPaywall: true).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 07:32:32 +02:00
Jonas Bark
843f798537 cleanup 2026-06-18 16:30:01 +02:00
Jonas Bark
30a1dd3f5d changelog, paywall adjustment 2026-05-13 11:56:12 +02:00
Jonas Bark
f9d72a19c5 feedback AR 2026-03-18 07:38:05 +01:00
Jonas Bark
5af7931c55 add terms of use + privacy links 2026-03-12 13:58:02 +01:00
Jonas Bark
41546e1519 fix theme 2026-03-07 08:43:02 +01:00
Jonas Bark
ed562accd2 paywall translation 2026-03-06 11:44:52 +01:00
Jonas Bark
caeae84d51 free month paywall 2026-03-02 19:05:01 +01:00
Jonas Bark
c16e5f9cbd ui adjustments 2026-02-27 12:42:33 +01:00
Jonas Bark
865c37b328 UI adjustments 2026-02-27 12:33:18 +01:00
Jonas Bark
a4d30ebd0d use prices from revenuecat 2026-02-26 09:25:20 +01:00
Jonas Bark
bfeb29fcda ui fixes 2026-02-25 23:29:15 +01:00
Jonas Bark
43420e1e63 paywall for macOS + Windows 2026-02-25 23:19:38 +01:00
Jonas Bark
dd24cd9d97 paywall #1 2026-02-25 22:25:25 +01:00