From bf96a01aef018f49daa780a72969df79a5d095b8 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Thu, 7 May 2026 12:00:11 +0100 Subject: [PATCH] vault backup: 2026-05-07 12:00:11 --- 01 Projects/cc-dashboard/refactor-plan.md | 38 +++++++++++++++++++++++ 99 Daily/2026-05-07.md | 6 ++++ 2 files changed, 44 insertions(+) create mode 100644 01 Projects/cc-dashboard/refactor-plan.md diff --git a/01 Projects/cc-dashboard/refactor-plan.md b/01 Projects/cc-dashboard/refactor-plan.md new file mode 100644 index 0000000..729d3b1 --- /dev/null +++ b/01 Projects/cc-dashboard/refactor-plan.md @@ -0,0 +1,38 @@ +--- +title: CC Dashboard — Major Refactor Plan +created: 2026-05-07 +status: in-progress +--- + +# CC Dashboard — Major Refactor + +## Context +После SSO-миграции и UX-фиксов выявлены структурные проблемы. 6 workstream'ов. + +## Subtasks + +### P0 — Критические баги +- [ ] **P0-1** — Удалить AI assistant (router/service/widget) +- [ ] **P0-2** — Починить Planner crash: `task.tags.length` → backend не возвращает `tags` +- [ ] **P0-3** — Расследовать пустые данные в проектах (user_id split после SSO?) +- [ ] **P0-4** — DevOps WIQL: account-wide sync (сейчас только один проект, нужны все) +- [ ] **P0-5** — Clone ADO work-item → Tasks (кнопка + endpoint) + +### P1 — UX +- [ ] **P1-6** — Reports: новый промпт (секции) + HTML/MD экспорт +- [ ] **P1-7** — Dashboard rework (hero strip, week chart, ADO items, activity feed) + +### P2 — Planka +- [ ] **P2-8** — Planka Docker + Apache proxy на /board/ +- [ ] **P2-9** — Sidebar: Planner → Tasks (внешний линк). Удалить PlannerView + TaskList/Card/Form + +## Decisions +- Menu label: **Tasks** (для Planka в sidebar) +- Planka DB: отдельный контейнер `planka-postgres` +- Старый Planner: удалить полностью, фрешстарт в Planka +- Reports export: только HTML + Markdown + +## Root causes найденные +- Crash: `web/src/components/tasks/TaskCard.vue:57` — `task.tags.length`, нет `tags` в backend `TaskOut` +- ADO: `src/services/azure_devops/client.py:54-64` — project-scoped WIQL URL +- AI assistant: 3 файла + App.vue + scheduler.py (anomaly_scan_job) diff --git a/99 Daily/2026-05-07.md b/99 Daily/2026-05-07.md index 2131a6a..a20092e 100644 --- a/99 Daily/2026-05-07.md +++ b/99 Daily/2026-05-07.md @@ -50,3 +50,9 @@ tags: [daily] - 11:28 | `cc-dashboard` - **Asked:** Configure SSO with user isolation, disable personal login, and migrate user vadymsamoilenko@oliver.agecny to SSO account VadymSamoilenko@oliver.agecny. - **Done:** Set up SSO in AI portal, added optical-dev dashboard as SPA, and fixed sidebar text color visibility issue in light theme. +- 11:57 (6min) | `aimpress` + - **Asked:** Why is the repository synchronization script not working? + - **Done:** Identified that sync_to_forgejo.sh lacks Full Disk Access permissions to external SSD, preventing execution. +- 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.