Skip to content

[Feature request] File Editor: Add autosave/backup while editing #107

Description

@tutacat

Checklist

  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
  • I optionally donated to support the Fossify mission.

Feature description

This suggestion is for the File Editor activity

Implement a periodic or automatic autosave of some description while files are being edited.

The feature should be toggleable for security, privacy, and user preference. While File is edited but not saved/autosaved.

Saving rate suggestions.

  • Configurable: every 3 seconds, 10 seconds (seems reasonable default), 30 seconds, or 60 seconds
  • Configurable: Every word, new line, or full-stop
  • When the File Editor activity closes (ex: closed from app switcher)

Implementation suggestions.

  • Temporary file in private app folder (preferable)
  • Could limit to one save/file if in private app folder
  • .save file in same folder as the edited file
  • Save in database
  • Secondary window (and app launcher action)
  • Persistent open tabs and caching for them, similar to popular desktop and some other mobile text editors.

Recovery method suggestions.

  • Notification
  • In-app banner action in the file manager
  • When opening the same file (could just be a pop-up to point it out)

Why do you want this feature?

Some features on android, such as Screen Time, may close apps, but data in edited files can be backed up in one way or another to be recovered.

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions