Commit Graph

397 Commits

Author SHA1 Message Date
admin 95ea088a00 Added small backend server to manage LLM chat & contact me form 2026-02-19 14:07:40 +00:00
admin a1f7088b48 Changed "Your role" to "My Role" 2026-02-19 14:00:20 +00:00
admin 012c905c90 Ammended tab name 2026-02-19 13:31:57 +00:00
admin 5806f7a134 Updated links 2026-02-19 13:30:54 +00:00
admin 9f2be70fd6 Added analytics tracking 2026-02-19 13:10:34 +00:00
admin 9186be7e3e Added aria attributes/keyboard nav to carousel 2026-02-18 13:52:40 +00:00
admin 9baa6e605b Mobile overview changes 2026-02-18 12:25:53 +00:00
admin 8b79f7b273 mobile banner v1 2026-02-18 02:55:49 +00:00
admin 134e41f4f9 chore: auto-commit before merge (loop primary) 2026-02-18 00:42:07 +00:00
admin 62c0d2ea19 Pre UX polish 2026-02-18 00:23:35 +00:00
admin 836305e2a3 Fix mobile 2026-02-17 23:14:05 +00:00
admin d51efb535d chore: auto-commit before merge (loop primary) 2026-02-17 21:19:40 +00:00
admin 025f860815 Loop prep 2026-02-17 20:58:56 +00:00
admin 06ca2a2b46 test webhook autodeploy... v2 2026-02-17 15:19:54 +00:00
admin 851d62fcbb test webhook autodeploy 2026-02-17 15:18:54 +00:00
admin 0a337b41c2 Fix hover effect on chart causing transition/animation to break 2026-02-17 15:14:10 +00:00
admin 47b52b5a93 feat: add global focus mode with cross-component dimming on hover
When hovering a constellation node, skill pill, or timeline item,
non-related UI elements across all components dim to 0.25 opacity,
creating a focused visual relationship view. The constellation axis
and year labels also dim via CSS class. Respects reduced-motion.
2026-02-17 14:17:21 +00:00
admin 82db5fda54 Substantial refinement/polish on content of webpage (not just structural/coding elements) 2026-02-17 14:05:32 +00:00
admin 38e40d36c0 chore: auto-commit before merge (loop primary) 2026-02-17 03:30:44 +00:00
admin 841c1869d6 chore: finalise unverified-content.md audit summary
- Updated removed content section (no content fully removed)
- Added skills.ts, investigations.ts, and llm-prompt.ts corrections
- All sections complete: flagged-but-retained, corrections, missed opportunities
2026-02-17 03:29:12 +00:00
admin a867c75e9b fix: re-enable boot sequence after redesign
Changed initial phase from 'pmr' back to 'boot' to restore the
full boot → login → dashboard flow for production.
2026-02-17 03:28:41 +00:00
admin 150b452bb5 feat: redesign boot-to-login transition
New boot flow: typing → holding → loading (progress bar) → fade → login

- Added ProgressBar component with ease-out animation during loading phase
- Terminal text slides up and fades during exit transition
- Cursor shrinks during loading phase for visual continuity
- Progress bar appears below terminal text, fills over 1.2s
- Entire container fades out smoothly before transitioning to login
- Reduced motion: instant render, no animation (unchanged)
- Changed "Rendering CV" → "Launching CV" for better software-launch feel
- Tuned timing: shorter hold (600ms), loading (1200ms), faster fade (500ms)
2026-02-17 03:28:00 +00:00
admin b266f1f149 feat: remove ECG phase entirely
- Deleted src/components/ECGAnimation.tsx (686 lines)
- Removed 'ecg' from Phase type
- Removed ECG import, rendering, and cursor position handoff from App.tsx
- Cleaned up BootSequence: removed onCursorPositionReady prop,
  captureCursorPosition callback, cursorRef, and ECG-specific naming
- Renamed ecgStartDelay → completionDelay, ecg-seed-dot → boot-seed-dot
- Skip button now goes directly to dashboard ('pmr' phase)
- Boot flow simplified: boot → login → pmr (no ECG intermediary)
- Bundle size reduced ~8KB
2026-02-17 03:26:17 +00:00
admin 0fc7985a7c audit: final sweep for hardcoded strings in components
Searched all components for hardcoded factual claims. Found:
- BootSequence.tsx: all content verified (done in 2.10)
- EducationSubsection.tsx: hardcoded education data duplicates data layer
  but all content verified against CV
