feat: add developer persona and smart insights widget#853
feat: add developer persona and smart insights widget#853KrutagyaKaneria wants to merge 4 commits into
Conversation
|
@KrutagyaKaneria is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
There was a problem hiding this comment.
Thanks for your first PR on DevTrack! 🎉
A maintainer will review it within 48 hours. While you wait:
- Make sure CI is passing (type-check + lint)
- Double-check the PR description is filled out and the issue is linked
- Feel free to ask questions in Discussions if you need help
If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project grow and attract more contributors!
Priyanshu-byte-coder
left a comment
There was a problem hiding this comment.
Raw Tailwind color violations throughout — all colors must use CSS variables. Examples found:
border-indigo-300/15,bg-slate-950/45,text-indigo-100,from-indigo-500/12— in persona stylesborder-red-500/20 bg-red-500/10 text-red-300— error state (usevar(--destructive))hover:text-white— (usehover:text-[var(--foreground)])- Gradient values in
developer-persona.ts:from-indigo-500/20,from-amber-400/25, etc.
Replace all with CSS variables: var(--accent), var(--destructive), var(--success), var(--muted-foreground), etc. Also fix missing EOF newline on DeveloperPersona.tsx.
|
Good work overall — the logic, CSS vars, and caching pattern are all correct. Two issues to fix before this can merge: 1. Missing EOF newlines 2. Merge conflict — rebase needed |
|
Thanks for the review! I’ve updated the Developer Persona widget to use semantic theme tokens throughout, removed the remaining raw Tailwind color utilities, fixed the EOF newline issue, and reran lint/type-check/build validation successfully. |
36eb286 to
67797f0
Compare
Overview
Adds a new "Developer Persona & Smart Insights" widget to the dashboard that transforms developer activity metrics into personalized personas and contextual coding insights.
Features Added
/api/metrics/insightsendpointDeveloperPersonadashboard widgetPersonas Supported
Technical Details
src/lib/developer-persona.tsValidation
npm run type-checknpm run lintnpm run buildIssue
Closes #431
Screencast.From.2026-05-23.11-41-13.mp4