navidocs/server/migrations
Claude c0486e3f4d
[SESSION-3] Add organization timeline feature
- Database: activity_log table with indexes
- Backend: Activity logger service + timeline API
- Frontend: Timeline.vue with date grouping and filtering
- Integration: Upload route logs activity
- UI: Modern timeline with infinite scroll

Backend changes:
- migrations/010_activity_timeline.sql: Activity log schema
- services/activity-logger.js: Log events to timeline
- routes/timeline.js: GET /api/organizations/:orgId/timeline
- routes/upload.js: Integrate activity logging
- index.js: Register timeline route

Frontend changes:
- views/Timeline.vue: Timeline component with date grouping
- router.js: Add /timeline route with auth
- views/HomeView.vue: Add Timeline navigation button

Features:
- Reverse chronological event feed
- Date grouping (Today, Yesterday, This Week, etc.)
- Event type filtering (uploads, maintenance, etc.)
- Infinite scroll pagination
- User attribution
- Links to source documents

Resolves: Timeline feature spec
2025-11-13 12:38:02 +00:00
..
004_add_document_images.sql feat: Add image extraction design, database schema, and migration 2025-10-19 19:47:30 +02:00
005_auth_system.sql feat: Phase 1 - Authentication foundation 2025-10-21 10:11:34 +02:00
005_auth_system_down.sql feat: Phase 1 - Authentication foundation 2025-10-21 10:11:34 +02:00
006_system_settings.sql feat: Phase 3 - Admin settings system with encryption 2025-10-21 10:12:10 +02:00
007_system_admin_flag.sql feat: Phase 3 - Admin settings system with encryption 2025-10-21 10:12:10 +02:00
010_activity_timeline.sql [SESSION-3] Add organization timeline feature 2025-11-13 12:38:02 +00:00