Skip to content

Feature: entry for autosave_delay_config #232

@pedroangelini

Description

@pedroangelini

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

  1. add a "ui" section to the config.yml file with an entry for autosave_delay_ms
  2. expose the config on the backend api/config
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions