Skip to content

Give v2.1 polish: Batched Sprint 5 P3 fixes, /me ambassador leaderboard toggle, and README Production sync #331

Closed

Description

@JOY

Goal

Clean up all non-blocking P3 items surfaced across the 8 independent PO flagship reviews of Give v2 (#313–#320), add post-end ambassador leaderboard visibility toggle on /me, and bring README.md up to date with Production (https://give.vn). App-only — zero DB migration required.

Scope

  1. Viral sharing (Viral sharing: Dynamic OG card, downloadable QR poster, and 'Tôi đã chung tay' thank-you card #313 P3s):
    • apps/web/src/lib/canvas-cards.ts: resolve computed Be Vietnam Pro font family from getComputedStyle(document.body).fontFamily (fallback SANS_FONT) at draw time so client PNG exports render with self-hosted Be Vietnam Pro across browsers.
    • apps/web/src/app/campaigns/[slug]/opengraph-image.tsx: return Cache-Control: no-store when totals === null on live/ended campaigns so CDN never caches transient 0 ₫ fallback figures.
  2. Transparency moat (Trust moat: 3-second transparency summary, milestone-linked disbursement evidence, and closing impact report #314 P3s):
    • TransparencySummaryBox.tsx, ClosingImpactReport.tsx, MilestoneList.tsx, ImpactReportSection.tsx: bump non-Badge text-xs to text-sm (DESIGN.md §3), remove nested border border-border inside .card/<Panel> (DESIGN.md §1 Rule 2), align sm:p-5/gap-2.5 to sm:p-6/gap-3 (DESIGN.md §2.4).
    • me/campaigns/[id]/disbursements/actions.ts: context-specific GIVE_DISBURSEMENT_NOT_FOUND wording for linkDisbursementMilestone.
    • MilestoneList.test.ts: align test prop query param to ?filter=out.
  3. FAQ formatting (Creator productivity: Structured campaign FAQ and duplicate campaign draft #316 P3):
    • Consistent Vietnamese 4.000 formatting across errors.ts, validation.ts, and FaqSection.tsx.
  4. Early Bird UI polish (Back conversion: Early Bird reward tiers (time-limited & slot-capped) #317 P3s):
    • PledgeForm.tsx: change "Mức hiện tại của bạn" badge inside disabled bg-surface card from tone="info" to tone="brand" for readable contrast.
    • pledge/page.tsx: gate the second reassurance sentence mentioning cancel/switch on accepting.
    • pledge/actions.test.ts: add fast-fail expired-tier regression assertion for change_pledge (savePledge(CAMPAIGN, PLEDGE, ...)).
  5. Discovery 2.0 defense-in-depth (Discovery 2.0: Almost funded, ending soon, recently audited filters & curated collections #318 P3):
    • CampaignCard.tsx: gate validLastStatementAt on isPublicStatus(campaign.status).
  6. Ambassadors (Peer-to-peer viral: Ambassador referral links (?ref=) and opt-in campaign leaderboard #319 P3s):
    • ambassador-actions.ts: natural override for GIVE_CAMPAIGN_NOT_ACCEPTING.
    • MyAmbassadorLinksSection.tsx + /me server action: allow signed-in users to toggle show_on_leaderboard directly on /me (including on ended campaigns) via existing give.upsert_my_campaign_ambassador under dbAs(session.accessToken) (zero dbService()).
  7. Donor wishes wall (Community emotion: Moderated donor wishes wall and heart reactions #320 P3s):
    • admin/reports/wishes/page.tsx: align Callout wording to “Xác nhận ẩn & chốt báo cáo” and show truncation note when totalCount > reports.length.
    • WishHeartButton.tsx: remove redundant inner sr-only span since <button> already has aria-label.
  8. README.md Production sync:
    • Update ## Status and ## Routes to accurately reflect live Production (https://give.vn), Beta (https://beta.give.vn), and all Give v1/v2 routes and crons.

Acceptance Criteria

  • All Vitest tests, pnpm format:check, pnpm lint, pnpm typecheck, pnpm build, and required CI green.
  • Zero DB schema changes and zero money-flow regressions.
  • Independent fresh-context review + PO flagship review PASS.

Activity

  1. added
    po:agyOwned by Antigravity PO (mutual-exclusion parallel PO label)
    on Nov 23, 2026
  2. JOY commented on Nov 23, 2026

    @JOY
    ContributorAuthor

    claim: executor=Antigravity session=60a2abfb-71e5-4bf6-8cbd-ea39d9d6d4b0 scope="Give v2.1 polish: Sprint 5 P3 fixes, /me ambassador leaderboard toggle, README Production sync" branch=antigravity/give-331-v2-1-polish target=2026-11-23

  3. JOY commented on Nov 23, 2026

    @JOY
    ContributorAuthor

    checkpoint: session=60a2abfb-71e5-4bf6-8cbd-ea39d9d6d4b0 — opened PR #332 (#332) at 61f2c9c targeting dev. Local format:check, lint, typecheck, 212 files / 2,900 Vitest tests, pnpm build, and fresh-context independent review all PASS. Watching required CI checks before reporting to PO.

  4. JOY commented on Nov 23, 2026

    @JOY
    ContributorAuthor

    checkpoint: session=60a2abfb-71e5-4bf6-8cbd-ea39d9d6d4b0 — squash-merged PR #332 (#332) into dev at 16a8357 (remote branch deleted). Vercel Beta (beta.give.vn) deployment status is success (https://vercel.com/metados/give/J5Fk6wJBnWupAVJCaKSAYfVm5giM). Issue stays open pending Production promotion.

  5. JOY commented on Nov 23, 2026

    @JOY
    ContributorAuthor

    handoff: session=60a2abfb-71e5-4bf6-8cbd-ea39d9d6d4b0 to=83b36fa6-8c08-49d6-aeec-63bab02a5e52

    Done: Implemented all 8 Give v2.1 polish items (app-only, zero DB migration, zero money-logic changes) in PR #332 (#332), squash-merged into dev at 16a835729141b304fe752ff69bacaecce438fa98 (remote branch deleted), isolated worktree /Users/JOY/Projects/Give-worktrees/give-331-v2-1-polish and local branch antigravity/give-331-v2-1-polish cleaned up.
    Evidence: Local pnpm format:check, pnpm lint, pnpm typecheck, pnpm test (212 files / 2,900 tests), and pnpm build PASS; fresh-context independent review PASS; PO flagship review APPROVE; required CI checks (Verify build / Build all apps, Verify build / Lint) PASS; Vercel Beta (beta.give.vn) deployment status success (https://vercel.com/metados/give/J5Fk6wJBnWupAVJCaKSAYfVm5giM).
    Remaining: Production promotion (dev -> main -> https://give.vn) and closing #331 after Production verification.
    Next step: PO coordinates Production promotion of dev (16a835729141b304fe752ff69bacaecce438fa98) to main once approved by JOY.
    Blockers: none.
    Branch: dev at 16a835729141b304fe752ff69bacaecce438fa98 (antigravity/give-331-v2-1-polish merged & deleted).

  6. JOY commented on Nov 23, 2026

    @JOY
    ContributorAuthor

    claim: session=83b36fa6-8c08-49d6-aeec-63bab02a5e52 agent=antigravity worktree=none branch=dev status=waiting
    checkpoint: App-only PR #332 (commit 16a8357) is merged on dev and verified green on Vercel Beta (https://beta.give.vn), with 2,900 passing tests and independent PO flagship review APPROVE. Keeping #331 open under PO waiting claim pending owner approval for Production promotion (DOS/Give dev -> main, zero DB migration needed).

  7. added a commit that references this issue on Nov 23, 2026
  8. JOY commented on Nov 23, 2026

    @JOY
    ContributorAuthor

    done: session=83b36fa6-8c08-49d6-aeec-63bab02a5e52 agent=antigravity
    Promoted to Production (2026-11-23):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    line:campaignsProduct line: campaignspo:agyOwned by Antigravity PO (mutual-exclusion parallel PO label)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions