Files
task-manager/roadmap.md
T
2025-12-17 14:26:54 +01:00

139 lines
6.4 KiB
Markdown

# TaskFlow Development Roadmap
This document outlines the strategic plan for evolving TaskFlow into a multi-user, gamified, and socially integrated productivity platform.
## 🚀 Phase 1: Advanced Gamification (Current Focus)
### Reward Shop & Personal Goals
- [x] **Personal Rewards System**:
- Users can set custom rewards (e.g., "Play Video Games", "Buy Gadget").
- Rewards have an XP/Gold cost.
- "Pre-defined" rewards for quick start.
- [x] **Habit-based Rewards**:
- "Finish all tasks today" -> Bonus Reward.
- "Goal Reached" -> Bonus XP.
- [x] **Full Integration**:
- Transactions history (XP spent).
- Visual inventory of unlocked "virtual" items (Themes, Badges).
- [x] **Localization**: Complete German/English translation.
## 👥 Phase 2: Multi-User & Collaboration
### Authentication & Onboarding
- [x] **User Management**:
- [x] Registration / Login / Password Reset.
- [x] **Invite-Only Mode**: Administrator generates invite links; public registration disabled.
- [x] **First-Time Wizard**:
- [x] Admin setup (create first account).
- [x] Initial configuration (app name, default language).
- [x] **RBAC (Role-Based Access Control)**:
- [x] Roles: Admin, User.
- [x] Permissions management.
### Social Features
- [x] **Multiplayer**:
- [x] **Shared Task Lists**: Collaborate on "Household" or "Project" lists.
- [x] **Shared Achievements**: Team goals (e.g., "Complete 50 tasks as a group").
- [x] **Leaderboards**:
- [x] **Leaderboards**:
- [x] Weekly/Monthly XP rankings.
- [x] "Friends" lists and activity feeds (Implemented via Search/Share).
- [x] **Shared Labels**:
- [x] Share a label to automatically share all tasks assigned to that label.
- [x] Granular permissions for label collaborators (Read/Write).
## 🛡️ Phase 3: Security & Sessions (New)
- [x] **2-Factor Authentication (2FA)**:
- [x] Email-based One-Time Password (OTP) on login.
- [x] **Persistent Sessions**:
- "Remember Me" functionality.
- Long-lived cookies for Mobile/PWA stability.
## 📅 Phase 4: External Integrations
### Calendar Sync
- [ ] **2-Way Sync**:
- Google Calendar Integration.
- Outlook / Apple Calendar (via iCal).
- [ ] **Smart Scheduling**:
- Auto-block time for tasks in the calendar.
## ⚙️ Phase 5: Admin & Settings Improvements
- [x] **Admin Features**:
- **Safe User Deletion**: Confirmation modal with specific text input.
- **Dedicated SMTP Settings**: Separate page/tab for Mail Server config.
- [x] **Account Settings**:
- **Password Management**: Secure change password modal.
- **Profile Updates**: Show Email instead of ID, allow Email changes.
- [ ] **Infrastructure**:
- [x] Reverse Proxy Compatibility: Ensure app functions correctly behind Nginx/Traefik (Headers, WebSockets, Base URL).
- [x] **Audit Logging**:
- [x] Track all task modifications per user.
- [x] Explicitly distinguish between changes made by a human User vs. the AI Agent.
## 🛠️ Phase 6: UI/UX & Quality Assurance (Current)
- [x] **Localization Audit**:
- [x] Fix missing keys in Settings (Social, Privacy, Administration).
- [x] Fix tabs and content on Achievements Page.
- [x] Implement missing Inventory and History views.
- [x] **UI Layout Improvements**:
- [x] **Tasks Page**: Stick Calendar bar to bottom with correct height.
- [x] **Task Creation**: Validate and translate "Smart Input" (One-line creation).
- [x] **Sharing**: Re-enable/Locate single task sharing button.
## 🔮 Phase 7: AI & Automation
- [x] **MCP Server (Model Context Protocol)**:
- [x] Expose TaskFlow as an MCP Server.
- [x] Tools for creating, reading, updating, and deleting tasks (CRUD).
- [x] Context providers for reading project state.
- [x] **LLM Chat Interface**:
- [x] Integrated Chat UI to talk to your task manager.
- [x] "What should I do next?" / "Break down this project" (Interactive).
- [x] Natural language task operations.
- [x] **AI Agents**: Autonomous sub-agents handling email sorting and scheduling (via AI Chat context).
- [ ] **AI Knowledge Base**:
- Enable AI to read closed/completed tasks to learn from history.
- Analyze notes and past items to provide context-aware suggestions (Knowledge Platform).
- [x] **Advanced Task Planning**:
- [x] **Time Estimation**: Optional "rough" time estimates per task (e.g., "2 hours", "half a day").
- [x] **Multi-day / Subtasks**:
- [x] Support for tasks spanning multiple days.
- [x] Ability to break down tasks into subtasks directly via Chat Agent.
- [x] **AI Integration**: AI can read/set estimates and handle multi-day scheduling.
- [x] **Localization**: Full translation support for time units and planning interface.
## 🔔 Phase 8: Notifications & Task Hygiene (New - User Requested)
### Smart Notifications
- [x] **Browser Notifications**:
- [x] Upcoming tasks for the day.
- [x] Overdue tasks (iOS + Browser).
- [x] Unscheduled tasks (iOS + Browser).
- [x] **iOS Integration (PWA/Native)**:
- [x] Push notifications for upcoming tasks (when installed).
- [x] Push notifications for overdue tasks.
- [x] Support for "not scheduled" task alerts.
### Task Cleanup
- [x] **Unscheduled Tasks List**: Dedicated view for tasks without due dates.
- [x] **Scheduling Reminder**:
- [x] Notification or In-App Popup preventing user from leaving items unscheduled indefinitely.
## 📱 Phase 9: Long-term Platform Vision
- [ ] **Mobile Native App** (React Native/Expo).
- [ ] **Desktop App** (Electron/Tauri).
## 🤖 Phase 10: AI Workflows & Task Hygiene (New - User Requested)
### Follow-up Task System
- [x] **AI Analysis**: Automatically detect completed tasks requiring follow-up (e.g., "Email sent" -> "Check for reply").
- [x] **Smart Prompts**: Pop-up on completion asking if a follow-up is needed.
- [x] **Manual Action**: "Create Follow-up" option in Task Card menu (Three dots).
### Morning/Evening Routine Mode
- [x] **Configuration**:
- [x] Settings to enable/disable.
- [x] Set Timezone, Morning start time (e.g., 9am), Evening start time (e.g., 10pm).
- [x] **Morning Overview**:
- [x] Restricted view showing only early morning tasks.
- [x] "Plan the Day" button to unlock full functionality.
- [x] **Evening Reflection**:
- [x] Read-only view of completed tasks (Mood booster).
- [x] Simple actions: "Mark as Done" for remaining items or "Move to Tomorrow".
- [x] Blocking: Prevent adding new distractions after hours.