Commit Graph

4 Commits

Author SHA1 Message Date
Luca Sacchi Ricciardi
13c9bd5029 feat(frontend): add notebook selection and management UI
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / lint (push) Has been cancelled
Implement complete frontend integration for NotebookLM + RAG:

New Components:
- Notebooks.tsx: Full notebook management page
  - View indexed notebooks with stats
  - Sync available notebooks from NotebookLM
  - Delete notebook indexes
  - Tab-based interface (Indexed/Available)

Updated Components:
- Chat.tsx: Enhanced with notebook selector
  - Collapsible notebook selection panel
  - Multi-notebook selection with checkboxes
  - 'Include documents' toggle
  - Visual indicators for notebook sources in chat
  - Shows selected notebook count in header

New Store:
- notebookStore.ts: Zustand store for notebook state
  - Manage selected notebooks
  - Track sync status
  - Fetch indexed/available notebooks
  - Handle sync/delete operations

API Client Updates:
- Added notebook-related endpoints:
  - getNotebooks(), getIndexedNotebooks()
  - syncNotebook(), deleteNotebookIndex()
  - getSyncStatus(), queryWithNotebooks()

Type Definitions:
- Notebook, IndexedNotebook, SyncStatus
- SyncResponse, NotebookLMSource
- Extended Source types for notebook metadata

UI/UX:
- Added Notebooks to navigation menu
- Stats cards showing indexed/total sources/chunks
- Color-coded source badges (blue for notebooks)
- Warning when no notebooks indexed
- Loading states for all operations

Closes frontend integration requirement
2026-04-06 18:20:06 +02:00
Luca Sacchi Ricciardi
b7ef07dd34 refactor: rename project from AgenticRAG to DocuMente
## Changes
- Update all references from AgenticRAG to DocuMente
- Update README.md with new project description and structure
- Update LICENSE with new project name
- Update API title and descriptions in main.py
- Update frontend components (Layout, Login, Dashboard, Settings)
- Update static HTML page
- Update all documentation files (prd-v2.md, frontend-plan.md, etc.)
- Update test files with new project name
- Update docker-compose.yml, Dockerfile, requirements.txt

## SEO Benefits
- DocuMente combines 'Documento' and 'Mente' (Italian for Document and Mind)
- Memorable and brandable name
- Reflects the core functionality: AI-powered document intelligence

🎉 Project officially renamed to DocuMente!
2026-04-06 13:54:57 +02:00
Luca Sacchi Ricciardi
ee13751a72 docs(frontend): add comprehensive README with setup instructions
- Installation and development guide
- Project structure documentation
- API endpoints reference
- Troubleshooting section
2026-04-06 11:46:12 +02:00
Luca Sacchi Ricciardi
74cefd3366 feat(frontend): implement complete React/Vite frontend
## Features
- React 18 + TypeScript + Vite setup
- Tailwind CSS + shadcn/ui components
- Complete authentication flow (API Key)
- Dashboard with stats and recent documents
- Document upload (drag & drop) and management
- Chat interface with RAG support
- Settings page (theme, provider selection)
- Responsive design with mobile support

## Components
- Layout with sidebar navigation
- Button, Card, Input, Label, Separator (shadcn)
- Protected and public routes

## State Management
- Zustand stores: auth, chat, settings
- Persisted to localStorage

## API Integration
- Axios client with interceptors
- All API endpoints integrated
- Error handling and loading states

## Pages
- Login: API key authentication
- Dashboard: Overview and stats
- Documents: Upload, list, delete
- Chat: Conversational interface with sources
- Settings: Theme and provider config

🎨 Production-ready build (339KB gzipped)
2026-04-06 11:44:46 +02:00