feat: Improve VIN decode confidence reporting and make/model/trim editability #125
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Summary
Improve the VIN decode review flow so that:
Current Behavior
Expected Behavior
VIN Confidence
Editable Dropdowns
Technical Context
Relevant Components
VinOcrReviewModal.tsx,VinCameraButton.tsx,VehicleForm.tsxbackend/src/features/platform/) provides cascade dropdown APIGET /api/vehicles/dropdown/{years,makes,models,trims,engines,transmissions}GET /api/vehicles/dropdown/optionsfor engine/transmission compatibilityApproach Notes
Acceptance Criteria
Milestone: Execution Tracking
Phase: Execution | Agent: Developer | Status: IN_PROGRESS
Milestones
Branch
issue-125-improve-vin-confidence-editabilityFiles to Modify
frontend/src/features/vehicles/types/vehicles.types.ts- Add VinReviewSelections typefrontend/src/features/vehicles/components/VinOcrReviewModal.tsx- Major rewrite: OCR confidence + editable cascade dropdownsfrontend/src/features/vehicles/components/VehicleForm.tsx- Update to receive modal selectionsVerdict: IN_PROGRESS | Next: Begin M1+M2 implementation
Milestone: Execution Complete
Phase: Execution | Agent: Developer | Status: PASS
Milestones
Changes Summary
vehicles.types.ts- AddedVinReviewSelectionsinterface for passing user-edited dropdown values from review modal to form.VinOcrReviewModal.tsx- Major rewrite:DecodedFieldRowcomponentsonAcceptnow passesVinReviewSelectionswith user's choicesVehicleForm.tsx- Updated to receiveVinReviewSelections:handleAcceptVinOcraccepts selections from modal instead of raw decoded datahandleEditVinManuallyfunction andonEditpropQuality Checks
anyin catch block)overflowY: auto, 1-column dropdowns on xsCommit
e9020dbfeat: improve VIN confidence reporting and editable review dropdowns (refs #125)Verdict: PASS | Next: Open PR for review