Skip to content

Thank D2 donors with a live HCB donor page - #326

Merged
alixander merged 2 commits into
masterfrom
agent/donor-page-preview
Sep 9, 2026
Merged

Thank D2 donors with a live HCB donor page#326
alixander merged 2 commits into
masterfrom
agent/donor-page-preview

Conversation

@alixander

Copy link
Copy Markdown
Contributor

Human


AI

Adds a Donors page under Sponsor D2 that loads donations from HCB's public API when opened, so new donations appear without a website source update. The page thanks donors by date, name, amount, and donation type, with donation and fund-usage buttons above the list and styling shared with the existing site.

Anonymous donors remain anonymous. Requests omit credentials, follow pagination, exclude pending/failed/refunded donations, and offer a retry plus a link to HCB if loading fails. The Sponsor page also links to the donor list.

Validation: production build passed in an isolated checkout; six local data-helper tests passed for anonymity, status filtering, pagination, deduplication, malformed responses, and empty results. Checked desktop and mobile layouts and confirmed HCB permits browser requests from d2lang.com.

@alixander
alixander merged commit 6a8db79 into master Sep 9, 2026
12 checks passed
@alixander
alixander deleted the agent/donor-page-preview branch September 9, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant