Skip to content

ui: rename Beneficiary to User in frontend#8

Merged
PierreBesson merged 1 commit into
mainfrom
rename-to-user
May 9, 2026
Merged

ui: rename Beneficiary to User in frontend#8
PierreBesson merged 1 commit into
mainfrom
rename-to-user

Conversation

@PierreBesson

@PierreBesson PierreBesson commented May 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Replaced "Beneficiary" with "User" across the frontend (UI labels, internal types/components, badge text, error/success messages, and the CSV download filename).
  • Smart contracts and the on-chain ABI are unchanged: contract function names (setBeneficiaries, addBeneficiaries, removeBeneficiaries) and decoded struct fields (dist.beneficiaries, dist.beneficiaryCount) are kept verbatim where the wire format requires it.

Test plan

  • yarn next:check-types passes
  • /program/[address]: verify the Distribution section shows "Users (n)", and the Add / Remove / Replace All flows still write correctly to the contract
  • CSV upload/download: filename downloads as users.csv; success/error notifications use "user(s)"
  • Role badge on /programs and home shows "User" instead of "Beneficiary"

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chain-giving-nextjs Ready Ready Preview, Comment May 9, 2026 9:12pm

@PierreBesson PierreBesson merged commit e54c10a into main May 9, 2026
3 checks passed
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