The "Schedule Maintenance" button on the vehicle detail page (/garage/vehicles/:id) does nothing when clicked. It has no onClick handler on both desktop (VehicleDetailPage.tsx) and mobile (VehicleDetailMobile.tsx).
Acceptance Criteria
Rename "Schedule Maintenance" to "Add Maintenance" on desktop
Rename "Maintenance" to "Add Maintenance" on mobile
Match the button style to "Add Fuel Log" (contained variant on desktop)
Clicking the button opens an inline dialog with MaintenanceRecordForm (same pattern as Add Fuel Log dialog)
On successful record creation, the dialog closes and maintenance data refreshes
## Problem
The "Schedule Maintenance" button on the vehicle detail page (`/garage/vehicles/:id`) does nothing when clicked. It has no onClick handler on both desktop (`VehicleDetailPage.tsx`) and mobile (`VehicleDetailMobile.tsx`).
## Acceptance Criteria
- Rename "Schedule Maintenance" to "Add Maintenance" on desktop
- Rename "Maintenance" to "Add Maintenance" on mobile
- Match the button style to "Add Fuel Log" (contained variant on desktop)
- Clicking the button opens an inline dialog with `MaintenanceRecordForm` (same pattern as Add Fuel Log dialog)
- On successful record creation, the dialog closes and maintenance data refreshes
- Works on both desktop and mobile viewports
## Files to Change
- `frontend/src/features/vehicles/pages/VehicleDetailPage.tsx` (desktop)
- `frontend/src/features/vehicles/mobile/VehicleDetailMobile.tsx` (mobile)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
The "Schedule Maintenance" button on the vehicle detail page (
/garage/vehicles/:id) does nothing when clicked. It has no onClick handler on both desktop (VehicleDetailPage.tsx) and mobile (VehicleDetailMobile.tsx).Acceptance Criteria
MaintenanceRecordForm(same pattern as Add Fuel Log dialog)Files to Change
frontend/src/features/vehicles/pages/VehicleDetailPage.tsx(desktop)frontend/src/features/vehicles/mobile/VehicleDetailMobile.tsx(mobile)