feat: implement ProjectTasksList component and update ProjectTasksPage to use it

feat: add date_completed column to project_tasks table in database initialization
feat: update project task status to set date_completed when marking as completed
This commit is contained in:
2025-06-20 23:17:18 +02:00
parent 27c5feb6dc
commit 68c6165b32
4 changed files with 541 additions and 5 deletions

View File

@@ -145,7 +145,6 @@ export default function initializeDatabase() {
} catch (e) {
// Column already exists, ignore error
}
// Migration: Add is_system column to notes table
try {
db.exec(`
@@ -154,4 +153,13 @@ export default function initializeDatabase() {
} catch (e) {
// Column already exists, ignore error
}
// Migration: Add date_completed column to project_tasks table
try {
db.exec(`
ALTER TABLE project_tasks ADD COLUMN date_completed TEXT;
`);
} catch (e) {
// Column already exists, ignore error
}
}