Mobile: FAB + button maintenance option navigates to wrong screen #13
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?
Bug Description
On mobile, tapping the floating action button (+) in the bottom navigation and selecting "Maintenance" navigates to the Vehicles screen instead of the New Maintenance dialog.
Steps to Reproduce
Expected Behavior
Should open the New Maintenance dialog.
Actual Behavior
Navigates to the Vehicles screen.
Context
This is the same navigation bug that was previously fixed on the dashboard + button. The fix was not applied to the FAB in the bottom navigation bar.
Affected Component
Plan: FAB Maintenance Navigation Fix
Phase: Review | Agent: Claude | Status: PASS
Root Cause
In
frontend/src/App.tsx, thehandleQuickActionfunction (lines 426-444) handles FAB button clicks. The 'add-maintenance' case incorrectly navigated to 'Vehicles':Solution
Changed navigation target from 'Vehicles' to 'Maintenance':
Implementation Steps
frontend/src/App.tsxValidation
Verdict: PASS | Next: Manual testing and PR merge
PR: #14