feat: implement dual-user platform with candidate portal#57
feat: implement dual-user platform with candidate portal#57jediahjireh wants to merge 12 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
feat: implement comprehensive guidance system with personalised content and progress tracking overview
business impact
key features addedenhanced onboarding system
comprehensive guidance system
dual-user content architecture
advanced content management
technical implementationdatabase architecture // comprehensive progress tracking
model GuidanceProgress {
id String @id @default(cuid())
userId String
topicId String
userType UserType
progress Int @default(0) // 0-100
completed Boolean @default(false)
sectionsCompleted Json @default("[]")
timeSpent Int @default(0)
bookmarked Boolean @default(false)
@@unique([userId, topicId, userType])
}
// user analytics and engagement tracking
model GuidanceAnalytics {
userId String
totalTopicsStarted Int @default(0)
totalTopicsCompleted Int @default(0)
totalTimeSpent Int @default(0)
averageProgress Float @default(0)
streakDays Int @default(0)
preferredTopics Json @default("[]")
}
// enhanced user model with guidance preferences
model User {
guidancePreferences Json?
lastGuidanceAccess DateTime?
GuidanceProgress GuidanceProgress[]
GuidanceAnalytics GuidanceAnalytics?
}api endpoints
component architecture
content structurecomprehensive topic coverage
personalisation parameters
pages added/modified
testing & development
reviewer checklistfunctionality verification
content quality
user experience
technical implementation
data management
deployment considerations
|
overview
business impact
key features added
candidate portal (/portal/*)
dual user type system
role switching (development only)
enhanced ai integration
technical implementation
database architecture
api endpoints
component architecture
security measures
pages added/modified
new candidate pages
enhanced recruiter pages
shared enhancements
testing & development
demo account system
development workflow
reviewer checklist
functionality verification
security validation
data integrity
user experience
technical implementation
documentation
deployment considerations
npm run db:migrate-prin production