admin-badge
CommunityShow live counts of pending admin work in the sidebar.
Authorweiloon1234
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Admin badges provide a live, permission-filtered count of pending admin work items shown in the admin sidebar, ensuring admins see only relevant queues and act on items that require attention.
Core Features & Use Cases
- Live, debounced recomputation of badge counts triggered by watched-model mutations.
- Permission-filtered visibility and automatic UI updates via the shared admin:badges channel.
- Supports multiple admin work queues (e.g., top ups, KYC, unreviewed withdrawals) with consistent frontend wiring.
Quick Start
Define the badge in src/domain/badges/<snake_case_name>.rs, export the module, register it with the badge service provider, and attach its key to the admin sidebar menu item.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: admin-badge Download link: https://github.com/weiloon1234/Forge-Starter/archive/main.zip#admin-badge Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.