Update donation success screen with translations and improved functionality

Add Arabic and English translations for the donation success screen, including receipt and reference numbers. Implement client-side generation of these numbers with copy-to-clipboard functionality. Update memory data with testing notes regarding donation cases.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1fa9329f-0cec-4a2f-80e8-e26dbae3142e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: a89849bc-f826-44f3-8055-c4618b5fd918
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/4d696b13-86f2-4c9d-be0d-95b293430047/1fa9329f-0cec-4a2f-80e8-e26dbae3142e/4KPAtBh
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
Replit Agent
2026-06-06 09:20:10 +00:00
parent f1e44084f3
commit 8aecc02cbe
4 changed files with 154 additions and 21 deletions
+9
View File
@@ -12,3 +12,12 @@ re-seed clean demo data.
**How to apply:** after running curl-based API tests that mutate state, restart the
api-server workflow before screenshots/handoff so the user sees a clean seeded demo.
## Donate e2e: use OPEN cases only
Seed cases req-001..req-006 are already in later pipeline stages (fully funded,
remaining 0). The donate page clamps any donation to the case's remaining target, so
on those cases the amount silently becomes 0 and the donate POST returns 400 — you
never reach the success screen. For donation/success-screen e2e, use a `published`
case with remaining > 0 (e.g. req-007, req-012..req-017).
**Why:** cost 3 failed test runs chasing a non-bug. The clamp + funded-seed
interaction is not obvious from the UI alone.