Files
iptvnator/apps/electron-backend
4grayandClaude Opus 4.8 23f20a1a30 fix(epg): address PR review findings
- Auto-focus no longer forces the view back to today on every ribbon
  (re)mount: it skips without clearing `lastFocusKey`, and only commits today
  when today actually has a programme. Fixes being trapped on the empty-day
  state when navigating to a day that has data (Codex P2).
- Pass `archiveDays` to the timeline from the unified live tab (via the shared
  `getM3uArchiveDays`), so M3U catch-up "Watch" is gated to the channel's real
  window instead of the unlimited `0` default (Codex P2).
- Never fold the on-air programme into a "N short" group chip, so its
  `when: 'now'` highlight (and the auto-focus target) survive when zoomed out
  (Greptile P2).
- Chunk the channel candidate lookup (500 keys/query) so the bound-parameter
  count stays under SQLite's limit on large playlists — the case-insensitive
  raw+lower match binds each key up to 4× (Greptile P2).

Tests: ui-epg 78, electron-backend 433, portal-shared-ui 47; lint + web build green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 08:15:07 +02:00
..
2026-06-30 08:15:07 +02:00
2025-10-07 18:02:13 +02:00
2025-10-07 18:02:13 +02:00