feat(stats): flip home Plays card live (Phase 16.5)
Add TotalPlays + UniqueListeners to HomeStatsDto, composed at StatsController from IEventService (no migration). Card reads via existing persistent-state-bridged round-trip.
This commit is contained in:
@@ -29,11 +29,14 @@
|
||||
<div class="hero-stat-sub">@RuntimeFormat.ToHoursMinutes(_stats.MixRuntimeSeconds) runtime</div>
|
||||
</div>
|
||||
|
||||
@* Plays — static placeholder (real play/share tracking is a future phase). Odometer treatment over
|
||||
the existing card style; copy is placeholder pending sign-off. *@
|
||||
@* Plays — live site-wide play total in the odometer (the "90s visitor counter" aesthetic is the
|
||||
intended treatment). Secondary line is unique anonymous listeners (Phase 16 D7). Both read from
|
||||
the same HomeStatsDto round-trip the other two cards use — no extra fetch. Reads zero until the
|
||||
play-telemetry migration is applied. *@
|
||||
<div class="hero-stat">
|
||||
<div class="hero-stat-num hero-stat-odometer">XXX</div>
|
||||
<div class="hero-stat-label">Plays (Coming Soon)</div>
|
||||
<div class="hero-stat-num hero-stat-odometer">@_stats.TotalPlays</div>
|
||||
<div class="hero-stat-label">Plays</div>
|
||||
<div class="hero-stat-sub">@_stats.UniqueListeners listeners</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user