Repository navigation
v0.1.15 — Sports On Later: 7 days of upcoming games
Sports On Later now shows the next 7 days
The shelf now surfaces a full week of upcoming games per followed league instead of only the next 24 hours. Fixes two adjacent bugs in one pass:
- Late-tomorrow games getting cut off. A 10 PM Western-conference playoff game is ~26 hours out when checked at 8 PM the night before, which fell outside the old 24h cap.
- No visibility into the week. Users couldn't glance at the shelf to see their team's Sunday game on a Friday evening.
Changes
GET /sports/laterdefault window: 24h → 168h (7 days). Query param still honored.fetchFollowedEventsscales the ESPN date fetches with the requested horizon (one fetch per day plus buffer), per-date cached for 10 min so subsequent shelf hits are free.getEventscans the same 8-day window so a card tapped for a game several days out resolves on the detail screen.- Matching mobile defaults updated:
api.getSportsLater()→ 168h, Home + Sports tab queries request 168h.
Verified
Smoke test with Avalanche-only prefs (teamIds: ['17']): returned all 3 upcoming COL playoff games (Thu 4/23 @ LAK, Sun 4/26 @ LAK, Tue 4/28 vs LAK) with correct broadcast pills.
Backend-only fix; mobile defaults changed for parity but the app will function against older backends too. No mobile rebuild strictly required if you're happy with 24h on the app side, but the app bumps to 168h as of this release.