Files
DataClaw/.trae/specs/create-data-analysis-platform/tasks.md
T
2026-03-14 15:44:48 +08:00

2.3 KiB

Tasks

  • Task 1: Project Initialization & Structure

    • SubTask 1.1: Verify/Create backend and frontend directories.
    • SubTask 1.2: Ensure nanobot source code is correctly placed/linked.
    • SubTask 1.3: Set up FastAPI in backend/ and React in frontend/.
  • Task 2: Backend - Core & Data Sources

    • SubTask 2.1: Configure nanobot integration within FastAPI.
    • SubTask 2.2: Implement PostgreSQL connector.
    • SubTask 2.3: Implement ClickHouse connector.
    • SubTask 2.4: Implement MinIO connector.
    • SubTask 2.5: Implement CSV upload handling.
  • Task 3: Backend - Agent, Skills & LLM

    • SubTask 3.1: Implement LLM Configuration API (CRUD for providers/models).
    • SubTask 3.2: Implement NL2SQL agent logic using nanobot (using configured LLM).
    • SubTask 3.3: Implement Internal Skills CRUD API.
    • SubTask 3.4: Implement Skill Selection logic.
  • Task 4: Frontend - Core & UI Components

    • SubTask 4.1: Setup React project with Tailwind/Shadcn.
    • SubTask 4.2: Implement Sidebar (Threads/History).
    • SubTask 4.3: Implement Main Chat Interface.
    • SubTask 4.4: Implement Visualization Component (Charts/Tables).
    • SubTask 4.5: Implement "View SQL" button and modal/popover.
  • Task 5: Frontend - Dashboard & Management

    • SubTask 5.1: Implement Dashboard Page with Grid Layout (using react-grid-layout or similar).
    • SubTask 5.2: Implement "Add to Dashboard" functionality (persist chart config to dashboard state).
    • SubTask 5.3: Implement Skills Management UI (List/Edit).
    • SubTask 5.4: Implement LLM Settings UI (Configure providers/keys).
    • SubTask 5.5: Implement Skill Selection selector in Chat interface.
  • Task 6: Integration & Polish

    • SubTask 6.1: Connect Frontend to Backend.
    • SubTask 6.2: Test LLM Configuration (add provider -> use in chat).
    • SubTask 6.3: Test NL2SQL flow with SQL view and Dashboard pinning.
    • SubTask 6.4: Test Dashboard interactivity (resize/drag panels).
    • SubTask 6.5: Test Skill creation and usage.
    • SubTask 6.6: Verify multi-agent coordination.

Task Dependencies

  • Task 3 depends on Task 1 and Task 2.
  • Task 4 depends on Task 1.
  • Task 5 depends on Task 3 and Task 4.
  • Task 6 depends on all previous tasks.