feat: enhance task persistence and implement centralized kanban board

This commit is contained in:
2026-04-28 21:55:37 +05:00
parent 7da3fc8ff4
commit 1f87f0d6e9
9 changed files with 425 additions and 45 deletions
+6
View File
@@ -10,8 +10,13 @@ export const useUnsavedChanges = () => {
if (lastSavedData.value && currentData.value !== lastSavedData.value) {
isDirty.value = true
console.log('[DEBUG Unsaved] Changed to dirty because data is different')
} else if (!lastSavedData.value) {
isDirty.value = true
console.log('[DEBUG Unsaved] Changed to dirty because no lastSavedData')
} else {
isDirty.value = false
console.log('[DEBUG Unsaved] Not dirty, data is identical')
}
}
@@ -20,6 +25,7 @@ export const useUnsavedChanges = () => {
lastSavedData.value = JSON.stringify(data)
currentData.value = lastSavedData.value
isDirty.value = false
console.log('[DEBUG Unsaved] Marked as saved, isDirty = false')
}
// Reset dirty state