Phase 25: leaderboard table + trade history in dashboard
- Division tab: leaderboard table (10 clubs, color-coded promo/relegation rows, player row highlighted, sorted by pts) - Market tab: trade history table (last 30 buy/sell events, card name/OVR/price/date) loaded alongside market listings and my listings - Mapper: added GET /division/leaderboard and GET /trade/history exact routes - Mapper assertion bumped to ≥61 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+13
-2
@@ -237,12 +237,23 @@ const EXACT: &[ExactRoute] = &[
|
||||
notes: "FUT notifications (plural form) → Core notifications",
|
||||
},
|
||||
// ── Squad list ────────────────────────────────────────────────────────────
|
||||
// ── Division / Season history ─────────────────────────────────────────────
|
||||
// ── Division / Season history / Leaderboard ───────────────────────────────
|
||||
ExactRoute {
|
||||
ea_method: "GET", ea_path: "/ut/game/fut/division/history",
|
||||
core_method: "GET", core_path: "/division/history",
|
||||
notes: "FUT division history → Core season history",
|
||||
},
|
||||
ExactRoute {
|
||||
ea_method: "GET", ea_path: "/ut/game/fut/division/leaderboard",
|
||||
core_method: "GET", core_path: "/division/leaderboard",
|
||||
notes: "FUT division leaderboard → Core seeded NPC leaderboard",
|
||||
},
|
||||
// ── Market trade history ──────────────────────────────────────────────────
|
||||
ExactRoute {
|
||||
ea_method: "GET", ea_path: "/ut/game/fut/trade/history",
|
||||
core_method: "GET", core_path: "/market/trade-history",
|
||||
notes: "FUT trade history → Core market trade history",
|
||||
},
|
||||
// ── Daily check-in ────────────────────────────────────────────────────────
|
||||
ExactRoute {
|
||||
ea_method: "GET", ea_path: "/ut/game/fut/dailyObjective",
|
||||
@@ -721,7 +732,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_total_exact_routes_count() {
|
||||
assert!(EXACT.len() >= 59, "expected at least 59 exact mappings, got {}", EXACT.len());
|
||||
assert!(EXACT.len() >= 61, "expected at least 61 exact mappings, got {}", EXACT.len());
|
||||
}
|
||||
|
||||
// ── Phase 22 new mappings ─────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user