mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-12-01 01:31:32 +09:00
## Summary - **Clickable links**: Job detail user email navigates to user detail; source field shows clickable YouTube URLs / artist-title / filename; fixed broken job links on user detail page - **New columns**: Users list now shows Created, Last Login, Spent columns with relative time display and sortable headers - **Data fixes**: `total_jobs_completed` counter now incremented when jobs complete; `total_spent` cached on user documents; payment email normalization on storage - **Tooltips & cursors**: Audit across all admin pages; private mode checkbox warns about output deletion - **E2E tests**: 15 new tests (8 regression for users page, 4 for job detail, 3 production tests) ## Post-deploy steps After merging, run these one-time backfill endpoints: 1. `POST /api/admin/payments/normalize-emails` - Lowercase existing payment emails 2. `POST /api/admin/backfill/user-stats` - Recalculate total_jobs_completed and total_spent for all users ## Test plan - [x] All 189 regression tests pass - [ ] Verify admin dashboard loads in production - [ ] Verify clickable email on job detail navigates correctly - [ ] Verify new columns visible on users list - [ ] Run backfill endpoints post-deploy - [ ] Run production E2E tests @coderabbitai ignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>