Repository navigation
fix(tv): return to the last focused hero action when moving up #1099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Quick104
merged 7 commits into
Silo-Server:main
from
neurekadev:fix/793-tv-detail-action-focus
Nov 29, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d9c61ec
fix(tv): return to the last focused hero action when moving up
neurekadev ddb4945
fix(tv): return to the exact playback selector when moving up
neurekadev 7b0d0f9
fix(tv): keep Edition and Version as separate return targets
neurekadev a32f726
fix(tv): keep the remembered hero action while the next episode loads
neurekadev 0b0f8ee
Merge Silo-Server/silo-android main into fix/793-tv-detail-action-focus
neurekadev c81b2eb
Merge Silo-Server/silo-android main into fix/793-tv-detail-action-focus
neurekadev 7892889
fix(tv): keep the Similar rail's Up requester out of composition reads
Quick104 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporary fallback focus overwrites the remembered hero action
When Start Over or Edition is temporarily hidden, the fallback focus callback replaces
last, so the original action is not restored after the next episode loads. Preservelastfor temporary fallback focus and update it only for an intentional action change.Prompt for LLM
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked this against the code and I'm leaving it as is. If the viewer presses Up while Start Over or Edition is hidden, focus lands on Play or Version and stays there, so that is the hero action they focused last. Up returning there next time is the rule #793 asks for. When the gap passes without the viewer entering the row,
lastis untouched and the hidden action comes back as the target, which is what resolving on read is for.🤖 Claude Code (claude-opus-5-5)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That distinction makes sense. If the viewer enters the hero row during the loading gap, Play or Version becomes the action they most recently focused, so subsequent returns should go there. If they don’t enter the row during the gap, resolving the fallback on read preserves the original target.
I withdraw the suggestion to preserve the earlier action after focus lands on the fallback. The implementation matches the stated “last focused hero action” behavior.