Task 2: Create new data files and update types
Created five new data files for GP System Dashboard: - src/data/profile.ts: Personal statement from CV_v4.md - src/data/tags.ts: Sidebar tags (5 entries with color variants) - src/data/alerts.ts: Sidebar alert flags (2 entries) - src/data/kpis.ts: Latest Results metrics (4 KPI entries with explanations) - src/data/skills.ts: Core technical skills as "medications" (5 entries with user-specified frequencies) Updated src/types/pmr.ts with new interfaces: - Tag: label + colorVariant - Alert: message + severity + icon - KPI: id + value + label + sub + colorVariant + explanation - SkillMedication: full medication structure with frequency, years, proficiency, category, status, icon All CV content matches References/CV_v4.md exactly. All quality checks pass. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -113,3 +113,35 @@ export interface ReferralFormData {
|
||||
reason: string
|
||||
contactMethod: 'Email' | 'Phone' | 'LinkedIn'
|
||||
}
|
||||
|
||||
export interface Tag {
|
||||
label: string
|
||||
colorVariant: 'teal' | 'amber' | 'green'
|
||||
}
|
||||
|
||||
export interface Alert {
|
||||
message: string
|
||||
severity: 'alert' | 'amber'
|
||||
icon: string
|
||||
}
|
||||
|
||||
export interface KPI {
|
||||
id: string
|
||||
value: string
|
||||
label: string
|
||||
sub: string
|
||||
colorVariant: 'green' | 'amber' | 'teal'
|
||||
explanation: string
|
||||
}
|
||||
|
||||
export interface SkillMedication {
|
||||
id: string
|
||||
name: string
|
||||
frequency: string
|
||||
startYear: number
|
||||
yearsOfExperience: number
|
||||
proficiency: number
|
||||
category: 'Technical' | 'Domain' | 'Leadership'
|
||||
status: 'Active' | 'Historical'
|
||||
icon: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user