mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
refactor(admin): consolidate assistant + feedback-quality into one Coach section
The ai-quality, assistant, and coach-feedback admin sections were three separate navigation entries for one coherent coach-quality concern. Fold them into a single "Coach" section that stacks the assistant surface toggles, the server-key + module-availability operator config, and both feedback-quality tables (Coach + Insights). Drop the three old slugs and their section copy; add admin.section.coach.* across all six locales.
This commit is contained in:
1 parent
930c4a75dd
commit
3a29387393
10 files changed
+45
-110
No files matched your search
@@ -23,14 +23,12 @@ import {
|
||||
Info,
|
||||
KeyRound,
|
||||
Inbox,
|
||||
MessageSquare,
|
||||
Plug,
|
||||
Radio,
|
||||
ScrollText,
|
||||
Server,
|
||||
Settings,
|
||||
ShieldAlert,
|
||||
SlidersHorizontal,
|
||||
Sparkles,
|
||||
Ticket,
|
||||
Users,
|
||||
@@ -76,21 +74,14 @@ export const ADMIN_SECTIONS: readonly AdminSection[] = [
|
||||
titleKey: "admin.section.integrations.title",
|
||||
icon: Plug,
|
||||
},
|
||||
// v1.18.1 — single "Coach" entry replacing the former ai-quality,
|
||||
// assistant, and coach-feedback trio. The section body stacks all
|
||||
// three surfaces so the coach-quality picture lives in one place.
|
||||
{
|
||||
slug: "ai-quality",
|
||||
titleKey: "admin.section.ai-quality.title",
|
||||
slug: "coach",
|
||||
titleKey: "admin.section.coach.title",
|
||||
icon: Sparkles,
|
||||
},
|
||||
{
|
||||
slug: "assistant",
|
||||
titleKey: "admin.section.assistant.title",
|
||||
icon: SlidersHorizontal,
|
||||
},
|
||||
{
|
||||
slug: "coach-feedback",
|
||||
titleKey: "admin.section.coach-feedback.title",
|
||||
icon: MessageSquare,
|
||||
},
|
||||
{
|
||||
slug: "feedback",
|
||||
titleKey: "admin.section.feedback.title",
|
||||
|
||||
Reference in new issue
Block a user