diff --git a/docs/.workflow/TASK-001-playwright-setup.json b/docs/.workflow/TASK-001-playwright-setup.json new file mode 100644 index 0000000..6fc4f11 --- /dev/null +++ b/docs/.workflow/TASK-001-playwright-setup.json @@ -0,0 +1,25 @@ +# TASK-001: Playwright Setup + Baseline E2E Tests + +## Status: ✅ COMPLETE + +## Objective +Add Playwright E2E testing to the Mana Loop project and create baseline tests that validate core gameplay systems work correctly. + +## Completion Date +Completed in single session. + +## Results +- **13 E2E tests created and all passing** +- Playwright configured with Chromium headless +- WebServer integration configured to auto-start Next.js dev server + +## Files Created/Modified +- `package.json` — added `@playwright/test` and `test:e2e` script +- `playwright.config.ts` — NEW: Playwright configuration +- `e2e/combat.spec.ts` — NEW: 5 combat system tests +- `e2e/enchanting.spec.ts` — NEW: 4 enchanting flow tests +- `e2e/equipment.spec.ts` — NEW: 5 equipment management tests +- `docs/tasks/TASK-001-playwright-setup.md` — Task tracking doc + +## Push +Committed as `47b2a0b` and pushed to `origin/master`. \ No newline at end of file diff --git a/docs/.workflow/TASK-006-left-panel-redesign.json b/docs/.workflow/TASK-006-left-panel-redesign.json new file mode 100644 index 0000000..b6f25f1 --- /dev/null +++ b/docs/.workflow/TASK-006-left-panel-redesign.json @@ -0,0 +1,16 @@ +{ + "taskId": "TASK-006-left-panel-redesign", + "status": "completed", + "completedSteps": [ + "Created AttunementStatus component (src/components/game/AttunementStatus.tsx)", + "Created ActivityLogPanel wrapper (src/components/game/ActivityLogPanel.tsx)", + "Redesigned LeftPanel.tsx with 5 sections", + "Removed CalendarDisplay from LeftPanel", + "Updated ActivityLog with configurable maxEntries prop", + "Exported new components from game/index.ts", + "Applied design tokens from globals.css", + "Typecheck and lint pass, committed and pushed" + ], + "nextStep": "Task complete - all acceptance criteria met", + "notes": "Left panel now shows: (1) Mana display, (2) Climb Spire button, (3) Current action, (4) Attunement status strip, (5) Activity log with last 20 events. Calendar removed. No functional regression." +} diff --git a/docs/active-task-log.md b/docs/active-task-log.md new file mode 100644 index 0000000..a376103 --- /dev/null +++ b/docs/active-task-log.md @@ -0,0 +1,8 @@ +# Active Task Log + +| # | Task | Status | +|---|------|--------| +| TASK-001 | Playwright setup + baseline E2E tests (includes 002-004) | ✅ ARCHIVED | +| TASK-005 | `globals.css` design tokens | ✅ ARCHIVED | +| TASK-006 | Left panel redesign | ✅ ARCHIVED | +| TASK-007 | Skill system v2 (`computeStats` + migration) | 🔄 IN PROGRESS | \ No newline at end of file diff --git a/docs/project-structure.txt b/docs/project-structure.txt index bd78f51..0e179fc 100644 --- a/docs/project-structure.txt +++ b/docs/project-structure.txt @@ -13,7 +13,8 @@ Mana-Loop/ │ └── custom.db ├── docs/ │ ├── .workflow/ -│ │ └── TASK-001-playwright-setup.json +│ │ ├── TASK-001-playwright-setup.json +│ │ └── TASK-006-left-panel-redesign.json │ ├── strategy/ │ │ └── overall-remediation-plan.md │ ├── tasks/