project-nomad/admin/inertia/components/chat
Chris Sherwood 25d05c2a6b feat(KB): group admin docs into single row in Stored Files (RFC #883 §9)
Project NOMAD's bundled docs (`/app/docs/*.md` and `README.md`) each
embed as their own KB source — currently rendering as 12+ individual
rows that swamp user-uploaded content in the Stored Files table.
Collapse them into one informational row:

> Project NOMAD documentation · 12 files · Managed by NOMAD

The admin-docs row hides the Delete button (those files would be
re-embedded on the next sync anyway, so deleting is a footgun). User
uploads and ZIMs keep their existing per-row Delete UX.

Also adds deterministic sort: ZIMs → user uploads → admin docs → other,
alphabetical within each bucket. Pure frontend change — `/api/rag/files`
response shape unchanged.

Decision logic extracted to `kb_file_grouping.ts` with 9 unit tests
covering bucket classification, sort order, count noun pluralization,
and empty-input handling.
2026-05-14 12:26:58 -07:00
..
ChatAssistantAvatar.tsx feat: [wip] native AI chat interface 2026-01-31 20:39:49 -08:00
ChatButton.tsx fix(UI): switch to tabler icons only for consistency 2026-01-31 20:39:49 -08:00
ChatInterface.tsx feat(AI): enable remote AI chat host 2026-04-03 14:26:50 -07:00
ChatMessageBubble.tsx feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
ChatModal.tsx feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
ChatSidebar.tsx feat: switch all PNG images to WEBP (#575) 2026-04-03 14:26:50 -07:00
KnowledgeBaseModal.tsx feat(KB): group admin docs into single row in Stored Files (RFC #883 §9) 2026-05-14 12:26:58 -07:00
index.tsx feat(AI): enable remote AI chat host 2026-04-03 14:26:50 -07:00