Files
task-manager/task.md
T
2025-12-12 08:35:48 +01:00

13 KiB

Task: Run and Test Application Locally

  • Inspect Docker configuration

  • Run application with Docker

  • Verify application is running (Port 5001)

  • Perform End-to-End Testing

    • Create E2E test plan
    • Run E2E tests
  • Document results

  • Deep E2E Testing

    • Test Task Cycle (Create, Edit, Delete)
    • Test View Consistency (List, Board, Calendar)
    • Test Edge Cases (Empty inputs, long text)
  • Create Bug/Testing Report

  • [/] Fix Identified Bugs

    • Fix Empty Title Validation (BUG-02)
    • Fix Calendar View Sync (BUG-01)
    • Verify Fixes
  • Conduct UX/UI Review

    • Audit Visual Design (Colors, Typography)
    • Audit Interactions (Animations, Feedback)
    • Create Recommendations Report
    • Implement Premium Redesign (Fonts, Colors, Motion)
  • Redesign Navigation Layout

    • Implement Collapsible Left Sidebar
    • Add Floating Action Button (FAB)
    • Remove Top Header and Bottom Navigation
  • Refine UX/UI (User Feedback)

    • Fix Theme Toggle (Icon only / Fix Label)
    • Optimize Sidebar Layout (Sizes, Spacing, Icons)
    • Verify/Fix Sidebar Collapsibility
    • Enhance Color Palette (Active States, Icons)
  • Fix Regression Layout Issues

    • Add Visible Sidebar Collapse Trigger
    • Fix Icon Visibility in Collapsed State
    • Fix Header Overlap in Calendar View
    • Fix Content Overlap in Week View
    • Fix Content Overlap in Kanban View
  • Sidebar & Responsive Refinements

    • Increase Collapsed Sidebar Width (20%)
    • Change Sidebar Toggle to Hamburger Icon
    • Fix App Icon Visibility in Collapsed Mode
    • Fix Z-Index for Sidebar Tooltips
    • Fix Calendar Responsiveness on Tasks Page
  • Implement Gamification System

    • Update Schema (User XP, Level, Streaks)
    • Backend: Add XP logic to completeTask
    • Frontend: Create GamificationContext or Hook (Implemented simple prop-passing MVP)
    • Frontend: Add User Level/XP Bar to Sidebar
    • E2E: Verify XP gain and Level up
  • Implement "Smart" Features (Rec 1)

    • Update Schema (Task Energy Level, Duration)
    • UI: Add Energy selector to Task Form
    • UI: Add Energy Filter to Task List (Badge implemented)
    • E2E: Verify Energy filtering (Creation verified)
  • Implement Deep Structure (Rec 2)

    • Update Schema (Task Dependencies)
    • UI: Add "Blocked By" selector to Task Form (Schema Ready)
    • UI: Visual indicator for blocked tasks (Schema Ready)
    • Logic: Prevent completion of blocked tasks (Schema Ready)
    • E2E: Verify Blocking logic
  • Prepare Knowledge Integration (Rec 3)

    • Schema: Create notes table and relations
    • Schema: Add content/notes fields to Task
    • Backend: Create basic CRUD routes for Notes (Preparation)
    • Test: Verify Database Schema validity
  • Gamification Phase 2: Rewards & Analytics

    • Backend: Analytics endpoints (Weekly/Yearly/Monthly)
    • Fix: Monthly Analytics not showing
    • Fix: Translate Analytics chart labels (Days/Months)
    • Refine: Analytics Chart Tooltips (Custom styling)
    • Refine: Monthly Analytics -> Use Calendar Weeks (KW/CW)
    • Feature: Show Calendar Weeks in Calendar Views
    • Feature: Reward Shop
      • Schema: rewards table
      • UI: Reward Shop Component
      • Backend: Purchase Logic (XP Deduction)
      • Feature: User Inventory
  • Phase 3: Multi-User & Social (Roadmap)

    • Auth: Login/Register/Invite-only
    • Admin: First-time Wizard
    • Social: Shared Lists & Leaderboards
    • Integrations: 2-Way Calendar Sync
    • Admin Features Improvements:
      • Fix Missing Translations in User Management
      • Add User Deletion with Confirmation (Type user count/ID)
      • Fix Missing Translations in Settings (Account Box)
      • Refactor: Move SMTP Settings to separate Admin Section
  • Security & Session Management:

    • 2-Factor Authentication (Email):
      • Generate OTP on login
      • Send Code via EmailService
      • UI: Verify Code Screen
    • Persistent Sessions:
      • "Remember Me" Checkbox on Login
      • Configure express-session for long-lived cookies (e.g. 30 days)
  • Account Settings Enhancements:

    • Password Change: Implement Modal (Old Password + New x2)
    • Profile Update:
      • Hide User ID
      • Show Email Address
      • Implement Change Email Flow
  • Translation & UI Polish:

    • Settings - Social & Privacy: ADD MISSING TRANSLATION
    • Settings - Administration Box: ADD MISSING TRANSLATION
    • Achievements Page: FIX TAB TRANSLATIONS
    • Achievements Inventory: FIX DISPLAY AND TRANSLATION
    • Achievements History: FIX DISPLAY AND TRANSLATION
    • Tasks Page:
      • Force Calendar Bar to Bottom
      • Ensure Height accommodates content + headline
    • Task Creation:
      • VERIFY Simple Task Creation (NLP/One-line)
      • Ensure NLP/Simple mode is translated
    • Task Sharing:
      • LOCATE & VERIFY Single Task Sharing UI
      • If missing, re-implement or make visible
  • Collapsed Sidebar Visual Polish

    • Increase Sidebar Icon Size (Collapsed)
    • Center App Logo in Collapsed Mode
  • Mobile E2E Verification

    • Verify Mobile Sidebar (Sheet)
    • Check FAB Position on Mobile
    • Check Tasks Calendar Responsiveness on Mobile
    • Verify Week/Kanban Layouts on Mobile
  • Mobile UX Fixes

    • Fix New Task Modal Overflow on Mobile
  • Advanced UX Features

    • Command Palette (Cmd+K)
      • Install cmdk
      • Create GamificationBar component (Points, Level, Streak)
      • Create CommandPalette component
      • Integrate Global Shortcut
    • Integrate GamificationBar into AppSidebar
    • Create AchievementsPage.tsx
      • Analytics charts (Weekly Activity, Category Breakdown)
      • Goals Management UI
    • Add route for /achievements in App.tsx
    • Verify: Gamification UI elements render correctly
    • Verify: Goals can be created and displayed
    • Fix: Ensure energyLevel and estimatedDuration persist correctly on Task Creation
    • Refine: Gamification Translations (German Ranks, Page Titles)
    • Refine: Gamification UI (Double Flame, Clickable Level Bar)
    • Fix: Monthly Analytics Tab & "from last week" translation
    • Fix: Goal Modal Placeholder & Level Modal Reward Text
    • Task Completion Delight
      • Install canvas-confetti
      • Create Confetti/Sound Utility
      • Integrate into Task Completion Actions
    • Fix: Ensure energyLevel and estimatedDuration persist correctly on Task Creation Actions
    • Focus Mode Dashboard
      • Create Focus/Home View
      • Implement Greetings & Stats
      • Implement 'Focus Task' Logic
      • Update Routing & Sidebar
  • Final E2E Verification

    • Verify Command Palette
    • Verify Delight Effects
    • Verify Focus Mode
  • Native Mobile & Advanced UX

    • PWA Implementation (Native iOS)
      • Install vite-plugin-pwa
      • Config Manifest & Icons
      • Add iOS Meta Tags
    • Smart NLP Input
      • Create NLP Parsing Utility
      • Integrate into Task Creation
    • Gestures & Drag-and-Drop
      • Install dnd-kit
      • Implement Drag Reordering in Focus Mode
      • Implement Swipe Actions (Framer Motion)
  • Final Native/UX Verification

    • Verify PWA Installability
    • Verify NLP Parsing
    • Verify NLP Parsing
    • Verify Drag/Swipe Interactions
  • AI & Pomodoro Enhancements

    • AI Task Decomposition ("Magic Wand")
      • Create AI Simulator Utility
      • Add Wand Button to TaskCard
      • Implement Auto-Append Logic
    • Integrated Pomodoro Flow
      • Create Timer Web Worker
      • Create Pomodoro Overlay/Component
      • Add Ambient Sounds (Web Audio)
  • Final Feature E2E Verification

    • Verify AI Decomposition
    • Verify Pomodoro Timer
  • Translate "Focus" menu item

  • Fix translations in "Focus Mode" page

  • Fix date formats in "Tasks" page (calendar bar)

  • Fix date formats in "Week" page (calendar items)

  • Diagnose why only "Focus Mode" page is visible and functional

    • Check routing configuration
    • Verify sidebar navigation events
    • Fix Docker volume mount and PWA caching issues
  • Implement Shared Labels

    • Schema: sharedLabels table
    • Storage: Logic for sharing and retrieving labels (MemStorage verified)
    • API: Routes for sharing, retrieving shares, and unsharing (Verified via Script)
    • UI: Share Label Modal and Integration in Settings
  • Implement Reverse Proxy Support

    • Update vite.config.ts for base URL handling
    • Verify/Update WebSocket connection logic (useWebSocket) - Configured HMR for Proxy
    • Add X-Forwarded-For header handling in auth.ts / index.ts
  • Implement AI & Automation

    • MCP Server Implementation:
      • Schema: API Key for Users
      • Backend: Manual MCP Server (JSON-RPC/SSE)
      • Tools: List Tasks, Create Task, Complete Task
      • Routes: /api/mcp/sse, /api/mcp/messages
    • AI Chat Agent:
      • Backend: AI Service (OpenAI, Anthropic, Gemini, Ollama)
      • Routes: /api/ai/chat (Context Injection)
      • UI: Chat Widget (AiChat.tsx)
    • Configuration & Settings:
      • Admin: AI Provider Settings (AiSettingsCard)
      • User: Enable/Disable Toggle
      • Translations: EN & DE
    • Deployment:
      • Docker Rebuild & DB Push
      • Fix Localhost Login (Secure Cookie)