Skip to content

[stable35] feat(direct-editing): let mobile apps close the editor through an API - #9690

Merged
mejo- merged 1 commit into
stable35from
backport/9679/stable35
Nov 23, 2026
Merged

mejo- merged 1 commit into
stable35from
backport/9679/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 23, 2026

Copy link
Copy Markdown

Backport of PR #9679

Mobile apps closed the editor by clicking the close button in the page
and waiting a few seconds, as they could not tell when closing was done.
Apps that missed the button left the editing session open and the file
locked.

OCA.Text.DirectEditing.close() saves, closes the session and then sends
the close message to the app, like the close button does. It returns a
promise that resolves once the app was told to close, also if saving or
closing failed. The close button keeps working for existing apps.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@backportbot
backportbot Bot requested a review from benjaminfrueh November 23, 2026 21:37
@backportbot backportbot Bot added enhancement New feature or request 3. to review feature: direct editor AI assisted This PR contains AI-assisted commits labels Nov 23, 2026
@backportbot backportbot Bot added this to the Nextcloud 35.0.4 milestone Nov 23, 2026
@mejo-
mejo- enabled auto-merge November 23, 2026 21:37
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mejo-
mejo- merged commit 67f01dc into stable35 Nov 23, 2026
65 checks passed
@mejo-
mejo- deleted the backport/9679/stable35 branch November 23, 2026 21:47
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 enhancement New feature or request feature: direct editor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant