Present a semantic changelog - #9044
Closed
hweihwang wants to merge 2 commits into
Closed
Conversation
Parse immutable documents, normalize their semantic structure, and emit bounded stable change descriptors. Support one shared schema for both parsed documents. Assisted-by: Codex:gpt-5.6-sol Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
Expose the Text comparison factory and render grouped changes by document section. Preserve every changed-only preview in multi-edit blocks with semantic deletion and insertion markup. Assisted-by: Codex:gpt-5.6-sol Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
This was referenced Aug 14, 2026
Open
hweihwang
requested review from
max-nextcloud and
mejo-
and removed request for
max-nextcloud
August 14, 2026 16:36
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.
In one sentence: the Changes view that makes the model's output readable, plus the public factory other apps can call.
What and why
The model from #9043 produces descriptors nobody can read. This PR turns them into a view people can actually use — and gives other apps a way in.
What's in this PR
window.OCA.Text.createMarkdownContentComparison, so other apps can mount a comparisonThe Changes view, shown through the Collectives dialog from nextcloud/collectives#2697 — Text ships no standalone host. Text owns the model and views; Collectives owns the dialog.
Design notes
Stack
Depends on: #9043. Followed by #9045. This draft is opened stacked — its diff narrows to its own commit once #9043 merges, and I'll rebase before review.
Verification
ts:checkandlintpass; complete suite 1,820/1,820. Grouping, previews, filters and navigation are exercised by the live end-to-end suite recorded for the Collectives PRs.AI assistance
Commits carry
Assisted-by: Codex:gpt-5.6-sol; an independent review pass was run with Claude Opus 5. Description drafted with Hermes (deepseek-v4-pro) from my notes, then reviewed by me.Related