Last Updated: December 22, 2025 Status: Production-Ready Platform Documentation Version: 1.0
This comprehensive feature documentation catalogs every single feature, capability, and functionality in the MovaLab platform. The documentation is organized into 4 parts for readability while maintaining complete coverage.
Total Coverage:
- ✅ 40 Permissions across 12 categories
- ✅ 48 Database tables with complete schema
- ✅ 80+ API routes with full reference
- ✅ 100+ UI components
- ✅ 40+ page routes
- ✅ 20+ service layer modules
- ✅ Complete architectural patterns
Focus: Authentication, RBAC, Accounts, Projects, Tasks
Covers:
-
Authentication & User Management
- Authentication system (3 client types)
- User registration & approval workflow
- User profiles with workload sentiment
-
Role-Based Access Control (RBAC)
- 40 Permissions (post-Phase 9 consolidation)
- Visual org chart editor
- Hybrid permission model (base + override + context)
- Department management with dynamic membership
- Superadmin setup
-
Account & Project Management
- Account management with proportional capacity
- Project management (workflow-driven status)
- Task management (List/Kanban/Gantt views)
- Project updates feed
- Project issues/blockers
-
Row-Level Security (RLS)
- Database-level security enforcement
- RLS patterns and best practices
- Security guarantees
Statistics:
- 5 User management features
- 40 Permissions documented
- Account/project/task complete workflows
- 3 task view types
Focus: Workflow system, time entries, capacity, client features
Covers: 5. Workflow System
- Visual workflow builder (8 node types)
- Drag-and-drop canvas (@xyflow/react)
- Workflow execution engine
- Multi-path workflow support
- Node assignment enforcement (Phase 9)
- Inline form builder (12 field types)
-
Time Tracking & Capacity Management
- Clock widget (auto-logout protection)
- Time Entries Page (Phase 9) with 3 tabs
- 14-day edit window enforcement
- Drag-to-set availability calendar
- Proportional capacity allocation
- 5 capacity view levels
-
Client Portal
- Email-based client invitations
- Client feedback system (1-10 ratings)
- Client project view with approval actions
- Hardcoded client permissions
Statistics:
- 8 Workflow node types
- 12 Form field types
- Time tracking with charts/visualizations
- Proportional capacity algorithm
- Client satisfaction ratings
Focus: Dashboards, admin tools, UI component catalog
Covers: 8. Dashboards
- Main dashboard (5 sections)
- Welcome page with newsletters
- Performance optimizations
-
Admin Features
- Admin hub (10+ admin features)
- Database management interface
- RBAC diagnostics tooling
- Newsletter management
- Milestone management
-
UI Components & Libraries
- 26 shadcn/ui components
- Specialized components:
- Kanban Board (@dnd-kit)
- Gantt Chart (custom)
- Workflow Canvas (@xyflow/react)
- Org Chart Canvas (@xyflow/react)
- 100+ application-specific components
- Component catalog organized by feature
-
Navigation & Routing
- 40+ page routes
- Public vs authenticated routes
- Admin route group
-
Analytics & Reporting
- 4 analytics scope levels
- Organization capacity widgets
- Planned features
Statistics:
- 26 shadcn/ui components
- 4 specialized visualizations
- 100+ application components
- 40+ routes
- 15+ org chart components
Focus: Database schema, API reference, architectural patterns
Covers: 13. Database Schema - Complete 48-table inventory - Field definitions and constraints - RLS policy documentation - Database views (weekly_capacity_summary) - Database functions (2 total)
-
API Routes Reference
- 80+ API routes categorized
- Authentication & Users (5 routes)
- Accounts (12 routes)
- Projects (14 routes)
- Tasks (4 routes)
- Workflows (20+ routes)
- Roles & Departments (8 routes)
- Capacity & Time (15 routes)
- Client Portal (6 routes)
- Admin & Diagnostics (5 routes)
-
Architectural Patterns
- Service layer pattern (20+ services)
- Hybrid permission system (3 layers)
- Row-level security patterns
- Dynamic department membership
- Proportional capacity allocation
-
Development & Debugging
- Development commands
- Environment variables
- Performance optimizations
- Database indexes
-
Key Distinctions
- Kanban vs Workflow (task-level vs project-level)
- Forms (inline only)
- Client access (hardcoded)
Statistics:
- 48 Database tables
- 80+ API routes
- 20+ Service files
- Complete RLS coverage
- 2 Database functions
| Feature Area | Documentation Part | Key Sections |
|---|---|---|
| Authentication | Part 1 | Section 1 |
| Permissions & RBAC | Part 1 | Section 2 |
| Accounts & Projects | Part 1 | Section 3 |
| Tasks | Part 1 | Section 3.3 |
| Workflows | Part 2 | Section 5 |
| Time Tracking | Part 2 | Section 6 |
| Client Portal | Part 2 | Section 7 |
| Dashboards | Part 3 | Section 8 |
| Admin Tools | Part 3 | Section 9 |
| UI Components | Part 3 | Section 10 |
| Database Schema | Part 4 | Section 13 |
| API Routes | Part 4 | Section 14 |
| Architecture | Part 4 | Section 15 |
| Role | Relevant Features | Documentation Parts |
|---|---|---|
| Superadmin | All features + admin tools | All parts |
| Executive | Analytics, capacity, all projects | Parts 1, 2, 3 |
| Project Manager | Projects, tasks, workflows, capacity | Parts 1, 2 |
| Team Member | Assigned projects/tasks, time tracking | Parts 1, 2 |
| Client | Client portal, feedback, approvals | Part 2 (Section 7) |
| Developer | Database, API, architecture | Part 4 |
| Phase | Features | Documentation |
|---|---|---|
| Phase 1-7 | Core features, RBAC, projects | Parts 1, 3 |
| Phase 8 | RBAC consolidation (136→58 permissions) | Part 1 (Section 2) |
| Phase 9 | Final consolidation (58→40), Time Entries Page, Node Assignment | Parts 1, 2 |
| Phase 10+ | Future enhancements | Planned features noted |
Goal: Understand full platform capabilities
- Start with this index for overview
- Review Part 1 for core business features
- Review Part 2 for workflow & time tracking
- Review Part 3 for dashboards & admin tools
- Skip Part 4 (technical details)
Key Sections:
- Section 3: Account & Project Management
- Section 5: Workflow System
- Section 6: Time Tracking & Capacity
Goal: Feature planning and roadmap
- Read all 4 parts for complete understanding
- Focus on Sections 1-12 for user-facing features
- Review Section 17 (Key Distinctions) for important design decisions
- Note "Planned Features" sections
Key Sections:
- All user-facing features (Sections 1-12)
- Analytics & Reporting (Section 12)
- Key Distinctions (Section 17)
Goal: Implementation details and architecture
- Start with Part 4 (Database & Architecture)
- Review Part 1 for RBAC implementation
- Review Part 2 for workflow engine details
- Use Part 3 for component reference
- Refer to
/docs/architecture/CLAUDE.mdfor development guide
Key Sections:
- Section 13: Database Schema
- Section 14: API Routes Reference
- Section 15: Architectural Patterns
- Section 16: Development & Debugging
Goal: Complete test coverage
- Use Parts 1-3 for feature test cases
- Reference Section 14 (API Routes) for integration tests
- Review Section 2 (RBAC) for permission testing
- Check Section 16 for test commands
Key Sections:
- Section 2: RBAC (permission testing)
- All feature sections for functional tests
- Section 14: API Routes (integration tests)
Goal: UI/UX components and patterns
- Review Part 3 for all UI components
- Focus on Section 10 (UI Components)
- Review Section 8 (Dashboards) for layouts
- Check Section 11 (Navigation) for routing
Key Sections:
- Section 8: Dashboards
- Section 10: UI Components
- Section 11: Navigation & Routing
Core Documentation:
/docs/architecture/CLAUDE.md- Complete development guide with patterns/docs/security/SECURITY.md- Security architecture and best practices/README.md- Product overview and setup/CONTRIBUTING.md- Development setup and contribution guidelines
Specialized Docs:
/docs/workflows/- Workflow system documentation/docs/testing/- Testing strategies and reports
Community:
- Discord Community - Get help, share feedback
- Initial comprehensive feature documentation
- Complete coverage of all platform features
- Split into 4 parts for readability
- Covers post-Phase 9 RBAC consolidation (40 permissions)
- Includes Time Entries Page (Phase 9 feature)
- Documents node assignment enforcement (Phase 9)
Updating This Documentation:
- When adding new features, update relevant part
- Update statistics in summary sections
- Add to Quick Reference tables
- Update version history
- Coordinate with CLAUDE.md updates
Review Schedule:
- After each major feature release
- After RBAC changes
- Quarterly comprehensive review
End of Index - Start with Part 1 →