File-Manager
File-Manager copied to clipboard
[Feature request] File Editor: Add autosave/backup while editing
trafficstars
Checklist
- [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one feature request.
- [X] I have read and understood the contribution guidelines.
- [X] 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