Skip to content

Compare revision ranges in plan history - #353

Closed
HamptonMakes wants to merge 4 commits into
mainfrom
hampton-history-range-diff
Closed

HamptonMakes wants to merge 4 commits into
mainfrom
hampton-history-range-diff

Conversation

@HamptonMakes

@HamptonMakes HamptonMakes commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

What changed and why

CoPlan History can show what changed in one revision, but reviewing several edits takes several comparisons. Select a continuous range to see the net changes from before the first selected revision through the last. The range stays in the URL so you can reload it or share it.

This PR carries Wenjin Shao’s original commit and merges in current main. A follow-up updates two test helpers for the Coplan namespace and lets the delayed-response test inspect a request while it is still in flight. The demo instructions use the latest revision that History selects by default.

Evidence

Revision comparison in light mode

Revision comparison in dark mode

How to try it

Open Workspace invitations: seven small improvements in the demo library. Choose More actions → History, then select v2 while v8 is selected. History selects the versions in between and shows the net changes from v1 through v8.

Testing

  • Added or updated real JavaScript-enabled browser specs in spec/system/ for changed UI behavior, covering the user interaction and visible result.
  • Added model and request specs for range comparisons and validation.
  • Ran the complete RSpec suite. Local parallel CI passed all 2,967 non-browser specs. All 13 History system specs passed with Chrome 150. The broader browser run and the latest GitHub checks are still running.
  • Tested gap filling, reload, browser Back, and trimming the range in the local browser. Checked light and dark modes.
  • Attached images demonstrating the change.

Generated with Codex

wenjin-xyz and others added 4 commits November 10, 2026 09:21
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>
…-diff

* origin/main: (118 commits)
  Make notification budgets configurable and safe
  Preserve responses before deferred agent wakes
  Isolate deferred agent wake failures
  Wake agent sessions after their inbox events commit
  Budget notification fan-out per person
  Capture purge recipients under the comment lock
  Keep bounded provider error descriptions
  Use bounded character search for document diffs
  Keep Unicode diff edge scans linear
  Keep provider diagnostics private and bounded
  Batch inbox redaction and deduplicate audit broadcasts
  Protect review receipts and retry purge broadcasts safely
  Use the admin form layout for permanent deletion
  Verify admin CSRF and keep the demo title singular
  Preserve soft-deleted comments for admin review
  Preserve newer scrolling after a live outline rebuild
  Create migration fixtures before assigning their legacy types
  Give migration test admin comments explicit UUIDs
  Rename the Coplan namespace and migrate persisted class names
  Remove low-value source comments
  ...
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