Present a semantic changelog - #9048
Draft
hweihwang wants to merge 1 commit into
Draft
Conversation
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
Author
|
Note on CI: the |
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.
The model from #9047 produces typed descriptors, but a raw list is hard to read and nothing outside Text can use it. This PR turns it into a changelog view and exposes it to other apps.
What's in this PR
window.OCA.Text.createMarkdownContentComparison, so other apps can mount a comparisonThe Changes view, shown through the Collectives dialog from the integration unit in nextcloud/collectives. Text ships no standalone host, so this is the only way to see the view running today. Text owns the model and views; Collectives owns the dialog.
Design notes
Stack
Depends on: #9047. Base:
review/structured-markdown-comparison-model, retargets tomainonce #9047 merges. Followed by #9049.Verification
ts:checkandlintpass. The complete suite passes at this tip: 1,820/1,820. Grouping, previews, filters and navigation are exercised by the live end-to-end suite recorded for the Collectives PRs.Related
Happy to answer any questions in review.