fix: Wire up Add Maintenance button on vehicle detail page (#194) #195
Reference in New Issue
Block a user
Delete Branch "issue-194-fix-add-maintenance-button"
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?
Fixes #194
Summary
variant="contained"on desktop to match "Add Fuel Log"MaintenanceRecordForm(same pattern as Add Fuel Log)onSuccesscallback prop toMaintenanceRecordFormfor dialog close + query invalidationfullScreenat small breakpointsFiles Changed
frontend/src/features/vehicles/pages/VehicleDetailPage.tsx- Desktop button + dialogfrontend/src/features/vehicles/mobile/VehicleDetailMobile.tsx- Mobile button + dialogfrontend/src/features/maintenance/components/MaintenanceRecordForm.tsx- AddedonSuccesspropTest Plan