Skip to content

Collapse a comment thread from any reply - #10

Merged
culpen90 merged 1 commit into
masterfrom
adopt/upstream-1388
Nov 8, 2026
Merged

culpen90 merged 1 commit into
masterfrom
adopt/upstream-1388

Conversation

@culpen90

@culpen90 culpen90 commented Nov 8, 2026

Copy link
Copy Markdown
Owner

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.

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.
@culpen90
culpen90 merged commit 9f302fd into master Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants