nextcloud / nextcloud/text

Autosave more frequently

Open
#8,797 0 comments 0 reactions 1 assignee View on GitHub

@max-nextcloud is already working on this.

Since Jun 30, 2026.

enhancement
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.
Currently autosave calls are debounced by 30 seconds. This means they will only happen once you stop typing for 30 seconds. That can be after a very long time if one is continuously typing. In the meantime the editor will always indicate unsaved changes. It would be nice to save changes faster.

Describe the solution you'd like

On the client side:

  • Write the file when you stop typing for more than a second.
  • Write the file at most every 5 seconds
  • Write the file when there are changes at least 10 seconds after the changes were made.

On the server side:

  • Actual saves are only performed every 10 seconds. Maybe cache the content in the meantime and only write it out then.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.