Skip to content

feat(buy): hint savings plan can be set up recurring and multiple times#686

Open
TaprootFreak wants to merge 2 commits into
stagingfrom
feature/autoinvest-recurring-hints
Open

feat(buy): hint savings plan can be set up recurring and multiple times#686
TaprootFreak wants to merge 2 commits into
stagingfrom
feature/autoinvest-recurring-hints

Conversation

@TaprootFreak
Copy link
Copy Markdown
Contributor

Context

Part of #666 (RealUnit Phase 2), Baustein 4: Autoinvest / Sparplan. Closes #685.

The autoinvest/savings-plan feature is functionally complete. This PR adds the remaining frontend hint: telling the user that the RealUnit purchase can be set up recurring (a bank standing order / Dauerauftrag) and multiple times (several plans in parallel).

What changed

  • Hint placement: lib/screens/buy/widgets/payment_information_details.dart — on the buy payment-information screen (the screen that shows the IBAN/BIC for the bank transfer). The hint is rendered directly below the existing payment-information description, reusing the same info-row layout (Icons.autorenew in RealUnitColors.realUnitBlue, Theme.textTheme.bodyMedium, spacing: 12).
  • Copy — new key buyRecurringPaymentHint in both strings_de.arb and strings_en.arb (alphabetically placed):
    • EN: "Tip: set up a recurring bank standing order with these details to invest regularly. You can also create several plans in parallel with different amounts or intervals."
    • DE: "Tipp: Richten Sie mit diesen Angaben einen wiederkehrenden Dauerauftrag bei Ihrer Bank ein, um regelmässig zu investieren. Sie können auch mehrere Sparpläne parallel mit unterschiedlichen Beträgen oder Intervallen anlegen."
  • Tests: test/screens/buy/widgets/payment_information_details_test.dart asserts the hint text and the autorenew icon (colour + size) render. Existing payment_information_test.dart unchanged and green.
  • Goldens: the existing buy_payment_info_loaded baseline changes (the new hint row). Regenerated via golden-regenerate.yaml on this branch (dfx01). No new handbook page — this is a changed existing page, so only its existing baseline is refreshed; no scripts/assemble-handbook-screenshots.sh row change needed.

Scope notes

  • No new backend logic / no new recurring-buy mechanism (already functional).
  • No cubit/service touched → scoped coverage floor unaffected (verified locally at 100% of the README-scoped surface).

Local gates

  • flutter analyze → No issues found
  • flutter test --coverage --exclude-tags golden → 2307 passed; scoped lines 4874/4874 = 100%
  • dart format --page-width=100 on touched files → clean

TaprootFreak and others added 2 commits June 4, 2026 09:51
…tiple times

Add an info hint on the buy payment-information screen telling users they
can set up the bank transfer as a recurring standing order (Sparplan) and
create several plans in parallel. The autoinvest/savings-plan feature is
functionally complete; this only surfaces the multiple/recurring capability
to the user.

Add buyRecurringPaymentHint to strings_de.arb and strings_en.arb, render it
below the existing payment-information description using the same info-row
pattern (Icons.autorenew, RealUnitColors.realUnitBlue, bodyMedium), and add
widget tests asserting the hint text and icon render.

Refs #685, #666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant