Closed bensivo closed 1 week ago
Switched the autosave to every 2 seconds on debounce, but there are some issues with the "saving" and "saved" text overriding each other.
If another action starts, the timers that run in the observable don't get cancelled, so they can overlap with the future events. Need to find a way to cancel those timers if the value changes.
2 seconds still feels slow. Maybe 1.5
Found a bug that may be related to auto-save, when we export a file to Downloads, it gets saved with a file id. Then when we import it back, it gives a 404 because it's tryign to save with the same file id
Decided to make a new bug for this
Implemented auto-save on a debounce of 15 seconds, but it seems very long in practice.
Maybe we need to do a debounce of 5 seconds?