Repository navigation
Detail: a focused episode that left the landed list re-seats on its neighbour - #1100
Merged
Merged
Conversation
…eighbour An episode key was in no recovery table, so when a re-read or another season's page removed the focused episode, reconcile fell to the hero and reveal_focus scrolled the page to the top. shelf_recovery now re-seats it on the nearest loaded episode, on the same row, as it already does for a Related, Collection, Extras or Cast card. Signed-off-by: Tiago Pereira <[email protected]> Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Collaborator
|
Merged, thank you! I merged main in, since it conflicted with #1099's tests. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A robustness fix. When a re-read or another season’s page removes the focused episode from the loaded list,
reconcilefound no recovery for an episode key and fell to the hero, and focusing Play scrolls the page to the top.shelf_recoverynow re-seats it on the nearest loaded episode, on the same row, as it already does for a Related, Collection, Extras or Cast card. Not a reported repro: I did not establish what removes the focused episode in practice. Tests: a vanished episode lands on the same index (clamped), a moved episode keeps focus, an emptied season falls to the hero.