Repository navigation
Conversation
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedToo many files! This PR contains 132 files, which is 32 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. CodeRabbit couldn't verify your organization's usage billing state, so no usage-priced review was started. Retry after the billing service recovers.
|
|
PO acceptance: merge at 871a5c6 JOY approved Step 2 Production promotion (dev -> main) for Give v2 / Sprint 5 (#313-#320).
|
Production Promotion — Give v2 / Sprint 5 (2026-11-23)
Owner-approved Production promotion (
promotion_po: any, JOY popup approval on 2026-11-23 01:03+07:00).Prerequisite Step 1 — Production DB (
DOS/DOS.Memain) VERIFIED GREENDOS/DOS.Me#1890(selective-promotion, true merge commit66da2c4a4a85ecf516c1483b991c01f428d6d30d)gulptwduchsjcsbndmua):Supabase Preview— COMPLETED / SUCCESS (2026-11-22T18:37:01Z)20261202150000_give_sprint5_consolidated_late_apply.sql,DOS/DOS.Me#1889dbb82263) atomically applied all 7 Sprint 5 Give migrations (#314–#320) abovemain20261202100000in exact dependency order:20261201110000_give_transparency_summary_and_impact_reports.sql(DOS/DOS.Me#1881, Refs#314)20261201120000_give_follows_prelaunch_and_donor_impact.sql(DOS/DOS.Me#1880, Refs#315)20261201160000_give_campaign_faqs_and_duplicate_draft.sql(DOS/DOS.Me#1882, Refs#316)20261202110000_give_early_bird_reward_tiers.sql(DOS/DOS.Me#1885, Refs#317)20261202120000_give_discovery_v2_filters.sql(DOS/DOS.Me#1886, Refs#318)20261202130000_give_campaign_ambassadors.sql(DOS/DOS.Me#1887, Refs#319)20261202140000_give_donor_wishes_and_hearts.sql(DOS/DOS.Me#1888, Refs#320)Included
DOS/GivedevCommits (9 commits ahead ofmain9493c5ea)4c1b736feat(viral): Dynamic OG card, downloadable QR poster, and thank-you card (#321, Refs#313)d194a8ffeat(web): 3-second transparency summary, milestone evidence timeline, and closing impact reports (#322, Refs#314)56274cffeat(web): campaign/organizer follows, pre-launch "Sắp ra mắt", and donor impact summary (#323, Refs#315)5ef3bb1feat(web): structured campaign FAQ and owner-only duplicate campaign draft (#324, Refs#316)522730dfeat(back): Early Bird reward tiers (#325, Refs#317)d71631cfeat(discovery): Discovery 2.0 filters & home highlight strips (#326, Refs#318)8fb20d3feat(ambassadors): peer-to-peer?ref=links, fail-open attribution & opt-in leaderboard (#327, Refs#319)9995e7efeat(wishes): moderated donor wishes wall, heart reactions &/admin/reports/wishes(#328, Refs#320)871a5c6docs(changelog): syncCHANGELOG.mdfor Sprint 5 / Give v2 (#329)Rollback Plan
9493c5ea4350d4de6a1317e19b63d489a8e63124if any post-deploy smoke check regresses; all 7 consolidated DB migrations are additive and backwards-compatible.--merge(true merge commit;devpreserved as parent 2, no back-merge needed).📌 TL;DR
This PR introduces a comprehensive suite of community engagement and transparency features, including a moderated donor wishes wall, peer-to-peer ambassador referral tracking, and enhanced campaign discovery filters. It also adds administrative moderation tools for reported content, viral sharing capabilities (QR posters/OG cards), and structured campaign FAQs.
🎯 Type of Change
🔍 Changes Walkthrough
CHANGELOG.mdapps/web/src/app/(public)/donations/[code]/page.tsxThankYouCardButtonlogic, passing donor display names and campaign status to enable shareable "I contributed" cards for public campaigns.apps/web/src/app/(public)/donations/[code]/page.test.tsawaiting_transfer, visible forreceived).apps/web/src/app/(public)/donations/actions.tsdonateaction to enforcelivecampaign status and pass sanitizedambassador_refto thecreate_donationRPC for referral attribution.apps/web/src/app/(public)/donations/actions.test.tsapps/web/src/app/admin/reports/wishes/page.tsxapps/web/src/app/admin/reports/wishes/actions.tsmoderateReportedWishthat callsmoderate_contribution_messageRPC with staff JWT, handling hide/restore/dismiss logic.apps/web/src/app/admin/reports/wishes/page.test.tsapps/web/src/app/admin/reports/wishes/actions.test.tsapps/web/src/app/admin/reports/page.tsx/admin/reports/wishespage.apps/web/src/app/admin/reports/comments/page.tsx/admin/reports/wishespage.apps/web/src/app/campaigns/[slug]/DonateForm.tsxambassador_refinput and displays a banner if the user arrived via an ambassador link. Updates message field label to "Lời chúc" (Wish).apps/web/src/app/campaigns/[slug]/DonorWishesWall.tsxapps/web/src/app/campaigns/[slug]/DonorWishesWall.test.ts📊 Architectural Flow
sequenceDiagram participant User as User (Browser) participant Web as Next.js App participant Supabase as Supabase (PostgREST) participant DB as PostgreSQL Note over User,Web: Donor Wishes & Ambassador Flow User->>Web: Visit /campaigns/[slug]?ref=CODE Web->>Supabase: get_my_campaign_ambassador(CODE) Supabase->>DB: SELECT from campaign_ambassadors DB-->>Supabase: Ambassador Data Supabase-->>Web: Ambassador Info Web-->>User: Render DonateForm with Ambassador Banner User->>Web: Submit Donation (with ambassador_ref) Web->>Web: sanitizeAmbassadorRef() Web->>Supabase: rpc: create_donation(p_ambassador_ref) Supabase->>DB: INSERT into contributions (with ref) DB-->>Supabase: Success Supabase-->>Web: Donation ID Web-->>User: Redirect to /donations/[code] Note over User,Web: Moderation Flow User->>Web: Report Wish on /campaigns/[slug] Web->>Supabase: rpc: report_contribution_message Supabase->>DB: INSERT into contribution_message_reports DB-->>Supabase: Success Supabase-->>Web: Success participant Admin as Admin (Staff) Admin->>Web: Visit /admin/reports/wishes Web->>Supabase: rpc: list_reported_contribution_messages Supabase->>DB: SELECT reported wishes DB-->>Supabase: Report List Supabase-->>Web: Report Data Web-->>Admin: Render Moderation Queue Admin->>Web: Hide/Restore Wish Web->>Supabase: rpc: moderate_contribution_message Supabase->>DB: UPDATE contributions (hide/restore) DB-->>Supabase: Success Supabase-->>Web: Success Web-->>Admin: Confirmation