Skip to content

[stable-0.1] fix(viewer): say when changes to a mind map are not saved - #426

Merged
AndyScherzinger merged 1 commit into
stable-0.1from
backport/422/stable-0.1
Oct 22, 2026
Merged

AndyScherzinger merged 1 commit into
stable-0.1from
backport/422/stable-0.1

Conversation

@AndyScherzinger

Copy link
Copy Markdown
Member

Backport of #422 to stable-0.1. Refs #166.

FreeMind and XMind files can be edited but not saved, and the editor gave no warning, so edits were lost without notice. A toast now says "Changes to {extension} files are not saved." when such a file opens.

Cherry-picked without changes. On stable-0.1, Vitest for mindmap.spec.js passes (35 tests). I have not yet tested it in a running Nextcloud.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

FreeMind and XMind files can be opened and edited, but not saved. The
editor hid the save controls and closed without asking, so users lost
their edits without being told. Show a notice when such a file opens.

Refs #166

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
(cherry picked from commit d6e3c14)
@AndyScherzinger AndyScherzinger added bug Something isn't working AI assisted This PR contains AI-assisted commits labels Oct 21, 2026
@AndyScherzinger AndyScherzinger added this to the v0.1.5 milestone Oct 21, 2026
@AndyScherzinger
AndyScherzinger merged commit e931208 into stable-0.1 Oct 22, 2026
7 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/422/stable-0.1 branch October 22, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted This PR contains AI-assisted commits bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant