From e0e7da5cca2f1cef2b786650173096c3273488fa Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Sat, 23 May 2026 15:14:33 +0100 Subject: [PATCH] feat(contribution): port accept-invite.vue to ContributionAmountField Replace cadence radios, contribution input, preset chips, guidance label, and billing summary block with a single ContributionAmountField usage. Default contribution updated to 180 to preserve the previous $15/mo suggested annual default (cadence-unit value now). Updated flowSummary to format cadence-unit directly. Updated e2e selectors to use the data-testids the component exposes and new summary copy. --- app/pages/accept-invite.vue | 182 +++--------------------------------- e2e/accept-invite.spec.js | 28 +++--- 2 files changed, 29 insertions(+), 181 deletions(-) diff --git a/app/pages/accept-invite.vue b/app/pages/accept-invite.vue index 0a28074..7f88eb3 100644 --- a/app/pages/accept-invite.vue +++ b/app/pages/accept-invite.vue @@ -124,77 +124,13 @@
- -
-
- - -
-
- - -
-
-
- -
- -
- $ - -
-
- -
-

{{ guidanceLabel }}

+

Pay what you can. If you can pay more, you're making room for someone who can't.

-
-
-

- You'll be charged ${{ firstCharge }} today (${{ form.contributionAmount }}/month × 12). -

-

- Then ${{ firstCharge }} every {{ cadence === 'annual' ? 'year' : 'month' }}, until you cancel. -

-
-
-