Features
- Autosave Implementation: Tasks now automatically save changes to disk to prevent data loss.
- Explicit Version History: Task versions are now only created when manually clicking the "Save Version" button, reducing history clutter while ensuring work is safe.
- Save Button Location: The "Save Version" button is now located to the right of the History icon for easy access.
Improvements
- UI Responsiveness: Modifications to task structure and variables are saved immediately. Text inputs are saved on blur.
- Data Persistence: Separated disk persistence from versioning history.
Fixes
- TypeScript: Resolved
onSaveprop type mismatch in EditorLoader and App.tsx. - Cleanup: Removed unused
hasUnsavedChangesstate and prop drilling.
Technical Details
- Backend API: Updated
POST /api/tasksto accept?version=truequery parameter for optional version creation. - Frontend State: Updated useTasks hook to support the
createVersionflag.
Full Changelog: v0.6...v0.6.1