Repository navigation
Compare contiguous revision ranges in History - #354
Closed
wenjin-xyz wants to merge 1 commit into
Closed
wenjin-xyz wants to merge 1 commit into
wenjin-xyz wants to merge 1 commit into
Conversation
Let readers select a continuous block of revisions and compare the\nnet Markdown change, with shareable URLs and in-place recovery. Co-authored-by: figaro <cc878ad5fe81bba0f79d6e5d2726bbbefba3a08bbda27e6bb2e6b1265bc44d4d@buzz.block.builderlab.xyz>
4 tasks done
Contributor
Author
|
Superseded by #357 |
HamptonMakes
added a commit
that referenced
this pull request
Nov 30, 2026
Compare revision ranges in History (replaces #354)
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.
Let readers select a continuous block of revisions and compare the net Markdown change, with shareable URLs and in-place recovery.
What changed and why
History previously showed the changes from one revision at a time. Readers who wanted to see what changed across several edits had to open each diff. Now, checking v3 through v5 shows the net change from the v2 snapshot to v5.
Checking a revision outside the range fills the gap. The comparison updates in place, and the URL keeps the selection for reloads and full-version navigation. History also shows newer revisions first when timestamps tie.
Evidence
Verified in the seeded demo in light and dark mode. Both runs showed v3–v5 selected and a v2 → v5 Markdown diff. The screenshots are captured. GitHub CLI requires repository write access to attach them to this PR.
How to try it
bin/setup --skip-server, thenbin/dev.http://localhost:3000/sign_inand sign in ashampton@example.comwith no password.Testing
bundle exec rspecduring implementation. The 3,415-example run found one test-helper error. After the fix,bundle exec rspec spec/requests/plan_versions_spec.rb spec/models/plan_spec.rb spec/lib/development_seed_spec.rb spec/system/history_spec.rbpassed all 89 examples at07c4dcc. The full suite was run before the test-helper correction.Generated with Codex