diff --git a/frontend/src/views/KnowledgeView.vue b/frontend/src/views/KnowledgeView.vue index a5c9f31..201c125 100644 --- a/frontend/src/views/KnowledgeView.vue +++ b/frontend/src/views/KnowledgeView.vue @@ -10,6 +10,7 @@ import { User, MapPin, List, + Workflow, Search, Share2, ChevronLeft, @@ -23,7 +24,7 @@ const router = useRouter(); interface KnowledgeItem { id: number; - note_type: "note" | "person" | "place" | "list" | "task"; + note_type: "note" | "person" | "place" | "list" | "task" | "process"; title: string; snippet: string; tags: string[]; @@ -61,7 +62,7 @@ interface UpcomingEvent { // ─── Filter state ───────────────────────────────────────────────────────────── -const activeType = ref<"" | "note" | "person" | "place" | "list" | "task" | "plan">(""); +const activeType = ref<"" | "note" | "person" | "place" | "list" | "task" | "plan" | "process">(""); const activeTag = ref(""); const sortMode = ref<"modified" | "created" | "alpha" | "type">("modified"); const searchQuery = ref(""); @@ -69,8 +70,8 @@ let searchDebounce: ReturnType | null = null; // ─── Type counts ────────────────────────────────────────────────────────────── -interface KnowledgeCounts { note: number; person: number; place: number; list: number; task: number; plan: number; total: number } -const typeCounts = ref({ note: 0, person: 0, place: 0, list: 0, task: 0, plan: 0, total: 0 }); +interface KnowledgeCounts { note: number; person: number; place: number; list: number; task: number; plan: number; process: number; total: number } +const typeCounts = ref({ note: 0, person: 0, place: 0, list: 0, task: 0, plan: 0, process: 0, total: 0 }); async function fetchCounts() { try { @@ -403,6 +404,10 @@ onUnmounted(() => { List + @@ -417,11 +422,11 @@ onUnmounted(() => { {{ typeCounts.total }}