From 431ee29be800a7ffdb2b1c8fbdbe54304355a974 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Thu, 7 May 2026 12:03:43 +0100 Subject: [PATCH] vault backup: 2026-05-07 12:03:43 --- .../2026-05-07-p0-2-planner-tags-crash.md | 30 +++++++++++++++++++ 99 Daily/2026-05-07.md | 3 ++ 2 files changed, 33 insertions(+) create mode 100644 01 Projects/cc-dashboard/handovers/2026-05-07-p0-2-planner-tags-crash.md diff --git a/01 Projects/cc-dashboard/handovers/2026-05-07-p0-2-planner-tags-crash.md b/01 Projects/cc-dashboard/handovers/2026-05-07-p0-2-planner-tags-crash.md new file mode 100644 index 0000000..8aa5a58 --- /dev/null +++ b/01 Projects/cc-dashboard/handovers/2026-05-07-p0-2-planner-tags-crash.md @@ -0,0 +1,30 @@ +--- +title: Handover — P0-2 Fix Planner Crash +date: 2026-05-07 +status: done +commit: 75c7863 +--- + +## What changed +- `web/src/types/index.ts:36`: `tags: TagBrief[]` → `tags?: TagBrief[]` (optional) +- `web/src/components/tasks/TaskCard.vue:57`: `task.tags.length` → `task.tags?.length` + +## Why +Backend TaskOut schema never returns tags field → `task.tags` is undefined → `.length` throws TypeError. +Tags are stored in DB but not yet serialized; making type optional is the correct minimal fix +since tags feature is unused (always empty array). + +## Verified +- `npm run build` — clean, 75c7863 +- `git push origin main` + +## Deploy needed +```bash +ssh optical-dev "bash /opt/cc-dashboard/deploy.sh" +``` +(can batch both P0-1 and P0-2 in one deploy) + +## Next subtask +**P0-3**: Расследовать пустые данные в проектах. +Нужен доступ к БД: `docker exec cc-dashboard-postgres-1 psql ...` +Запросить пользователя запустить SQL и прислать результаты. diff --git a/99 Daily/2026-05-07.md b/99 Daily/2026-05-07.md index a20092e..1e90e1e 100644 --- a/99 Daily/2026-05-07.md +++ b/99 Daily/2026-05-07.md @@ -56,3 +56,6 @@ tags: [daily] - 11:58 | `aimpress` - **Asked:** Why isn't the repository synchronization script from Oliver and Bitbucket to git.ai-impress.com working? - **Done:** Identified potential issues with macOS cron sleep behavior and script execution, found data inconsistencies in logs suggesting missed runs or internal script failures. +- 12:02 (2min) | `aimpress` + - **Asked:** Asked to set up a launchd agent and remove the cron job entry. + - **Done:** Created launchd plist file and removed the crontab entry for background task scheduling.