Skip to content

baseball v1.4.0 — attendance hero card + animated capacity bar (phase 5)

Choose a tag to compare

@JamesAwesome JamesAwesome released this 21 Jul 14:01
2fabbed

baseball v1.4.0 — Attendance hero card (Phase 5) — completes the five-widget design uplift

baseball.attendance gains the design handoff's hero card at scale>1 (bigsign 256 + longboi 512) with an animated capacity bar, for both the team view and the league-superlative view. This is the final widget of the five-widget uplift (scores, standings, promotions, statcast, attendance).

Team card

  • Big paid-attendance number, % FULL, VS AVG (vs the team's season home average), the belted stadium name, and a right-anchored NN,NNN CAP.
  • A capacity bar in the home team's color that animates from empty to its fill on card entry, with a tick at the season-average fraction.
  • On longboi, the card also shows game-day weather (temp + condition) and a prominent stadium name.

League-superlative card

  • The superlative (BIGGEST CROWD / FULLEST PARK / …) as the label, the big value, and two adaptive stat columns — crowd superlatives show % FULL + capacity; fullest/emptiest show the raw crowd + capacity.
  • Belted venue name, a team-colored chip, and a fill bar (no tick — league mode has no single team's history).

Also

  • layout = "auto" / "big" / "long" config field. Scale-1 (smallsign) keeps the classic scrolling lines unchanged; a game not yet Final falls back to the classic line rather than an empty bar.
  • Brighter, higher-contrast labels on the attendance cards for on-panel readability.
  • Season average uses attendanceAverageHome from the /attendance endpoint (the prototype's documented field does not exist).