Sidebar
Main navigation sidebar (~762 lines). Role-based nav with 40+ links.
Connections
- uses: AuthContext
- uses: NotificationBell
- calls: portal-auth (users list, impersonate, set-token)
- calls: portal-cert-invoice-api (review-queue count)
- calls: portal-intake-requests-api, portal-schedule-changes-api, portal-cancel-requests-api, portal-escalations-api (pending counts)
- calls: GET /api/portal/files/trash (trash listing)
Notes
- Project quick-search with autocomplete (/portal/projects/quick-search)
- User impersonation (switch user)
- Trash panel with restore
- Live clock (updates every 60s)
- Collapsible with localStorage persistence
- Status badges for owner review count, action center pending counts