-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Problem
Currently, users must manually iterate to find the most recent prior version of a page where any change occurred. This is inefficient, especially for pages with many versions, and makes it hard to track specific updates or regressions.
Proposed Solution
Add a function and/or API endpoint (e.g., getMostRecentChange(pageId, currentVersionId, diffType)):
- Iterate backwards from the current version (selected to version) and find the most recent version whose contents differ (using body_hash, or by calling the diff API with a fast diffType such as
html_text_dmp). - Return the UUID and basic metadata of the previous version where a change actually occurred.
- Expose this function in the frontend and/or backend API so it can be used to power a "Jump to Last Change" feature in the UI.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Inbox