โ† ะะฐะทะฐะด

Dashboard Data Structure

Overview

Dashboard stores task data and configuration in JSON files.

Directory Structure

dashboard/
โ”œโ”€โ”€ data/
โ”‚   โ””โ”€โ”€ dashboard_order.json     # Card display order
โ””โ”€โ”€ tasks/
    โ”œโ”€โ”€ affiliate.json           # Affiliate project tasks
    โ”œโ”€โ”€ futures-screener.json    # Futures Screener tasks
    โ”œโ”€โ”€ ideas.json               # Ideas/Feature requests
    โ”œโ”€โ”€ openclaw.json            # OpenClaw Agent tasks
    โ”œโ”€โ”€ options.json             # Options project tasks
    โ”œโ”€โ”€ piewell.json             # Piewell.com tasks
    โ””โ”€โ”€ system.json              # System/Infrastructure tasks

File Formats

dashboard_order.json

Controls the order of project cards on the dashboard.

{
  "order": [
    "options",
    "piewell",
    "futures-screener",
    "affiliate"
  ],
  "updatedAt": "2026-02-23T03:50:25.525Z"
}

Task Files (e.g., piewell.json)

Kanban-style tasks for each project.

{
  "project": "piewell",
  "tasks": [
    {
      "id": "task-1",
      "title": "Fix SEO meta tags",
      "description": "Add proper meta descriptions to all posts",
      "status": "todo",        // todo | in-progress | done
      "priority": "high",      // low | medium | high | critical
      "category": "SEO",
      "tags": ["wordpress", "seo"],
      "createdAt": "2026-02-23",
      "updatedAt": "2026-02-23"
    }
  ]
}

API Integration

GET /api/projects/:project/kanban-tasks

Returns tasks for a specific project.

Response:

{
  "project": "piewell",
  "tasks": [
    { ... },
    { ... }
  ],
  "stats": {
    "total": 5,
    "todo": 2,
    "inProgress": 1,
    "done": 2
  }
}

POST /api/projects/:project/tasks

Add or update a task.

Migration Notes

Source: /home/app/dashboard-old/ Migrated: 2026-02-25 Status: โœ… All data preserved

All task data was copied from the legacy dashboard during React refactor.


Last Updated: 2026-02-25