From beb0ef521b61517275763d1e841cb5d70160f600 Mon Sep 17 00:00:00 2001 From: Catherine Renelle <32781029+catrenelle@users.noreply.github.com> Date: Sun, 15 Feb 2026 23:54:51 -0500 Subject: [PATCH] Restructure AI settings into 3 cards and add AI Chat enable/disable toggle Splits the AI tab into Configuration, Categorization, and Chat sections with independent feature toggles. Both toggles are disabled when Ollama URL or model is not configured. ChatPanel FAB is gated on isChatEnabled. Co-Authored-By: Claude Opus 4.6 --- frontend/src/components/layout/AppLayout.vue | 16 +- frontend/src/types/index.ts | 1 + frontend/src/views/settings/SettingsView.vue | 137 +- .../Services/AiCategorizationService.cs | 7 +- src/Purrse.Core/DTOs/AiCategorizationDtos.cs | 2 + .../Models/AiCategorizationSettings.cs | 1 + ...0260216044806_AddIsChatEnabled.Designer.cs | 1573 +++++++++++++++++ .../20260216044806_AddIsChatEnabled.cs | 29 + .../PurrseDbContextModelSnapshot.cs | 3 + 9 files changed, 1709 insertions(+), 60 deletions(-) create mode 100644 src/Purrse.Data/Migrations/20260216044806_AddIsChatEnabled.Designer.cs create mode 100644 src/Purrse.Data/Migrations/20260216044806_AddIsChatEnabled.cs diff --git a/frontend/src/components/layout/AppLayout.vue b/frontend/src/components/layout/AppLayout.vue index 5fe39ee..33aa024 100644 --- a/frontend/src/components/layout/AppLayout.vue +++ b/frontend/src/components/layout/AppLayout.vue @@ -122,15 +122,16 @@ - +