- LastConsultationCard.tsx: NHS Band "8a" not in references, flagged
- ChatWidget.tsx: suggested questions are UI prompts, not claims
All findings logged in unverified-content.md.
2026-02-17 03:23:33 +00:00
admin 49bddeaa45 audit: verify llm-prompt.ts against reference documents
- Profile: "Informatics pharmacist" → "Healthcare leader" per CV
- Interim Head: "practice-level aggregate reporting" → "practice-level data"
- HCD: "Authored most" → "Wrote most" per CV
- Duty Pharm Mgr: "Led" → "Co-led", removed national quality payments claim
- Pre-Reg: aligned PGD and palliative care descriptions with secondary ref
- PharMetrics: corrected from "Interactive Platform" to "Switching Dashboard"
- Skills: Python 6yr→8yr, SQL 7yr→3yr per corrected skills.ts data
2026-02-17 03:21:43 +00:00
admin e2ba2575b6 audit: verify profile-content.ts against reference documents
- Narrative: aligned with CV Profile — "Healthcare leader" instead of
  unverified "Informatics pharmacist", tightened phrasing throughout
- Achievement subtitle: "Full analytical accountability to ICB board" →
  "Prescribing budget with forecasting models" per CV
- Skills summary: "data engineering" → "data pipeline development" per CV;
  removed unverified "clinical decision support"
- Flagged retained "Informatics Pharmacist" roleTitle in unverified log
2026-02-17 03:20:24 +00:00
admin 61299100d9 audit: verify documents.ts and educationExtras.ts against references
- Research description: removed embellished "investigating cocrystal
  formation for improved drug delivery properties", replaced with CV
  phrasing "on drug delivery and cocrystals"
- All education credentials, grades, dates, and institutions verified
- Extracurriculars verified against secondary reference
2026-02-17 03:18:53 +00:00
admin abb4fcd909 audit: verify skills.ts against reference documents
- Python: startYear corrected 2019→2017 (self-taught during Tesco night
  shifts per secondary ref); yearsOfExperience 6→8
- SQL: startYear corrected 2018→2022 (learned after gaining NHS database
  access per secondary ref); removed unverified pre-2022 history entries
- Power BI: fixed prescribing history year inconsistency (2019→2020);
  removed "PharMetrics real-time expenditure dashboard" reference
- All skill categories and names verified against CV Core Competencies
2026-02-17 03:18:04 +00:00
admin 0fba10d469 audit: verify investigations.ts against reference documents
- PharMetrics: corrected from "Interactive Platform" to "Switching Dashboard"
  to align with references (PharMetrics is the switching algorithm project);
  updated methodology to match secondary ref's dashboard description
- All other investigations (switching algorithm, Blueteq, CD monitoring,
  Sankey tool) verified against CV and secondary reference — no changes needed
2026-02-17 03:16:53 +00:00
admin 3c5f9a506c audit: verify kpis.ts against reference documents
- Budget KPI: removed unverified "monthly" reporting frequency,
  aligned with CV's "bimonthly" CMO presentations
- Population KPI: removed "monitor medicines safety" to match CV;
  "aggregate reporting" → "practice-level data" per CV wording
- Also fixed timeline.ts Interim Head detail to match CV wording
- All KPI values (£220M, £14.6M, £2.6M, 1.2M) verified against CV
2026-02-17 03:15:45 +00:00
admin de5b5939d6 audit: verify timeline.ts against reference documents
Key corrections:
- HCD role: "Authored most" → "Wrote most" to match CV phrasing
- HCD role: "formulary adherence opportunities" → "improvement opportunities"
- Deputy Head: removed embellished description additions not in CV
- Duty Pharmacy Manager: "Led" → "Co-led" per secondary reference;
  removed national quality payments claim (belongs to Pharmacy Manager)
- Pre-Reg: aligned PGD and palliative care descriptions with secondary ref
- UEA MPharm: removed "academic excellence" (misleading given exam failures)

