Skip to content

fix(files_versions): offer comparing versions wherever the viewer can - #65225

Merged
mejo- merged 1 commit into
masterfrom
fix/versions-can-compare
Oct 7, 2026
Merged

mejo- merged 1 commit into
masterfrom
fix/versions-can-compare

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Oct 6, 2026

Copy link
Copy Markdown
Member

Summary

The versions tab offered "Compare to current version" for pictures only: its comment said the viewer package did not yet say which handlers compare. @nextcloud/viewer 2.0.0-beta.15 does, through canCompare(), so this bumps it and asks it. Text sets canCompare on its handler (nextcloud/text#9235), so markdown and text files can be compared again, as they could with the old viewer app. Text's "Versions › Compare" end-to-end test needs it.

The phone rule stays: two versions side by side need the width.

The bump also brings beta.15's other fixes; its changelog is in nextcloud-libraries/nextcloud-viewer#113.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

Comparing was offered for pictures only, waiting for the viewer to say which of its handlers compare. @nextcloud/viewer 2.0.0-beta.15 does, through canCompare(): Text can compare two versions again, as it could with the old viewer app.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv
skjnldsv requested review from a team as code owners October 6, 2026 19:12
@skjnldsv
skjnldsv requested review from kristian-zendato, sorbaugh and susnux and removed request for a team October 6, 2026 19:12
@skjnldsv skjnldsv added this to the Nextcloud 36 milestone Oct 6, 2026
@skjnldsv skjnldsv self-assigned this Oct 6, 2026
@skjnldsv
skjnldsv requested review from artonge and removed request for a team and sorbaugh October 6, 2026 19:48
@mejo-
mejo- merged commit c4b981d into master Oct 7, 2026
126 of 131 checks passed
@mejo-
mejo- deleted the fix/versions-can-compare branch October 7, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants