tvos: the Guide grid with time-anchored focus and catch-up #28

Merged
namillis merged 1 commit from feat/tvos-guide into main 2026-11-19 16:32:36 +00:00
Owner

Phase 4.2 of the Apple TV app: the Guide (mockup 02).

Grid

  • Details band with the focused programme and its muted preview, the category column, the NOW pill, half-hour axis and red now line.
  • Focus moves by time, as LiveWireTV's GuideTimeline. One UIKit view (TVGuideCatcher) holds the system focus, so tvOS's geometric focus search can't pull it hours away.
    • ▲▼ change row and keep the browsed time. ◀▶ step to the neighboring programme.
    • ◀ from a row's first programme opens the category column; ▲ from the top row reaches the top bar.
    • Page Up/Down jump 3 hours. Back returns the lanes to now and opens the column.
  • The Guide keeps its place across a trip to the player.

Catch-up

  • On archive channels the window reaches back up to 2 days (CatchupGuide). Past listings load per row from get_simple_data_table; ⟲ marks playable programmes.
  • A click on a past programme plays it from its start. On the live programme of an archive channel it offers Watch live / Start over in the band.
  • The player shows a Catch-up badge and the programme's own progress.

Category column

  • Channel search, Favorites, every category, All channels. Holding the click on a category pins it to Home (up to 6).
  • Holding the click on a channel opens the same menu and Channel info as Home.

Shared

  • Shared/Guide/GuideGrid.swift: lane cells, scroll, sticky-title and jump rules, with GuideGridTests.

Fixes

  • Home refocuses the first row when the focused one leaves the list (Live Sports refresh).
  • The shell's Back no longer takes Back from the Guide grid (TVModel.contentBack).

Tests

  • build/check.sh: tvOS builds, LiveWireTests pass (205).
  • LiveWireTVUITests: 11 pass, including the new TVGuideUITests (grid moves, column and category pick, catch-up actions, play and Back to the same row).
  • Not yet tried on the Apple TV (it was offline); the plan budgets 1–2 tuning rounds on the real remote.
Phase 4.2 of the Apple TV app: the Guide (mockup 02). ## Grid - Details band with the focused programme and its muted preview, the category column, the NOW pill, half-hour axis and red now line. - Focus moves by time, as LiveWireTV's `GuideTimeline`. One UIKit view (`TVGuideCatcher`) holds the system focus, so tvOS's geometric focus search can't pull it hours away. - ▲▼ change row and keep the browsed time. ◀▶ step to the neighboring programme. - ◀ from a row's first programme opens the category column; ▲ from the top row reaches the top bar. - Page Up/Down jump 3 hours. Back returns the lanes to now and opens the column. - The Guide keeps its place across a trip to the player. ## Catch-up - On archive channels the window reaches back up to 2 days (`CatchupGuide`). Past listings load per row from `get_simple_data_table`; ⟲ marks playable programmes. - A click on a past programme plays it from its start. On the live programme of an archive channel it offers Watch live / Start over in the band. - The player shows a Catch-up badge and the programme's own progress. ## Category column - Channel search, Favorites, every category, All channels. Holding the click on a category pins it to Home (up to 6). - Holding the click on a channel opens the same menu and Channel info as Home. ## Shared - `Shared/Guide/GuideGrid.swift`: lane cells, scroll, sticky-title and jump rules, with `GuideGridTests`. ## Fixes - Home refocuses the first row when the focused one leaves the list (Live Sports refresh). - The shell's Back no longer takes Back from the Guide grid (`TVModel.contentBack`). ## Tests - `build/check.sh`: tvOS builds, `LiveWireTests` pass (205). - `LiveWireTVUITests`: 11 pass, including the new `TVGuideUITests` (grid moves, column and category pick, catch-up actions, play and Back to the same row). - Not yet tried on the Apple TV (it was offline); the plan budgets 1–2 tuning rounds on the real remote.
- Guide (mockup 02): details band with the muted preview, category column,
  the grid with the NOW pill, half-hour axis and now line.
- Focus moves by time, as LiveWireTV's GuideTimeline: one UIKit view holds the
  system focus; Up/Down keep the browsed time, Left/Right step to the
  neighboring programme, Left from the first cell opens the column, Up from
  the top row reaches the top bar. Page Up/Down jump 3 hours.
- Catch-up: the window reaches back up to 2 days on archive channels; past
  listings load per row from get_simple_data_table; ⟲ marks playable cells.
  A click plays a past one from its start; on the live programme of an
  archive channel it offers Watch live / Start over.
- Category column: keyword search, Favorites, every category (hold to pin it
  to Home, up to 6), All channels. Back from the grid returns the lanes to now
  and opens the column. The Guide keeps its place across the player.
- Hold the click for the channel menu and Channel info, as in Home.
- Shared: GuideGrid (lane cells, scroll and sticky-title rules), with tests.
- Home: refocus when the focused row leaves the list (Live Sports refresh).
- TV UI tests for the grid moves, column, catch-up actions and Back from play.
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!28
No description provided.