Skip to content

[Feature] Game mode breakdown — BR, Resurgence, Ranked tabs #13

@grovecj

Description

@grovecj

Summary

Show per-mode stat breakdowns so players can see how they perform in each Warzone game mode.

Details

Game Modes

  • Battle Royale: Solos, Duos, Trios, Quads
  • Resurgence: Solos, Duos, Trios, Quads
  • Ranked Play: BR Ranked, Resurgence Ranked (includes SR/division)
  • Plunder (if data available)

UI Design

  • Tab bar or segmented control at the top of the stats section
  • Each tab shows the same stat layout (reuse StatsGrid and chart components) filtered to that mode
  • Mode summary cards: Show top-level stats per mode in a horizontal scrollable row:
    [BR: 1.3 K/D, 45 Wins] [Resurgence: 1.8 K/D, 120 Wins] [Ranked: Gold II, 1.1 K/D]
    
  • Clicking a mode card switches to the detailed tab

Ranked-Specific Data

  • Skill Rating (SR) display with division badge icon
  • Division: Bronze, Silver, Gold, Platinum, Diamond, Crimson, Iridescent, Top 250
  • SR history chart (if historical snapshots available)

Backend

  • GET /api/v1/players/{platform}/{gamertag}/stats?mode=br
  • GET /api/v1/players/{platform}/{gamertag}/stats?mode=resurgence
  • GET /api/v1/players/{platform}/{gamertag}/stats?mode=ranked
  • Each returns the same stat structure filtered to that mode

Acceptance Criteria

  • Tab navigation between game modes works
  • Stats display correctly per mode
  • Mode summary cards show at-a-glance stats
  • Ranked mode shows SR and division info
  • Graceful handling when a mode has no data

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions