Simpl-Resultat/src/shared
le king fu 2362117cb5 test: pin the UTM label of each product page button (#525)
purchaseUrl.test.ts: per language, new URL(...) keeps exactly the origin and
the path of the contract; the query holds the four keys and no other, in
their order; utm_content is the label for each of the four; the exact address
is pinned; the language fallbacks stay. A free string, or no label, does not
compile (@ts-expect-error, checked by tsc in npm run build).

UpsellCtas.render.test.tsx: both buttons open the URL with its query
(update-locked for PurchaseButton, update-locked-download for
DownloadLatestButton), PurchaseButton opens the label its caller gives, and
UpsellGate passes locked-module. PurchaseButton takes only its two labels and
DownloadLatestButton none (tsc).

New wiring tests under the shared hook harness: ErrorPage opens the buttons by
a click on the update check (invoke mocked, check_entitlement false), then
renders again; UpdateCard in the notEntitled state; LicenseCard's body, read
from the element the card returns, opens license-card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:57:24 -05:00
..
constants feat(gating): gate routes and Sidebar for budget, advanced reports, balance 2026-07-20 22:12:51 -04:00
types feat(onboarding): visit steps, eight rows, "Got it" and one-time initialization 2026-10-13 21:32:20 -04:00
entitlements.ts docs(release): name what the step-0 commands cannot see (#466) 2026-10-24 23:42:19 -04:00
licenseExpiry.test.ts fix(license): name key-entry errors, keep the edition off the activation token, flag revoked keys 2026-09-29 21:39:01 -04:00
licenseExpiry.ts fix(license): name key-entry errors, keep the edition off the activation token, flag revoked keys 2026-09-29 21:39:01 -04:00
profileGate.test.ts feat(gating): multi-profile gate (Base+), non-destructive 2026-07-20 22:24:23 -04:00
profileGate.ts feat(gating): multi-profile gate (Base+), non-destructive 2026-07-20 22:24:23 -04:00
purchaseUrl.test.ts test: pin the UTM label of each product page button (#525) 2026-11-02 21:57:24 -05:00
purchaseUrl.ts feat: label the product page links with a fixed UTM per button (#525) 2026-11-02 21:57:15 -05:00
splitGate.test.ts feat(gating): reserve transaction splits for the Base edition 2026-10-16 20:02:47 -04:00
splitGate.ts refactor(gating): one constant for the split's feature key 2026-10-17 07:36:33 -04:00
upsellCta.test.ts feat(upsell): activate "Get Base", honest Premium note, purchase path in Free, Account card text 2026-09-27 15:50:45 -04:00
upsellCta.ts fix(upsell): apply the review of #362 2026-09-27 20:47:04 -04:00