Compare commits

..

2 Commits

Author SHA1 Message Date
2ec208e25a Merge pull request 'fix: FAB maintenance navigation (#13)' (#14) from issue-13-fab-maintenance-nav into main
All checks were successful
Deploy to Staging / Build Images (push) Successful in 22s
Deploy to Staging / Deploy to Staging (push) Successful in 28s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 5s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
Reviewed-on: #14
2026-01-04 04:46:18 +00:00
Eric Gullickson
17484d7b5f fix: FAB maintenance button navigates to correct screen (refs #13)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 5m22s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 37s
Deploy to Staging / Verify Staging (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 5s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
The mobile FAB 'Maintenance' option was navigating to the Vehicles screen
instead of the Maintenance screen. Updated handleQuickAction to navigate
to 'Maintenance' which displays MaintenanceMobileScreen.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 22:31:07 -06:00

View File

@@ -437,8 +437,7 @@ function App() {
navigateToScreen('Documents', { source: 'quick-action' });
break;
case 'add-maintenance':
// Navigate to maintenance or open form (future implementation)
navigateToScreen('Vehicles', { source: 'quick-action' });
navigateToScreen('Maintenance', { source: 'quick-action' });
break;
}
}, [navigateToScreen, navigateToVehicleSubScreen]);