Hooks
useTaskActions
CRUD actions for tasks: delete, edit, move, and strict-mode lock.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
CRUD actions for tasks: delete, edit, move, and strict-mode lock.
| Action | Triple-Write Steps | Notes |
|---|---|---|
| deleteTask(id) | Convex delete, SQLite delete, Re-arm alarms | Checks strict_until before allowing deletion |
| editTask(id, draft) | Convex update, SQLite update, Re-arm alarms | Preserves manually-edited instances |
| moveInstance(id, newTime) | Convex update, SQLite update, Re-arm alarms | Used by calendar drag-and-drop |
| activateStrictMode(id, days) | Convex lock, SQLite lock, Re-arm alarms | Sets strict_until on task and all instances |