Skip to content

Compare revision ranges in History (replaces #354) - #357

Merged
HamptonMakes merged 8 commits into
mainfrom
hampton-history-range-diff
Nov 30, 2026
Merged

HamptonMakes merged 8 commits into
mainfrom
hampton-history-range-diff

Conversation

@HamptonMakes

@HamptonMakes HamptonMakes commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

What changed and why

History lets readers pick two snapshots and see the net changes between them. Use the From and To menus, Shift-click two revision rows, or extend the range with Shift and the arrow keys. The page keeps the controls in view while the list and diff scroll.

Wenjin Shao (@wenjin-xyz) built the original range comparison in #354. This Block-owned successor preserves Wenjin’s original commit and adds the interaction and layout refinements.

Evidence

History range comparison in light mode

History range comparison in dark mode

History range comparison in Spanish

How to try it

  1. Open Workspace invitations: seven small improvements in the demo library and choose History.
  2. Pick v4 in From and v7 in To. The diff shows the net changes between those snapshots.
  3. Open View v7, then use browser Back. History restores the selected range.

Testing

  • Added browser specs for the pickers, shortcuts, pane scrolling, and browser Back.
  • Added model and request coverage for line counts and range validation.
  • Tested the demo in light and dark modes.
  • Attached screenshots from both themes.

Generated with Codex

wenjin-xyz and others added 7 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
  ...
…-diff

* origin/main:
  Reset browser test sessions on Chrome 158
@wenjin-xyz

Copy link
Copy Markdown
Contributor

Looks good! I'll close mine.

Signed-off-by: Hampton Lintorn-Catlin <hampton@squareup.com>
@HamptonMakes
HamptonMakes marked this pull request as ready for review November 30, 2026 20:34
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T20:36:14.474549Z ad7e8f6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@HamptonMakes
HamptonMakes merged commit 410923c into main Nov 30, 2026
15 checks passed
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