42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"id": "phase1-foundation-19",
|
|
"seq": "19",
|
|
"title": "Create user management UI",
|
|
"status": "completed",
|
|
"depends_on": ["18"],
|
|
"parallel": false,
|
|
"context_files": [
|
|
"/Users/kunthawatgreethong/Gitea/moreminimore-vibe/Websitebuilder/.tmp/sessions/phase1-foundation/context.md",
|
|
"/Users/kunthawatgreethong/.config/opencode/context/core/standards/code-quality.md"
|
|
],
|
|
"acceptance_criteria": [
|
|
"User profile page created at /dashboard/profile",
|
|
"Displays user information (name, email, avatar)",
|
|
"Allows editing profile information",
|
|
"Allows changing password",
|
|
"Settings page created at /dashboard/settings",
|
|
"Displays account settings",
|
|
"Admin user management page created at /admin/users",
|
|
"Lists all users with search and filtering",
|
|
"Allows viewing user details",
|
|
"Allows updating user details",
|
|
"Allows banning/unbanning users",
|
|
"All pages use shadcn/ui components",
|
|
"Components are modular (< 100 lines)",
|
|
"E2E tests written with Playwright",
|
|
"Tests pass"
|
|
],
|
|
"deliverables": [
|
|
"src/app/dashboard/profile/page.tsx",
|
|
"src/app/dashboard/settings/page.tsx",
|
|
"src/app/admin/users/page.tsx",
|
|
"src/components/auth/ProfileForm.tsx",
|
|
"src/components/auth/PasswordChangeForm.tsx",
|
|
"src/components/admin/UserList.tsx",
|
|
"src/components/admin/UserDetails.tsx",
|
|
"tests/e2e/profile.spec.ts",
|
|
"tests/e2e/settings.spec.ts",
|
|
"tests/e2e/admin-users.spec.ts"
|
|
]
|
|
}
|