From 8f02d1c6cce79bd3205aa8bd8f7fd29e5099f60a Mon Sep 17 00:00:00 2001 From: chattie Date: Sat, 22 Aug 2026 19:13:31 +0200 Subject: [PATCH] feat(F-170): completed feature --- backlog/features.json | 12 +++++---- .../src/app/(dashboard)/categories/page.tsx | 26 +++++++++++++------ project/apps/admin/src/lib/api-client.ts | 1 + work/artifacts/F-170/architect.md | 3 +++ work/artifacts/F-170/documenter.md | 3 +++ work/artifacts/F-170/implementer.md | 3 +++ work/artifacts/F-170/leader-close.json | 1 + work/artifacts/F-170/qa.json | 1 + work/artifacts/F-170/reviewer.json | 1 + work/artifacts/F-170/security.json | 1 + work/current.md | 4 +-- work/runtime-status.json | 24 ++++++++--------- 12 files changed, 53 insertions(+), 27 deletions(-) create mode 100644 work/artifacts/F-170/architect.md create mode 100644 work/artifacts/F-170/documenter.md create mode 100644 work/artifacts/F-170/implementer.md create mode 100644 work/artifacts/F-170/leader-close.json create mode 100644 work/artifacts/F-170/qa.json create mode 100644 work/artifacts/F-170/reviewer.json create mode 100644 work/artifacts/F-170/security.json diff --git a/backlog/features.json b/backlog/features.json index 35a89b9..2bfb077 100644 --- a/backlog/features.json +++ b/backlog/features.json @@ -6902,13 +6902,15 @@ "description": "Categories admin delete action does not work; restore guarded deletion and clear error feedback.", "priority": "high", "risk": "med", - "status": "pending", + "status": "done", "created_at": "2026-08-22", "gates": { - "reviewer": false, - "security": false, - "qa": false - } + "reviewer": true, + "security": true, + "qa": true, + "close": true + }, + "completed_at": "2026-08-22T17:13:31Z" }, { "id": "F-171", diff --git a/project/apps/admin/src/app/(dashboard)/categories/page.tsx b/project/apps/admin/src/app/(dashboard)/categories/page.tsx index 8b974a8..9a2d8e4 100644 --- a/project/apps/admin/src/app/(dashboard)/categories/page.tsx +++ b/project/apps/admin/src/app/(dashboard)/categories/page.tsx @@ -12,7 +12,7 @@ function slugify(text: string): string { .replace(/^-+|-+$/g, ''); } -function CategoryRow({ cat, onEdit, onDelete }: { cat: Category; onEdit: (c: Category) => void; onDelete: (id: string) => void }) { +function CategoryRow({ cat, onEdit, onDelete, deleting }: { cat: Category; onEdit: (c: Category) => void; onDelete: (category: Category) => void; deleting: boolean }) { return ( @@ -45,7 +45,7 @@ function CategoryRow({ cat, onEdit, onDelete }: { cat: Category; onEdit: (c: Cat -