feat: TASK-006 left panel redesign + task log updates
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 32s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 32s
- Redesigned LeftPanel.tsx with 5 sections (ManaDisplay, Spire button, ActionButtons, AttunementStatus, ActivityLogPanel) - Removed CalendarDisplay from left panel - Created AttunementStatus component (attunement display with XP bars) - Created ActivityLogPanel wrapper (last 20 events) - Updated ActivityLog with configurable maxEntries prop - Updated active-task-log.md (TASK-001/005/006 archived)
This commit is contained in:
@@ -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`.
|
||||
@@ -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."
|
||||
}
|
||||
@@ -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 |
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user