Updated unverified-content.md with corrections log and missed opportunities
including McDonald's role, Mary Seacole programme, self-taught coding
narrative, AI/LLM work, and opioid deprescribing metrics.
2026-02-17 03:14:40 +00:00
admin 661dba4b75 audit: verify patient.ts against reference documents
- Address corrected from 'Norwich, NR1' to 'Norwich, UK' to match CV
- Created References/unverified-content.md to track audit findings
- Flagged retained-but-unverifiable personal data (DOB, GPhC number, LinkedIn slug)
- All other fields verified against CV_v4.md
2026-02-17 03:11:47 +00:00
admin 9e31843fc9 chore: merge secondary reference documents into single deduplicated source
Create References/andy_charlwood_complete_reference.md by merging
andy_charlwood_career_knowledge.md and andy_charlwood_career_knowledge_dump.md.
Structured by career timeline, projects, skills, education, leadership, and
career goals. Where sources conflicted, the more detailed version was preferred.
Original files preserved unchanged.
2026-02-17 03:09:55 +00:00
admin f7469f487f chore: bypass boot sequence for faster dev iteration
Temporarily set initial phase to 'pmr' to skip boot/ECG/login
during content audit work. Will be reverted in Phase 3.3.
2026-02-17 03:04:51 +00:00
admin 9a58b3c312 chore: auto-commit before merge (loop primary) 2026-02-17 02:26:42 +00:00
admin 01a48ce691 fix: re-enable boot sequence after refactor
Restore useState<Phase>('boot') in App.tsx, completing the refactoring
cycle (was temporarily set to 'pmr' for faster visual review).
2026-02-17 02:24:44 +00:00
admin 5eb46b02d8 refactor: remove dead code — orphaned files, unused types and functions
Delete 3 orphaned files (SubNav, TopBar, problems.ts), remove 4 unused
type definitions from pmr.ts (ViewId, NavItem, ReferralFormData, Problem),
trim types/index.ts to only Phase, and remove unused utility functions
(calculateSkillOffset, formatBootLine, getProfileContent, DotColorName).
2026-02-17 02:24:40 +00:00
admin 1b19087782 refactor: extract LastConsultationCard from DashboardLayout
Move the self-contained LastConsultationSubsection component (191 lines)
into its own file as LastConsultationCard. It uses only context and one
prop, with no dependency on DashboardLayout state. DashboardLayout drops
from 493 to 293 lines.
2026-02-17 02:16:10 +00:00
admin 49c9e0cecf refactor: centralise detail panel inline styles into detail-styles.ts
Extract 5 shared style constants (detailRootStyle, sectionHeadingStyle,
bulletListStyle, bodyTextStyle, paragraphStyle) used across 5 of 6 detail
components. Replaces ~30 inline style object definitions with imports.
Net reduction: 274 lines across detail panel components.
2026-02-17 02:09:26 +00:00
admin 7528935d2b refactor: extract ExpandableCardShell from WorkExperience and TimelineInterventions subsections
Single source of truth for expand/collapse card interaction pattern:
container styling, keyboard handling, chevron rotation, AnimatePresence
animation, and expanded content wrapper. Each consumer retains unique
header and body content via render props.
2026-02-17 02:03:13 +00:00
admin 8f4ddc454a refactor: centralise color maps, org color fallback, and motion-safe transitions
Create src/lib/theme-colors.ts with DOT_COLORS, KPI_COLORS,
PROJECT_STATUS_COLORS, and DEFAULT_ORG_COLOR constants. Add
motionSafeTransition() utility to src/lib/utils.ts.

Removes 6 duplicate color map definitions across Card, DetailPanel,
PatientSummaryTile, KPIDetail, ProjectsTile, and ProjectDetail.
Replaces 9 hardcoded '#0D6E6E' fallbacks and 7 inline motion ternaries.
Fixes project status color inconsistency between ProjectsTile and
ProjectDetail (Ongoing was teal in tile, amber in detail).
2026-02-17 01:58:10 +00:00
admin 296b18f025 refactor: extract hexToRgba and prefersReducedMotion to shared utils
Move hexToRgba() (3 identical copies) and prefersReducedMotion (5 module-level
copies) to src/lib/utils.ts. Re-export prefersReducedMotion from
constellation/constants.ts to preserve existing importers. Add clarifying
comments to constellation.ts and tags.ts re-export layers (Phase 1.4).
2026-02-17 01:48:43 +00:00
admin 45b87466be refactor: extract LLM system prompt from profile-content to dedicated module
Move the ~110-line LLM system prompt to src/data/llm-prompt.ts, removing
the LLMCopy type, getLLMCopy() accessor, and llm field from ProfileContent.
llm.ts now imports the prompt directly. profile-content.ts drops from 246
to 133 lines, retaining only UI copy and search metadata.
2026-02-17 01:42:55 +00:00
admin bbe7900968 refactor: inline timeline narrative into timeline.ts, remove indirection
Timeline entities now contain their narrative data (description, details,
outcomes, codedEntries) directly instead of fetching via
getTimelineNarrativeEntry(). Removes ~155 lines from profile-content.ts,
the accessor function, and three dead types.
2026-02-17 01:37:32 +00:00
admin 0ee7b5d44c refactor: skip boot/ECG/login sequence for dev iteration speed
Temporarily set initial phase to 'pmr' to bypass the ~10s boot animation
during the refactoring process. Will be reverted in Phase 4.3.
2026-02-17 01:28:48 +00:00
admin 83b327d58e Refactor to pull all text enteries into single location 2026-02-17 01:10:31 +00:00
admin 6605966fab feat: add canonical profile content schema and access helpers 2026-02-16 23:32:25 +00:00
admin 8178d03cb2 Rehaul of graph component 2026-02-16 23:16:46 +00:00
admin e9a7581aa5 chore: auto-commit before merge (loop primary) 2026-02-16 15:06:20 +00:00
admin aca57714e4 chore: auto-commit before merge (loop primary) 2026-02-16 14:36:25 +00:00