Implement achievements milestone feature for awards with configurable levels (Silver, Gold, Platinum, etc.) that track progress beyond the base award target. Achievements display earned badges and progress bar toward next level. Backend: - Add calculateAchievementProgress() helper in awards.service.js - Include achievements field in getAllAwards() and getAwardById() - Add achievements validation in awards-admin.service.js - Update PUT endpoint validation schema to include achievements field Frontend: - Add achievements section to award detail page with gold badges - Add reactive achievement progress calculation that respects mode filter - Add achievements tab to admin create/edit pages with full CRUD Award Definitions: - Add achievements to DXCC (100/200/300/500) - Add achievements to DLD (50/100/200/300) - Add achievements to WAS (30/40/50) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
911 B
JSON
40 lines
911 B
JSON
{
|
|
"id": "dld",
|
|
"name": "DLD",
|
|
"description": "Deutschland Diplom - Confirm 100 unique DOKs on different bands/modes",
|
|
"caption": "Contact and confirm stations with 100 unique DOKs (DARC Ortsverband Kennung) on different band/mode combinations. Each unique DOK on a unique band/mode counts as one point. Only DCL-confirmed QSOs with valid DOK information count toward this award.",
|
|
"category": "darc",
|
|
"rules": {
|
|
"type": "dok",
|
|
"target": 100,
|
|
"confirmationType": "dcl",
|
|
"displayField": "darcDok",
|
|
"stations": []
|
|
},
|
|
"modeGroups": {
|
|
"Digi-Modes": [
|
|
"FT4",
|
|
"FT8",
|
|
"MFSK",
|
|
"PSK31",
|
|
"RTTY"
|
|
],
|
|
"Classic Digi-Modes": [
|
|
"PSK31",
|
|
"RTTY"
|
|
],
|
|
"Mixed-Mode w/o WSJT-Modes": [
|
|
"AM",
|
|
"CW",
|
|
"FM",
|
|
"PSK31",
|
|
"RTTY",
|
|
"SSB"
|
|
],
|
|
"Phone-Modes": [
|
|
"AM",
|
|
"FM",
|
|
"SSB"
|
|
]
|
|
}
|
|
} |