Repository navigation
OBJ-93 — Version history + diff + restore screens - #44
Merged
objectgyan merged 1 commit intoMay 17, 2026
Merged
Conversation
Add /doc/:id/versions (paginated list, checkbox multi-select, restore button with CSS toast) and /doc/:id/diff?from=N&to=M (added/removed/changed side-by-side). Consumes OBJ-77 (list versions), OBJ-79 (diff), OBJ-80 (restore). Three Playwright tests cover list → diff → restore → new version at top, pagination (11 versions → 2 pages), and diff changed-entry rendering.
OBJ-93 M8.4 — Version history + diff + restore screens
Milestone: M8 · Wave: 3 SummaryVersions panel: list, pick two, view diff, restore. Calls the M4 endpoints. Acceptance
Validation
Branch / PRBranch from |
objectgyan
added a commit
that referenced
this pull request
May 17, 2026
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
/doc/:id/versionspage: paginated list (10/page) of document versions with checkboxes to select two for diffing and a Restore button on non-current rows/doc/:id/diff?from=N&to=Mpage: renders added (green), removed (red), and changed (side-by-side before/after) entries from the OBJ-79 diff APITest plan
scripts/validate-obj-93.ps1exits 0 (all API + DB + Playwright assertions pass)validation/obj-93-db.txtshowsversion_number=4, restored_from=1validation/obj-93-api.txtshows all assertions PASS