jedmund-svelte/docs
Justin Edmund c209417381 feat(admin): add prime() and auto-idle to autosave controller
Enhances autosave controller with missing features:
- prime(payload): Sets initial hash baseline to prevent autosaves on page load
- idleResetMs option: Auto-transitions from 'saved' → 'idle' status (default 2s)
- onSaved callback: Now receives { prime } helper for re-priming after server response
- Cleanup: destroy() now properly clears idle reset timer

All existing tests pass. Backward compatible - forms not using new features yet.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 07:54:49 -07:00
..
admin-modernization-plan.md Add modernization plan 2025-10-07 04:49:11 -07:00
autosave-completion-guide.md docs: capture autosave roll-out plan 2025-10-07 03:18:02 -07:00
cloudinary-management.md feat: add Cloudinary audit functionality 2025-06-16 16:56:05 +01:00
task-6-autosave-store-plan.md feat(admin): add prime() and auto-idle to autosave controller 2025-10-07 07:54:49 -07:00