Hi! I'm using NoteDiscovery in my local server, and I'm keeping track of changes to note with a simple plugin that git-commits before saving the files (ie: I have a backup of the last version of the note in the commit history). This works super well but with the standard 1000ms of delay here I end up with too many commits for my liking.
My feature proposal is to
- add a "ui" section to the config.yml file with an entry for autosave_delay_ms
- expose the config on the backend
api/config
- allow
app.js to read the configs from the api at startup to benefit from this
More configurations can be added in the same way.
I've implemented the changes in a fork and have tested them locally, all looks good, will send a PR shortly for you review/decision
Hi! I'm using NoteDiscovery in my local server, and I'm keeping track of changes to note with a simple plugin that git-commits before saving the files (ie: I have a backup of the last version of the note in the commit history). This works super well but with the standard 1000ms of delay here I end up with too many commits for my liking.
My feature proposal is to
api/configapp.jsto read the configs from the api at startup to benefit from thisMore configurations can be added in the same way.
I've implemented the changes in a fork and have tested them locally, all looks good, will send a PR shortly for you review/decision