Skip to content

Feature/admin 501c3 verification#617

Merged
aunali8812 merged 4 commits intostagingfrom
feature/admin-501c3-verification
Apr 7, 2026
Merged

Feature/admin 501c3 verification#617
aunali8812 merged 4 commits intostagingfrom
feature/admin-501c3-verification

Conversation

@aunali8812
Copy link
Copy Markdown
Collaborator

@aunali8812 aunali8812 commented Apr 7, 2026

Summary by CodeRabbit

New Features

  • Enhanced organization verification to check the official 501(c)(3) Verified Organizations Registry. Approved organizations confirmed on the registry are now marked as "Fully verified" with distinct badge displays and IRS fields visible on profiles. Organizations approved but not yet on the registry maintain their existing status.

@aunali8812 aunali8812 requested a review from Ebube111 as a code owner April 7, 2026 16:14
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

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

Project Deployment Actions Updated (UTC)
potlock-next-app Ready Ready Preview, Comment Apr 7, 2026 4:16pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 7, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1f4f06dc-1a2f-453d-ba61-75d4bb8bdd21

📥 Commits

Reviewing files that changed from the base of the PR and between 33e391f and c1bba5a.

📒 Files selected for processing (3)
  • src/common/constants.ts
  • src/features/profile-configuration/components/org-verification-section.tsx
  • src/layout/profile/components/hero.tsx

Walkthrough

Added a constant for the 501(c)(3) verified list ID and integrated on-chain registry checks in two profile components. When organizations are approved and registered on the on-chain 501(c)(3) list, enhanced verification UI displays with updated badges and tooltips. Components query contract hooks to determine list registration status.

Changes

Cohort / File(s) Summary
Constants
src/common/constants.ts
Added exported constant VERIFIED_501C3_LIST_ID = 2 for on-chain registry reference.
Verification UI Components
src/features/profile-configuration/components/org-verification-section.tsx, src/layout/profile/components/hero.tsx
Integrated on-chain 501(c)(3) list registration checks via listsContractHooks.useRegistration. Org verification section now displays enhanced "Fully verified—on 501(c)(3) registry" UI when both approved and on list; removed rejected status badge. Profile hero updates badge icon/color and tooltip text conditionally based on list registration status.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • Ebube111

Poem

🐰 On-chain registries hop into view,
Where 501(c)(3)s get their verified due,
Badges now shimmer with on-chain delight,
Our non-profits verified—truly alright! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/admin-501c3-verification

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@aunali8812 aunali8812 merged commit 02b2881 into staging Apr 7, 2026
3 of 4 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Apr 7, 2026
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