Repository navigation
Collapse a comment thread from any reply - #10
Merged
Merged
Conversation
Adapt upstream pull request QuantumBadger/RedReader#1388. Collapse the highest listed ancestor from a nested comment, retain its row, and move accessibility focus onward. Limit ordinary-collapse focus changes to touch exploration and hide only the previous/next toolbar buttons. Cover nested, filtered, final-thread, expansion, and toolbar behavior.
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.
Port upstream PR #1388 to this fork.
Add a collapse-thread action that keeps a visible root and advances to the next thread. Limit toolbar accessibility changes to the previous/next buttons and keep ordinary sighted collapse from scrolling unexpectedly.
Validation: reviewed and tested with the other selected ports in the combined integration tree: 271 unit/Robolectric tests, PMD, Checkstyle, Android lint, and debug/release APK assembly, using Java 21 and cached Gradle 9.7.1 (the pinned 9.6.1 distribution was unavailable locally). No device or live Reddit API smoke test was performed.