Phase 24: pack reveal animation, daily check-in UI, club milestones panel
- mapper.rs: 3 new exact routes (daily objective GET/claim → /club/checkin, milestones GET → /club/milestones); bump exact routes assertion to ≥59 - dashboard: pack reveal animation (card-flip-in keyframe, unrevealed placeholder slots, Reveal Next / Reveal All buttons, one-at-a-time reveal); daily check-in panel at top of club tab (7-dot streak visualisation, claim button, next reward preview); club milestones grid (10 stats: wins, goals, best streak, seasons, highest division, packs, cards, SBCs, check-ins, level) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+18
-1
@@ -243,6 +243,23 @@ const EXACT: &[ExactRoute] = &[
|
||||
core_method: "GET", core_path: "/division/history",
|
||||
notes: "FUT division history → Core season history",
|
||||
},
|
||||
// ── Daily check-in ────────────────────────────────────────────────────────
|
||||
ExactRoute {
|
||||
ea_method: "GET", ea_path: "/ut/game/fut/dailyObjective",
|
||||
core_method: "GET", core_path: "/club/checkin",
|
||||
notes: "FUT daily objective status → Core check-in status",
|
||||
},
|
||||
ExactRoute {
|
||||
ea_method: "POST", ea_path: "/ut/game/fut/dailyObjective/claim",
|
||||
core_method: "POST", core_path: "/club/checkin",
|
||||
notes: "FUT daily objective claim → Core check-in claim",
|
||||
},
|
||||
// ── Club milestones ───────────────────────────────────────────────────────
|
||||
ExactRoute {
|
||||
ea_method: "GET", ea_path: "/ut/game/fut/milestones",
|
||||
core_method: "GET", core_path: "/club/milestones",
|
||||
notes: "FUT milestones → Core club milestones",
|
||||
},
|
||||
// ── Squad list ────────────────────────────────────────────────────────────
|
||||
ExactRoute {
|
||||
ea_method: "GET", ea_path: "/ut/game/fut/squad/list",
|
||||
@@ -704,7 +721,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_total_exact_routes_count() {
|
||||
assert!(EXACT.len() >= 56, "expected at least 56 exact mappings, got {}", EXACT.len());
|
||||
assert!(EXACT.len() >= 59, "expected at least 59 exact mappings, got {}", EXACT.len());
|
||||
}
|
||||
|
||||
// ── Phase 22 new mappings ─────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user