You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Up from the page body returns to the hero button used last #235
area: navigationRemote and focus handling (src/navigation)enhancementNew feature or requestupstreamSomething Silo added or changed upstream that Hopper should pick up
On Details and Series, moving Up from the page body (season tabs, episode row, cast and the rows below) back into the hero buttons should land on the button the viewer last used, or Play if they haven't moved yet. It shouldn't jump to whichever button is nearest.
Upstream
Android TV: silo-android#1099. TvHeroActionFocus remembers the last hero action that had focus (Play, Start Over, Edition, Version, Audio, Subtitles, Watchlist, More). Entry into the row and returnToHero go to it.
tvOS: silo-apple#988, so both reference clients now behave the same way.
Hopper today
Up from the body goes through the general geometric search in src/navigation/spatial.ts, which picks the hero button nearest the focused element. Nothing remembers the last hero button on src/screens/DetailsScreen.tsx or src/screens/SeriesScreen.tsx. Not yet checked in a browser.
What it would take
Mark the hero button row (for example data-nav-memory="hero"). Have spatial.ts remember the last focused element in a marked group and enter the group there when the move comes from outside it, with Play as the default. Keep the memory while the page is open, and reset it when another title opens. The pointer must not be affected.
How to check
Browser: on a movie and a series, move to Watchlist, go Down into the body, then Up: focus returns to Watchlist. With no move first, Up lands on Play. TV: the same with the remote.
area: navigationRemote and focus handling (src/navigation)enhancementNew feature or requestupstreamSomething Silo added or changed upstream that Hopper should pick up
Activity