Repository navigation
internal/rocketclaw/web: load PR files without a button - #1546
Merged
Merged
Conversation
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 20, 2026
The pull request preview showed a Load files or Load more files button below its tabs, and two notes that told the reader nothing useful: "Patches may be incomplete. Open GitHub for the full diff." and, in the OpenCode pane, "Read with this OpenCode server's GitHub login." Opening Code already loads the first page of files, and scrolling to the end loads the next, so the button only mattered after a cancel or a failed read. Remove it and both notes. Opening Code now clears a cancelled or failed load, so going back to Code tries again. Refresh still starts over. The preview browser test retries by switching tabs and scrolling instead of clicking the button, and checks that the button is gone.
ucirello
force-pushed
the
pr-preview-code-autoload
branch
from
November 20, 2026 20:10
8fade42 to
6848ae3
Compare
ucirello
enabled auto-merge
November 20, 2026 20:10
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.
Summary
Opening Code in the pull request preview now shows the files with no extra click. The Load files / Load more files button is gone, and so are two notes that didn't help anyone: "Patches may be incomplete. Open GitHub for the full diff." and "Read with this OpenCode server's GitHub login."
What changes
Testing
Demo
Desktop, tablet and mobile, in that order. These use a made-up 130-file pull request, and each file read is slowed to 1.2 seconds so the loading line is visible. The captions and red pointer dot were added for the recording.
desktop.mp4
tablet.mp4
mobile.mp4