Skip to content

Add copy profile to admin account on user detail page - #58

Merged
mojoro merged 8 commits into
mainfrom
feature/admin-copy-profile
Mar 25, 2026
Merged

Add copy profile to admin account on user detail page#58
mojoro merged 8 commits into
mainfrom
feature/admin-copy-profile

Conversation

@mojoro

@mojoro mojoro commented Mar 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a "Copy" dropdown button per profile row on the admin user detail page (/admin/users/[userId])
  • Full copy clones the profile with all Jobs (AI scores, feed status), Applications (pipeline status, dates, notes), and TailoredResumes — a true mirror for testing matching/pool changes
  • Metadata only clones just the profile config (search criteria, resume, writing rules, scraper settings) so a fresh search can be run with the user's parameters
  • Usage statistics are not copied; the button is hidden on the admin's own user page

Test plan

  • Navigate to /admin/users/[someUserId] — verify "Copy" dropdown appears in each profile row
  • Click "Metadata only" — verify new [Copy] ... profile appears in admin's dashboard with matching search criteria, resume, and skills but no jobs
  • Click "Full copy (with jobs)" on a profile with jobs + applications — verify jobs appear in admin's feed with same AI scores, applications in pipeline with same status, and tailored resumes are accessible
  • Navigate to admin's own user page — verify copy button is hidden
  • Run pnpm tsc --noEmit — no type errors

@vercel

vercel Bot commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shortlist Ready Ready Preview, Comment Mar 25, 2026 0:58am

@mojoro
mojoro force-pushed the feature/admin-copy-profile branch from d303faf to f27a9c7 Compare March 25, 2026 12:56
@mojoro
mojoro merged commit 39bb367 into main Mar 25, 2026
6 checks passed
@mojoro
mojoro deleted the feature/admin-copy-profile branch March 25, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant