Skip to content

[stable35] refactor(links): derive link bubble state in plugin state apply - #9579

Merged
blizzz merged 1 commit into
stable35from
backport/9556/stable35
Nov 13, 2026
Merged

blizzz merged 1 commit into
stable35from
backport/9556/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 9, 2026

Copy link
Copy Markdown

Backport of PR #9556

@backportbot backportbot Bot added 3. to review technical debt AI assisted This PR contains AI-assisted commits labels Nov 9, 2026
@backportbot backportbot Bot added this to the Nextcloud 35.0.3 milestone Nov 9, 2026
The link bubble plugin used appendTransaction to work out the active
link from the selection, which dispatched an extra transaction on every
selection change. Do this in the plugin state's apply() instead, which
gets the old and new state as arguments.

This also replaces the full document comparison (doc.eq) with
tr.docChanged, and adds tests for the derived bubble state.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@backportbot
backportbot Bot force-pushed the backport/9556/stable35 branch from 6aca827 to 8e3abe1 Compare November 9, 2026 12:23
@blizzz
blizzz merged commit f40849c into stable35 Nov 13, 2026
63 of 64 checks passed
@blizzz
blizzz deleted the backport/9556/stable35 branch November 13, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants