fix: add Maintenance to mobile bottom-sheet More menu (#162) #164
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?
Relates to #162
Severity: Critical
Problem
The "More" bottom-sheet menu on mobile lists: Settings, Documents, Stations, Log Fuel, Vehicles, Dashboard -- but Maintenance is completely absent. There is no way to reach the Maintenance page from mobile navigation at all.
Acceptance Criteria
Implementation Plan (from #162 -- Milestone 3)
Phase: 1 (Foundation) | Priority: Critical | Depends on: None | Blocks: None
Context
The mobile bottom-sheet "More" menu (hamburger drawer) does not include Maintenance as a navigation option. Users cannot reach the Maintenance page from the More menu.
Implementation
1. In
frontend/src/shared-minimal/components/mobile/HamburgerDrawer.tsx:{ screen: 'Maintenance', label: 'Maintenance', icon: <BuildRoundedIcon /> }to themenuItemsarrayBuildRoundedIconfrom@mui/icons-material/BuildRoundedFiles
frontend/src/shared-minimal/components/mobile/HamburgerDrawer.tsxCommit Convention
Test Criteria
Branch
Work on branch
issue-162-ux-design-audit-cleanup(shared with all #162 sub-issues)Milestone: Implementation Complete
Phase: Execution | Agent: Developer | Status: PASS
Changes
BuildRoundedIconimport toHamburgerDrawer.tsx{ screen: 'Maintenance', label: 'Maintenance', icon: <BuildRoundedIcon /> }tomenuItemsarray, placed after Documents for logical groupingVerification
'Maintenance'is a validMobileScreentype)73976a7on branchissue-162-ux-design-audit-cleanupMenu Order (bottom-to-top rendering)
Settings, Documents, Maintenance, Stations, Log Fuel, Vehicles, Dashboard
Verdict: PASS | Next: Visual verification on mobile viewports