P1: path routing, prerender shells, E2E, and HelmetProvider donate fix.

Replace hash URLs with path-based routing, post-build prerender for money pages, Playwright smoke tests, and wrap the app in HelmetProvider so /donate mounts correctly.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
defiQUG
2026-06-16 11:11:20 -07:00
co-authored by Cursor
parent 6c0de165d3
commit 4e4df13ab1
33 changed files with 2545 additions and 2324 deletions
File diff suppressed because one or more lines are too long
@@ -6,9 +6,9 @@
"performance": 72,
"accessibility": 100,
"best-practices": 100,
"seo": 100
"seo": 92
},
"lcpMs": 2558,
"lcpMs": 2557,
"accessibilityFailingAudits": [],
"reportPath": "/home/intlc/projects/miracles_in_motion/reports/status/lighthouse-site-a11y-latest.json"
}
@@ -4,26 +4,30 @@
"subject": "mim4u.org — world-class AAA+ readiness (honest composite)",
"disclaimer": "Composite against external world-class bar (CWV, real conversion, SSR/SEO, security, ops) — not the narrow internal remediation rubrics used for header/motion tickets.",
"p0SprintStatus": {
"label": "P0 parallel sprint — deployed 2026-06-16",
"label": "P0 + P1 routing/E2E — deployed 2026-06-16",
"deployed": true,
"itemsComplete": [
"mim-api VMID 7811 — health, assistance, contact, Stripe checkout + donor receipt email on webhook",
"Donate StripeDonatePanel; mock fail-closed; assistance + contact forms → API + FormSuccess",
"Static LCP shell + idle-deferred React mount; i18n en-only initial bundle; trimmed PWA precache",
"perf:gate P0 (≥72 perf, LCP ≤2600ms); perf:gate:world-class (≥85, LCP ≤2500) for P1",
"perf:gate P0 (≥72 perf, LCP ≤2600ms) — passing post-deploy",
"Path-based routing + hash migration; prerender shells for donate/assistance/about",
"Playwright E2E 6/6 (public routes, forms, API health)",
"HelmetProvider fix — /donate SPA mount",
"sync-mim-api-env-7811.sh operator path for Stripe/SMTP secrets",
"nginx CSP Stripe domains; smoke /api/health"
"nginx CSP Stripe domains; smoke /api/health + path routes"
],
"itemsOpen": [
"Operator: set STRIPE_SECRET_KEY + VITE_STRIPE_PUBLISHABLE_KEY (sync-mim-api-env-7811.sh)",
"World-class perf ≥85 requires P1 prerender/SSR (current lab 7273)",
"Playwright E2E donate + assistance (P1)"
"World-class perf ≥85 (perf:gate:world-class) — lab 72, SEO 92",
"CSP/HSTS on LAN direct IP (NPM/Cloudflare on public)",
"Further App.tsx route extraction; portal auth on 7811"
]
},
"composite": {
"score": 71,
"letterGrade": "C-",
"tier": "P0 conversion + API live; CWV materially improved (LCP ~2.56s); world-class perf bar still P1",
"score": 74,
"letterGrade": "C",
"tier": "P0+P1 routing/E2E live; CWV P0 gate passing; world-class perf bar still open",
"productionUrl": "https://mim4u.org/",
"targetTier": "AAA+ (97+ composite, all pillars ≥90, no P0 blockers)"
},
@@ -31,16 +35,18 @@
"lighthouse": "reports/status/mim4u-site-lighthouse-latest.json",
"lighthousePerformance": 72,
"lighthouseAccessibility": 100,
"lcpMsLab": 2558,
"lighthouseSeo": 92,
"lcpMsLab": 2557,
"cwvTargets": { "lcpMs": 2500, "cls": 0.1, "inpMs": 200 },
"mainBundleGzipKb": 33,
"e2eTestsPassing": 6,
"mainBundleGzipKb": 31,
"motionChunkGzipKb": 37,
"apiHealth": "https://mim4u.org/api/health — ok, stripe:false until operator keys"
},
"internalGradesVsReality": {
"headerLogoRemediation": { "score": 99, "scope": "Nav SVG, WCAG header tokens only" },
"visualEffectsRemediation": { "score": 94, "scope": "Motion debt reduction only" },
"worldClassComposite": { "score": 71, "scope": "Full product vs external bar" }
"worldClassComposite": { "score": 74, "scope": "Full product vs external bar" }
},
"residualGaps": "Stripe operator keys + P1 prerender for perf≥85 — see p0SprintStatus.itemsOpen"
"residualGaps": "Stripe operator keys + perf≥85 + SEO 100 — see p0SprintStatus.itemsOpen"
}