tvos: Home with the preview, On now list and channel menu #27

Merged
namillis merged 1 commit from feat/tvos-home into main 2026-11-18 14:59:59 +00:00
Owner

Phase 4.1 of the Apple TV app: Home (mockup 01) and the hold menu (mockup 07). The Guide (4.2) comes in the next PR.

Home

  • The focused channel's preview plays muted 2 s after focus rests on a row (Settings → Channel preview turns it off). A thin line fills during the wait; "PREVIEW · MUTED" shows while it plays.
  • Details under the preview: number and channel, programme, times, progress, up next.
  • A click goes full screen on the previewing stream without restarting it. Back lands on the same row.
  • The preview stops when focus leaves the list or Home, which frees the pool lease.

On now list and filter

  • The pill picks the list: the pool's Live Sports, Favorites, Recently watched, the pinned (or first six) categories, and All channels, each with its count. Remembered per provider.
  • Port of LiveWireTV HomeLists.kt to Shared/Home/HomeLists.swift, with its tests.
  • Pinning itself is set from the Guide's category column (next PR), as on Android.

Hold menu and Channel info

  • Holding the click on a row opens the channel menu: Add/Remove from Favorites, Play, Channel info.
  • Channel info is a sheet from the right: stream facts (format, quality from the name, catch-up days), now with progress and description, the next four programmes, Play and the favorite.

Shared

  • PlaybackController.muted, applied to each new player.
  • ChannelLibrary: allCategories, channels for any category (sorted once and kept), noteWatched.
  • Full screen records Recently watched (RecentHistoryStore).

Tests

  • build/check.sh: tvOS builds, LiveWireTests pass (198).
  • LiveWireTVUITests: 9 pass. New TVHomeUITests: filter, preview hand-off to full screen without a restart, Back to the row, hold menu, Channel info, unfavoriting from the menu.
  • On the Apple TV: the preview played 2.6 s after launch.
Phase 4.1 of the Apple TV app: Home (mockup 01) and the hold menu (mockup 07). The Guide (4.2) comes in the next PR. ## Home - The focused channel's preview plays muted 2 s after focus rests on a row (Settings → Channel preview turns it off). A thin line fills during the wait; "PREVIEW · MUTED" shows while it plays. - Details under the preview: number and channel, programme, times, progress, up next. - A click goes full screen on the previewing stream without restarting it. Back lands on the same row. - The preview stops when focus leaves the list or Home, which frees the pool lease. ## On now list and filter - The pill picks the list: the pool's Live Sports, Favorites, Recently watched, the pinned (or first six) categories, and All channels, each with its count. Remembered per provider. - Port of LiveWireTV `HomeLists.kt` to `Shared/Home/HomeLists.swift`, with its tests. - Pinning itself is set from the Guide's category column (next PR), as on Android. ## Hold menu and Channel info - Holding the click on a row opens the channel menu: Add/Remove from Favorites, Play, Channel info. - Channel info is a sheet from the right: stream facts (format, quality from the name, catch-up days), now with progress and description, the next four programmes, Play and the favorite. ## Shared - `PlaybackController.muted`, applied to each new player. - `ChannelLibrary`: `allCategories`, channels for any category (sorted once and kept), `noteWatched`. - Full screen records Recently watched (`RecentHistoryStore`). ## Tests - `build/check.sh`: tvOS builds, `LiveWireTests` pass (198). - `LiveWireTVUITests`: 9 pass. New `TVHomeUITests`: filter, preview hand-off to full screen without a restart, Back to the row, hold menu, Channel info, unfavoriting from the menu. - On the Apple TV: the preview played 2.6 s after launch.
- Home (mockup 01): the focused channel's muted preview after 2 s with its
  details, and the On now list. A click goes full screen without restarting
  the previewing stream; Back lands on the same row.
- The pill picks the list: live sports, Favorites, Recently watched, the
  pinned (or first six) categories, All channels. Remembered per provider.
- Holding the click opens the channel menu (mockup 07): favorite, Play,
  Channel info (a sheet with stream facts, now with progress, up next).
- Shared: HomeLists (port of HomeLists.kt, with tests), PlaybackController
  muted, ChannelLibrary allCategories, any category's channels, noteWatched.
- The player records Recently watched.
- TV UI tests for the filter, preview hand-off, hold menu and Channel info.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
namillis/LiveWireiOS!27
No description provided.