Skip to content

feat: frontend UI — chat, knowledge base, design system#11

Merged
mrjunos merged 1 commit into
mainfrom
feat/frontend-ui
Apr 8, 2026
Merged

feat: frontend UI — chat, knowledge base, design system#11
mrjunos merged 1 commit into
mainfrom
feat/frontend-ui

Conversation

@mrjunos

@mrjunos mrjunos commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Complete React 19 + Vite + TypeScript frontend with Tailwind v4
  • Chat screen: markdown rendering, source citations, suggestion blocks, session management
  • Knowledge Base screen: document grid with drag-and-drop upload modal
  • "Nocturnal Architect" design system: deep dark theme, tonal surface hierarchy, ambient glow
  • Vite proxy config routes /api to backend at :8000

Screens

  • Chat (/) — primary interface, auto-resize input, loading dots, suggestion chips
  • Knowledge Base (/knowledge) — document cards with indexed status, upload modal with drag-and-drop

How to run

cd frontend && npm install && npm run dev
# Backend must be running on :8000

Test plan

  • npm run build — compiles without errors
  • tsc --noEmit — no type errors
  • Manual: open localhost:5173, verify health indicator shows "CONNECTED"
  • Manual: send a chat message, verify response with sources renders correctly
  • Manual: upload a document via Knowledge Base, verify it appears in the grid

🤖 Generated with Claude Code

React 19 + Vite + TypeScript + Tailwind v4 frontend with:
- Shell layout with sidebar navigation and health status indicator
- Chat screen with markdown rendering, source citations, suggestion
  blocks, loading states, and session management
- Knowledge Base screen with document grid and drag-and-drop upload modal
- Toast notification system
- Vite proxy to backend API (/api → localhost:8000)
- "Nocturnal Architect" design system (deep dark, tonal hierarchy,
  no-line rule, ambient glow)

Also includes design system reference files (DESIGN.md, code.html,
screen.png) and UI generation prompts used during development.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mrjunos
mrjunos merged commit 309b0b9 into main Apr 8, 2026
1 check passed
@mrjunos
mrjunos deleted the feat/frontend-ui branch April 8, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant