-
Notifications
You must be signed in to change notification settings - Fork 0
[UI] Resident Documents screen and bottom navigation (Phase 9) #432
Copy link
Copy link
Open
Milestone
Description
Phase 9 — Resident Documents and Navigation
Implement the resident-facing documents screen and the Resident bottom navigation bar. This is split from #408 which covers the entire Resident Experience.
Screens & Composables
MyDocumentsScreen.kt (RES-12)
- Thin wrapper around
DocumentLibraryScreen([UI] Document Library + Viewer + Upload screens (Phase 8) #407) with unitId fixed to resident's unit - Upload FAB hidden (read-only for residents)
- Tapping a document navigates to DocumentViewerScreen
- Read-only: no upload, delete, or move capability
Resident Bottom Navigation (RES-14)
- Separate composable from Admin/Staff bottom nav
- Items: [Home | Requests | Documents | Profile]
- Displayed in the Resident NavHost scaffold
- Highlights active tab using Material3 NavigationBar active indicator
ViewModel
MyDocumentsViewModel.kt (RES-13): resolves resident's unitId via unit_occupants, calls DocumentManager.getDocumentsForUnit(unitId)
Navigation
Route.MyDocuments,Route.ResidentProfileregistered in Resident NavGraph- Route.DocumentViewer shared with Admin/Staff graph or declared global
Dependencies
- [UI] Resident experience — role-based navigation and home screen (Phase 9) #408 — Resident NavGraph host (MyDocumentsScreen is a tab in Resident bottom nav)
- [UI] Document Library + Viewer + Upload screens (Phase 8) #407 — DocumentLibraryScreen and DocumentManager
What type of task is this?
Development
Reactions are currently unavailable