← Planning Hub

Quick TODOs

Small deferred items from conversations — one-liner each. Stuff that's not big enough for its own roadmap but worth tracking. The list lives in Claude memory at project_todos.md and is appended-to when you say "save for later."

Open

⏳
Security audit — medical forms + payment processing
Captured 2026-07-02. We store health/medical forms and process payments, so the site needs a proper security review: Firestore & Storage security rules (especially health forms and payment/ledger collections), Cloud Function auth checks, exposure of PII in client-readable documents, Stripe webhook validation, and access control on admin pages. Run /security-review plus a manual rules audit; document findings and fixes.
⏳
Intermittent content-load failures (e.g. Ledger)
Captured 2026-07-02. Randomly, a page loads its chrome but the content area never populates — known on the Ledger page (everything loads except the ledger rows). Suspects: an auth-state race (query firing before sign-in state resolves), a silently swallowed Firestore error, or a missing composite index surfacing intermittently. Investigate: add error surfacing to the ledger loader, check the browser console when it reproduces, and review onAuthStateChanged ordering on affected pages.
⏳
Planning Hub content is stale — needs a refresh pass
Captured 2026-07-02. The Planning Hub pages (Payments Rollout, Go-Live Checklist, Email Setup, User Flow, Ledger Reports, etc.) are way behind reality — multiple items shown as pending/in-progress have actually shipped. Walk each hub page against what's live, mark done items done, and update statuses/next-steps. The Planning Hub card was also removed from the main dashboard (2026-07-02) — it's reachable from Admin Tools instead.
⏳
Firebase Auth notification branding mismatch
Captured 2026-05-10. Phone OTP SMS body says gracetraillife.org. Email magic-link template says grace-trail-life (project ID). Both are configurable in Firebase Console.
Fix: Edit Authentication → Templates → Email link to use "Grace Trail Life" or "gracetraillife.org" instead of the raw project ID. Cosmetic only — doesn't affect functionality.

Resolved

✓
Safari sign-in failing with "Couldn't reach the sign-in server"
Captured + resolved 2026-05-13. Sign-in (both phone OTP and email magic-link) failed in regular Safari with auth/network-request-failed. Only worked in a Private Safari window with the email-link flow.
Root cause: Two-part. (1) authDomain in firebase-init.js was grace-trail-life.firebaseapp.com — a different site from gracetraillife.org. Safari's Intelligent Tracking Prevention blocks cross-site storage access, which broke Firebase Auth's persistence and iframe-based session sync. (2) Days of failed test attempts had accumulated stale Firebase Auth persistence keys in Safari's localStorage for gracetraillife.org; even after the code fix shipped, the SDK was still consulting the stale state and erroring out.
Fix: Changed authDomain to gracetraillife.org (Firebase Hosting auto-serves the auth handler/iframe at /__/auth/* on every custom domain). Bumped the ?v=N cache-buster on firebase-init.js from 2 → 3 across all 60+ importers so Safari's deep ES-module cache re-fetches. Resolving the persistence issue required clearing Safari → Settings → Privacy → Manage Website Data → gracetraillife.org once; not expected to recur for normal users since the stale state came from heavy testing across multiple config states.
Follow-up worth keeping: The "OTP rate-limit lockout has no help text" item on User Flow Improvements is still valid — it's a separate UX bug (Firebase silently rate-limiting after rapid SMS attempts, surfaced as a confusing error).
How to add to this list: Just tell Claude "save that for later" or "add to the TODO list" mid-conversation. Claude updates project_todos.md in memory; the next planning hub refresh picks it up. Each entry should be one-line context + the date saved.
Source: Claude memory project_todos.md