Files
2025-12-17 14:26:54 +01:00

6.4 KiB

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

  • 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.
  • Habit-based Rewards:
    • "Finish all tasks today" -> Bonus Reward.
    • "Goal Reached" -> Bonus XP.
  • Full Integration:
    • Transactions history (XP spent).
    • Visual inventory of unlocked "virtual" items (Themes, Badges).
  • Localization: Complete German/English translation.

👥 Phase 2: Multi-User & Collaboration

Authentication & Onboarding

  • User Management:
    • Registration / Login / Password Reset.
    • Invite-Only Mode: Administrator generates invite links; public registration disabled.
    • First-Time Wizard:
      • Admin setup (create first account).
      • Initial configuration (app name, default language).
  • RBAC (Role-Based Access Control):
    • Roles: Admin, User.
    • Permissions management.

Social Features

  • Multiplayer:
    • Shared Task Lists: Collaborate on "Household" or "Project" lists.
    • Shared Achievements: Team goals (e.g., "Complete 50 tasks as a group").
  • Leaderboards:
    • Leaderboards:
    • Weekly/Monthly XP rankings.
    • "Friends" lists and activity feeds (Implemented via Search/Share).
  • Shared Labels:
    • Share a label to automatically share all tasks assigned to that label.
    • Granular permissions for label collaborators (Read/Write).

🛡️ Phase 3: Security & Sessions (New)

  • 2-Factor Authentication (2FA):
    • Email-based One-Time Password (OTP) on login.
  • 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

  • Admin Features:
    • Safe User Deletion: Confirmation modal with specific text input.
    • Dedicated SMTP Settings: Separate page/tab for Mail Server config.
  • Account Settings:
    • Password Management: Secure change password modal.
    • Profile Updates: Show Email instead of ID, allow Email changes.
  • Infrastructure:
    • Reverse Proxy Compatibility: Ensure app functions correctly behind Nginx/Traefik (Headers, WebSockets, Base URL).
  • Audit Logging:
    • Track all task modifications per user.
    • Explicitly distinguish between changes made by a human User vs. the AI Agent.

🛠️ Phase 6: UI/UX & Quality Assurance (Current)

  • Localization Audit:
    • Fix missing keys in Settings (Social, Privacy, Administration).
    • Fix tabs and content on Achievements Page.
    • Implement missing Inventory and History views.
  • UI Layout Improvements:
    • Tasks Page: Stick Calendar bar to bottom with correct height.
    • Task Creation: Validate and translate "Smart Input" (One-line creation).
    • Sharing: Re-enable/Locate single task sharing button.

🔮 Phase 7: AI & Automation

  • MCP Server (Model Context Protocol):
    • Expose TaskFlow as an MCP Server.
    • Tools for creating, reading, updating, and deleting tasks (CRUD).
    • Context providers for reading project state.
  • LLM Chat Interface:
    • Integrated Chat UI to talk to your task manager.
    • "What should I do next?" / "Break down this project" (Interactive).
    • Natural language task operations.
  • 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).
  • Advanced Task Planning:
    • Time Estimation: Optional "rough" time estimates per task (e.g., "2 hours", "half a day").
    • Multi-day / Subtasks:
      • Support for tasks spanning multiple days.
      • Ability to break down tasks into subtasks directly via Chat Agent.
    • AI Integration: AI can read/set estimates and handle multi-day scheduling.
    • Localization: Full translation support for time units and planning interface.

🔔 Phase 8: Notifications & Task Hygiene (New - User Requested)

Smart Notifications

  • Browser Notifications:
    • Upcoming tasks for the day.
    • Overdue tasks (iOS + Browser).
    • Unscheduled tasks (iOS + Browser).
  • iOS Integration (PWA/Native):
    • Push notifications for upcoming tasks (when installed).
    • Push notifications for overdue tasks.
    • Support for "not scheduled" task alerts.

Task Cleanup

  • Unscheduled Tasks List: Dedicated view for tasks without due dates.
  • Scheduling Reminder:
    • 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

  • AI Analysis: Automatically detect completed tasks requiring follow-up (e.g., "Email sent" -> "Check for reply").
  • Smart Prompts: Pop-up on completion asking if a follow-up is needed.
  • Manual Action: "Create Follow-up" option in Task Card menu (Three dots).

Morning/Evening Routine Mode

  • Configuration:
    • Settings to enable/disable.
    • Set Timezone, Morning start time (e.g., 9am), Evening start time (e.g., 10pm).
  • Morning Overview:
    • Restricted view showing only early morning tasks.
    • "Plan the Day" button to unlock full functionality.
  • Evening Reflection:
    • Read-only view of completed tasks (Mood booster).
    • Simple actions: "Mark as Done" for remaining items or "Move to Tomorrow".
    • Blocking: Prevent adding new distractions after hours.