template-saas/apps/database/ddl
rckrdmrd 40d57f8124 feat: Add AI Integration, Notifications UI and Settings Page
FASE 1: Notifications UI
- Add NotificationBell, NotificationDrawer, NotificationItem components
- Integrate notification bell in DashboardLayout header
- Real-time unread count with polling

FASE 2: AI Integration Backend
- Add AI module with OpenRouter client
- Endpoints: POST /ai/chat, GET /ai/models, GET/PATCH /ai/config
- GET /ai/usage, GET /ai/usage/current, GET /ai/health
- Database: schema ai with configs and usage tables
- Token tracking and cost calculation

FASE 3: Settings Page Refactor
- Restructure with tabs navigation
- GeneralSettings: profile, organization, appearance
- NotificationSettings: channels and categories toggles
- SecuritySettings: password change, 2FA placeholder, sessions

Files created: 25+
Endpoints added: 7
Story Points completed: 21

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 07:04:29 -06:00
..
schemas feat: Add AI Integration, Notifications UI and Settings Page 2026-01-07 07:04:29 -06:00
00-extensions.sql feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00
01-schemas.sql feat: Add AI Integration, Notifications UI and Settings Page 2026-01-07 07:04:29 -06:00
02-enums.sql feat: Add AI Integration, Notifications UI and Settings Page 2026-01-07 07:04:29 -06:00
03-functions.sql feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00