Skip to content

fix(editor): do not force save when clicking the save indicator - #9520

Merged
mejo- merged 1 commit into
mainfrom
fix/status_button_save
Nov 3, 2026
Merged

mejo- merged 1 commit into
mainfrom
fix/status_button_save

Conversation

@mejo-

@mejo- mejo- commented Nov 3, 2026

Copy link
Copy Markdown
Member

The save indicator button called forceSave(), which skips the server-side checks for outside changes and outdated versions. A click could then silently overwrite changes made to the file outside the editor, while Ctrl+S in the same situation shows the collision dialog.

Use a regular manual save for the button as well. Forcing a save stays reserved for the collision dialog.

Assisted-by: ClaudeCode:claude-opus-5-5

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

The save indicator button called forceSave(), which skips the
server-side checks for outside changes and outdated versions. A click
could then silently overwrite changes made to the file outside the
editor, while Ctrl+S in the same situation shows the collision dialog.

Use a regular manual save for the button as well. Forcing a save stays
reserved for the collision dialog.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@mejo- mejo- self-assigned this Nov 3, 2026
@mejo- mejo- added bug Something isn't working 3. to review labels Nov 3, 2026
@mejo-
mejo- requested a review from max-nextcloud as a code owner November 3, 2026 19:56
@mejo-
mejo- requested a review from silverkszlo as a code owner November 3, 2026 19:56
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team Nov 3, 2026
@mejo-

mejo- commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

/backport to stable35

@nextcloud-command nextcloud-command added the AI assisted This PR contains AI-assisted commits label Nov 3, 2026
@mejo-

mejo- commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

/backport to stable34

@mejo-

mejo- commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

/backport to stable33

@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team Nov 3, 2026
@mejo-
mejo- enabled auto-merge November 3, 2026 21:37
@mejo-
mejo- merged commit 150f3dc into main Nov 3, 2026
65 checks passed
@mejo-
mejo- deleted the fix/status_button_save branch November 3, 2026 22:58
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📝 Productivity team Nov 3, 2026
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 bug Something isn't working

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

4 participants