project-nomad/admin/inertia/components/chat
Benjamin Smith c8db402cd0
feat(KnowledgeBase): add document viewer, download, metadata, and sorting (#721)
Rebuilt on top of dev's RFC #883 state-machine UI rather than the now-defunct
StoredFile shape:

- Extend StoredFileInfo with fileName/size/uploadedAt/isUserUpload
- Populate metadata from on-disk stats in RagService.getStoredFiles
- Add fileSourceSchema validator + getFileContent/downloadFile endpoints
  scoped to the uploads directory only (tighter than the original PR — matches
  docs_service traversal pattern)
- KnowledgeBaseModal: sortable Size and Uploaded columns; View/Download
  buttons on upload-bucket rows; new FileViewerModal for in-browser text
  preview. Bucket grouping preserved — sort applies within each bucket.
- Use formatBytes from ~/lib/util rather than redefining
2026-06-19 21:42:17 -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
KbPolicyPromptBanner.tsx fix(KB): silent maybe-later error + redundant prompt-state refetches (PR #899 review) 2026-05-20 10:16:00 -07:00
KnowledgeBaseModal.tsx feat(KnowledgeBase): add document viewer, download, metadata, and sorting (#721) 2026-06-19 21:42:17 -07:00
index.tsx feat(chat): confirm-on-switch + one-chat-model-at-a-time enforcement 2026-05-20 10:16:00 -07:00