ghostguild-org/app/composables
Jennie Robinson Faber 8e76ce9366
Some checks failed
Test / vitest (push) Successful in 11m49s
Test / playwright (push) Failing after 9m43s
Test / visual (push) Failing after 9m24s
Test / Notify on failure (push) Successful in 2s
refactor(launch): collapse helcim-pay duplication and use setAuthCookie helper
Follow-up to 51230e5. /simplify review surfaced residual duplication
and a timer leak.

- useHelcimPay: extract _initializeTicket(metadata, errorPrefix) to
  collapse initializeTicketPayment + initializeSeriesTicketPayment
  (95% identical bodies). Drop the dead `amount` arg from initialize-
  TicketPayment — server re-derives ticket amounts in initialize-
  payment.post.js and never reads body.amount for ticket types.
  Capture timer ids and clearTimeout on resolve/reject so the 10-min
  payment timer and 5-second observer timer stop leaking after every
  payment.
- EventTicketPurchase: caller updated for the dropped arg.
- verify.post.js: replace inline jwt.sign + setCookie block with the
  setAuthCookie(event, member) helper. verify was the last hand-rolled
  caller after the helper was extracted in 208638e.
- LAUNCH_READINESS: add simplify-pass-followups bullet pointing to the
  six deferred items in docs/TODO.md.

Tests: 758 passing, 2 skipped, 0 failing.
2026-04-25 22:13:24 +01:00
..
useAuth.js Fix duplicate /api/auth/member call and add request deduplication 2026-03-19 15:04:04 +00:00
useBoardChannels.js refactor(board): atomic delete + query limit + composable cleanup 2026-04-15 12:47:53 +01:00
useBoardPosts.js refactor(board): atomic delete + query limit + composable cleanup 2026-04-15 12:47:53 +01:00
useCalendarSearch.js Many an update! 2025-12-01 15:26:42 +00:00
useEventDateUtils.js Many an update! 2025-12-01 15:26:42 +00:00
useHelcimPay.js refactor(launch): collapse helcim-pay duplication and use setAuthCookie helper 2026-04-25 22:13:24 +01:00
useLoginModal.js Many an update! 2025-12-01 15:26:42 +00:00
useMarkdown.js Implement OWASP ASVS L1 security remediation (Phases 0-2) 2026-03-01 12:53:18 +00:00
useMemberPayment.js feat(frontend): rename contributionTier → contributionAmount across remaining pages 2026-04-19 19:08:57 +01:00
useMemberStatus.js feat(member): pending_payment retains access, soften status copy 2026-04-18 17:06:22 +01:00
useOnboarding.js feat(member): account/profile polish + tier upgrade flow 2026-04-14 20:35:37 +01:00