rwadurian/backend/services/contribution-service/src
hailin cfbf1b21f3 feat(dashboard): add detailed contribution breakdown by category
Backend (contribution-service):
- Add getDetailedContributionStats() to repository
- Add getUnallocatedByLevelTier/BonusTier() to repository
- Extend stats API with level/bonus breakdown by tier
- Add getTotalTrees() to synced-data repository

Backend (mining-admin-service):
- Add detailed contribution stats calculation
- Calculate theoretical vs actual values per category
- Return level/bonus breakdown with unlocked/pending amounts

Frontend (mining-admin-web):
- Add ContributionBreakdown component showing:
  - Personal (70%), Operation (12%), Province (1%), City (2%)
  - Level contribution (7.5%) by tier: 1-5, 6-10, 11-15
  - Bonus contribution (7.5%) by tier: T1, T2, T3
- Update DashboardStats type definition
- Integrate breakdown component into dashboard page

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 01:43:37 -08:00
..
api fix(contribution-service): calculate totalContribution correctly in CDC event 2026-01-14 23:40:50 -08:00
application feat(dashboard): add detailed contribution breakdown by category 2026-01-15 01:43:37 -08:00
domain fix(contribution): ensure 100% reliable CDC sync to mining-admin-service 2026-01-13 19:27:50 -08:00
infrastructure feat(dashboard): add detailed contribution breakdown by category 2026-01-15 01:43:37 -08:00
shared fix(contribution-service): 修复JWT验证与auth-service不兼容 2026-01-11 18:18:21 -08:00
app.module.ts feat(contribution-service): 添加算力管理微服务 2026-01-10 17:39:25 -08:00
main.ts fix(contribution-service): 统一使用api/v2前缀 2026-01-11 09:05:42 -08:00