Open raymondjacobson opened 9 years ago
switched to every keypress. might need to do this? if we have it poll at all, it could autosave something on a different tab that hasn't completely updated. Maybe start polling only when a keypress has happened and stop shortly after no keypresses?
just thoughts...
You could try having an "algorithm" that waits until the user finished typing then saves. If there is a pause, or a significant amount of time/keys have elapsed, a save is made. An HTTP request each keystroke is so wasteful.
Agree with Damian. Can you have it autosave on tab-close too? That's the only downside I can think of, like if they're typing and immediately close the tab before the "pause".
I had both these things in mind. (Y) On Fri, Jan 2, 2015 at 2:23 PM Julius Alexander IV notifications@github.com wrote:
Agree with Damian. Can you have it autosave on tab-close too? That's the only downside I can think of, like if they're typing and immediately close the tab before the "pause".
— Reply to this email directly or view it on GitHub https://github.com/raymondjacobson/wbp/issues/2#issuecomment-68553854.
Some ideas: