feat(phase-4b): Health Records UI — ClearanceSummaryCard + HealthRecordForm #37
Reference in New Issue
Block a user
Delete Branch "feat/phase-4b-health-genetics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 4b — Health & Genetics (Step 1 of 2)
Summary
Adds OFA health clearance tracking to the Dog Detail page via two new components and an updated DogDetail view.
New Components
ClearanceSummaryCard.jsx/api/health/dog/:id/clearance-summaryon mount+ Add Health Recordbutton wired toonAddRecordpropHealthRecordForm.jsxPOSTfor new records,PUTfor edits — errors display inlineUpdated
DogDetail.jsxClearanceSummaryCardabove health records listfetchHealth()called on mount and after every save/edit to keep list freshopenAddHealth/openEditHealth/closeHealthFormhandlers wired cleanlyTesting Checklist
API Dependencies
Requires these endpoints to already be available (from backend health routes):
GET /api/health/dog/:id— list all health records for a dogGET /api/health/dog/:id/clearance-summary— OFA summary objectPOST /api/health— create new recordPUT /api/health/:id— update recordBranch
feat/phase-4b-health-genetics→masterNext Step
GeneticPanelCardcomponent (Phase 4b Step 2)Pull request closed