Files
craft2prints/.claude/settings.local.json
T
AndymickandClaude Haiku 4.5 4d124b1550 Add customer approval status messages and admin delete option
Customer-facing changes:
- Show approval status message when design is submitted
- Display pending approval notification with email confirmation
- Show approved confirmation when design is ready
- Show rejection message for designs needing changes

Admin-facing changes:
- Add delete button to design approval detail page
- Confirmation dialog before deletion
- Proper cleanup of design and associated messages
- Redirect to designs list after deletion

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-18 16:48:35 +01:00

59 lines
3.3 KiB
JSON

{
"permissions": {
"allow": [
"Skill(update-config)",
"Skill(update-config:*)",
"Bash(npx prisma *)",
"Bash(xargs grep -l \"effectivePrice\")",
"Bash(npx tsc *)",
"Bash(powershell -Command \"Get-ChildItem D:\\\\Craft2Prints -Filter '.env*' -Force | Select-Object Name\")",
"Bash(dir /a D:\\\\Craft2Prints\\\\.env*)",
"Bash(git add *)",
"Bash(git restore *)",
"Bash(git reset *)",
"Bash(git checkout *)",
"Bash(git commit -m ' *)",
"Bash(git commit -m 'Remove AdminMenu from public site header *)",
"Bash(git push *)",
"Bash(rm -rf .next)",
"Bash(npm run *)",
"Bash(git commit -m 'Wire Stage 3 reports to real data *)",
"Bash(git config *)",
"Bash(Get-ChildItem \"D:\\\\Craft2Prints\" -Directory)",
"Bash(Select-Object Name)",
"Bash(Get-ChildItem \"D:\\\\\" -Directory -Filter \"*craft*\" -Force | Select-Object Name)",
"Bash(npm install *)",
"PowerShell(Stop-Process -Id 22068 -Force -ErrorAction SilentlyContinue)",
"Bash(netstat -ano)",
"Bash(findstr :3000)",
"Bash(Start-Sleep -Seconds 3)",
"PowerShell(\\(Get-Content \"D:\\\\Craft2Prints\\\\src\\\\app\\\\api\\\\checkout\\\\route.ts\" | Measure-Object -Line\\).Lines)",
"Bash(git commit *)",
"PowerShell(Get-Item \"D:\\\\Craft2Prints\\\\dev.db\" -ErrorAction SilentlyContinue | Select-Object FullName, @{Name=\"SizeKB\";Expression={$_.Length/1KB}}, LastWriteTime)",
"Bash(sqlite3 -json \"SELECT designJson FROM order_items LIMIT 1;\")",
"Bash(node -e ' *)",
"Bash(git diff *)",
"Bash(xargs grep -l \"ProductDTO\")",
"Bash(npx tsx -e ' *)",
"Bash(psql -U postgres -d craft2prints -c \"SELECT id, name, \\\\\"referenceWidthCm\\\\\", \\\\\"referenceHeightCm\\\\\" FROM \\\\\"Product\\\\\" LIMIT 1;\")",
"Bash(npx ts-node *)",
"Bash(node \"C:\\\\Users\\\\Lyons\\\\AppData\\\\Local\\\\Temp\\\\claude\\\\D--Craft2Prints\\\\7f0f7e09-1d03-4e4a-b5dc-529896c9a855\\\\scratchpad\\\\query_product.js\")",
"Bash(sqlite3 \"D:\\\\Craft2Prints\\\\prisma\\\\dev.db\" \"SELECT id, name, referenceWidthCm, referenceHeightCm FROM Product WHERE slug = 'classic-t-shirt';\")",
"Bash(xargs grep -l \"prisma.order.create\")",
"Bash(node -e \"const fs = require\\('fs'\\); const content = fs.readFileSync\\('src/components/DesignCanvas.tsx', 'utf8'\\); console.log\\('File read successfully, length:', content.length\\)\")",
"Bash(python3)",
"Bash(pkill -f \"node.*next\")",
"Bash(rm -rf .next node_modules/.cache)",
"Bash(git commit -m 'Fix JSX syntax errors in DesignCanvas - close bracket issues *)",
"Bash(rm -rf craft2prints)",
"Bash(git commit -m 'Add design approval workflow and per-image dimension tracking *)",
"Bash(git commit -m 'Remove feedback messages to simplify design canvas layout *)",
"Bash(git commit -m 'Remove reviews section from product pages *)",
"Bash(git commit -m 'Reorganize design canvas layout to be more compact *)",
"Bash(git commit -m 'Make image dimensions and font properties collapsible sections *)",
"Bash(rm -rf \"D:\\\\Craft2Prints\\\\src\\\\app\\\\api\\\\designs\\\\[id]\\\\delete\" && echo \"Deleted unnecessary delete folder\")",
"Bash(git commit -m 'Add customer approval status messages and admin delete option *)"
]
}
}