Commit Graph

12 Commits

Author SHA1 Message Date
Claude AI
20e5c2d13b feat(frontend): add GlobalVariables management page
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:16:20 +00:00
Claude AI
76c48ff78f feat(fase4): add FlowTemplates frontend page
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:13:10 +00:00
Claude AI
7a7c961d35 feat(fase3): add Queues and Supervisor routes to MainLayout
- Add TeamOutlined and BarChartOutlined icons
- Import Queues and SupervisorDashboard pages
- Add /queues and /supervisor menu items
- Add routes for Queues and SupervisorDashboard

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:00:52 +00:00
Claude AI
f76c9bb3f4 feat(fase3): enhance Inbox with transfers, notes, and quick replies
Add comprehensive agent inbox functionality including:
- Status filter dropdown to filter conversations by bot/waiting/active/resolved
- Priority tags displayed in conversation list for non-normal priorities
- Internal notes feature with visual distinction (orange styling, dashed border)
- Quick replies panel showing shortcut tags with tooltip previews
- Transfer modal for moving conversations to queues or agents
- Transfer to bot action for returning conversations to bot handling
- Resolve conversation action to close conversations
- Helper functions for message styling (background, color, border)
- Refactored render functions for improved code organization

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 10:59:49 +00:00
Claude AI
9a640b7136 feat(fase3): add Supervisor Dashboard frontend
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 10:59:26 +00:00
Claude AI
aadb98571c feat(fase3): add Queue management frontend page
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 10:59:25 +00:00
Claude AI
363e332f29 feat(phase2): integrate flow engine and add flows navigation
- Add FLOW_ENGINE_URL to API Gateway config
- Integrate flow engine in message handler (BOT status only)
- Add /flows routes to MainLayout with FlowList and FlowBuilder
- Add Flujos menu item with ApartmentOutlined icon

This completes Phase 2: Flow Engine Básico

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 10:24:08 +00:00
Claude AI
c97d380635 feat(phase2): add Flow Builder UI and internal flow routes
- Add FlowBuilder.tsx with React Flow visual editor
- Add FlowList.tsx for flow management
- Add /internal/flow/send endpoint for flow-engine messaging
- Add reactflow dependency to frontend

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 10:23:02 +00:00
Claude AI
dcb7fb5974 feat: add Layer 3 - API Gateway main app, WhatsApp routes, Frontend pages
API Gateway:
- main.py with FastAPI app, CORS, health endpoints
- WhatsApp routes: accounts CRUD, conversations, messages, internal events
- WhatsApp schemas for request/response validation

Frontend:
- Login page with register option for first admin
- MainLayout with sidebar navigation and user dropdown
- Dashboard with statistics cards (accounts, conversations)
- WhatsApp Accounts page with QR modal for connection
- Inbox page with conversation list and real-time chat

Full feature set for Fase 1 Foundation complete.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 10:01:06 +00:00
Claude AI
7042aa2061 feat: add Layer 2 - WhatsApp Core logic, API Gateway models/auth, Frontend core
WhatsApp Core:
- SessionManager with Baileys integration for multi-account support
- Express server with REST API and Socket.IO for real-time events
- Session lifecycle management (create, disconnect, delete)
- Message sending with support for text, image, document, audio, video

API Gateway:
- Database models: User, WhatsAppAccount, Contact, Conversation, Message
- JWT authentication with access/refresh tokens
- Auth endpoints: login, refresh, register, me
- Pydantic schemas for request/response validation

Frontend:
- React 18 app structure with routing
- Zustand auth store with persistence
- API client with automatic token handling
- Base CSS and TypeScript declarations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 09:55:10 +00:00
Claude AI
31d68bc118 feat: add Layer 1 foundation - Docker, WhatsApp Core, API Gateway, Frontend setup
- docker-compose.yml with PostgreSQL, Redis, all services
- nginx/nginx.conf reverse proxy configuration
- services/whatsapp-core: package.json, tsconfig.json, Dockerfile
- services/api-gateway: requirements.txt, Dockerfile, app/__init__.py
- frontend: package.json, tsconfig.json, vite.config.ts, index.html, Dockerfile, nginx.conf

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 09:45:00 +00:00
Claude AI
a92a7efccc Initial commit: Documentación completa del proyecto WhatsApp Centralizado
- README principal con descripción del proyecto
- Documento de diseño completo (arquitectura, DB, flujos)
- Documentación de API REST y WebSocket
- Guía del Flow Builder (30+ tipos de nodos)
- Documentación de integración con Odoo
- Guía de despliegue con Docker
- Esquema de base de datos
- Estructura de carpetas del proyecto
- Archivo .env.example con todas las variables

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 09:29:57 +00:00