Skip to content

feat(badges): ENS campaign badge art — It's My Name - #2623

Draft
0xkkonrad wants to merge 1 commit into
codex/badge-platform-uifrom
feat/ens-badge
Draft

feat(badges): ENS campaign badge art — It's My Name#2623
0xkkonrad wants to merge 1 commit into
codex/badge-platform-uifrom
feat/ens-badge

Conversation

@0xkkonrad

@0xkkonrad 0xkkonrad commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Art half of the ENS campaign badge (Notion TASK-20054): public/badges/ens.svg (the ENS mark as the house-style sticker character, generated via badges-recraft and picked in the badge-draft matrix) + the BADGE_ASSET_FALLBACKS entry. The api half (https://github.com/peanutprotocol/peanut-api-ts/pull/1297, stacked on https://github.com/peanutprotocol/peanut-api-ts/pull/1282) registers the catalog entry that resolves this path by convention.

Task

Notion TASK-20054 (Plan ENS campaign).

Risks / breaking changes

None — one asset + one fallback-map line. Nothing user-visible changes until the badge is granted.

QA

  • typecheck, prettier, full unit suite green (190 suites / 2485 tests)
  • api-side pnpm badge:check with BADGE_UI_ROOT pointed at this branch: 49 UI assets ✅

Screenshots: N/A beyond the asset itself — GitHub renders the new SVG in the Files tab; no current surface changes until a grant path goes live.

Summary by CodeRabbit

  • Bug Fixes
    • Added a fallback asset for ENS badges to ensure they display correctly when the primary badge image is unavailable.

The ENS campaign badge (code ENS, catalog entry in the api half). Art
follows the /badges/ens.svg convention the catalog resolves by default;
the fallback map entry keeps it rendering for legacy catalog responses.
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
peanut-wallet Ready Ready Preview Aug 6, 2026 9:38am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e82f75b4-03ca-4a1d-a399-3dda13d3a787

📥 Commits

Reviewing files that changed from the base of the PR and between f028728 and 2ee0805.

⛔ Files ignored due to path filters (1)
  • public/badges/ens.svg is excluded by !**/*.svg, !**/*.svg
📒 Files selected for processing (1)
  • src/components/Badges/badge.utils.ts

📝 Walkthrough

Walkthrough

The badge fallback configuration now maps the ENS badge to /badges/ens.svg.

Changes

Badge asset mapping

Layer / File(s) Summary
Add ENS asset fallback
src/components/Badges/badge.utils.ts
BADGE_ASSET_FALLBACKS now includes the ENS badge mapped to /badges/ens.svg.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested labels: enhancement

Suggested reviewers: hugo0

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the ENS campaign badge art change, which matches the pull request objectives and modified badge fallback.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/ens-badge

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.

@0xkkonrad

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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