How nurasss/downtime-supervisor-app-for-android works
Downtime Supervisor is an Android operations app for production-line downtime and maintenance, serving dispatchers, mechanics, warehouse staff, and administrators. The main user flow starts in the Compose app and exposes dashboard, equipment, work-order, inventory, analytics, and profile functions; the profile includes theme switching. Separate legacy activities cover login and role-specific scenarios. The data layer is documented as using Room locally and Retrofit for backend exchange. The README establishes these capabilities, but no application source excerpts were provided, so internal calls and screen-to-data wiring are not asserted.
Main entry points: MainComposeActivity.kt Compose entry · repository Repositories and analytics · ApiService.kt Retrofit API · DashboardScreen.kt Dashboard
Components 17
App entry
- Compose entry
app/src/main/java/com/example/downtimesupervisor/ui/MainComposeActivity.kt
Compose workflow
- Dashboard
app/src/main/java/com/example/downtimesupervisor/ui/screens/dashboard/DashboardScreen.kt - Equipment
app/src/main/java/com/example/downtimesupervisor/ui/screens/equipment/EquipmentListScreen.kt - Work orders
app/src/main/java/com/example/downtimesupervisor/ui/screens/workorders/WorkOrdersScreen.kt - Inventory
app/src/main/java/com/example/downtimesupervisor/ui/screens/inventory/InventoryScreen.kt - Analytics
app/src/main/java/com/example/downtimesupervisor/ui/screens/analytics/AnalyticsScreen.kt - Profile and theme
app/src/main/java/com/example/downtimesupervisor/ui/screens/profile/ProfileScreen.kt
Role workflows
- Role login
app/src/main/java/com/example/downtimesupervisor/LoginActivity.kt - Dispatcher panel
app/src/main/java/com/example/downtimesupervisor/MainActivity.kt - Mechanic workflow
app/src/main/java/com/example/downtimesupervisor/MechanicActivity.kt - Warehouse workflow
app/src/main/java/com/example/downtimesupervisor/WarehouseActivity.kt - Admin workflow
app/src/main/java/com/example/downtimesupervisor/AdminActivity.kt
Data services
- Room storage
app/src/main/java/com/example/downtimesupervisor/data/local/AppDatabase.kt - Repositories and analytics
app/src/main/java/com/example/downtimesupervisor/data/repository - Retrofit API
app/src/main/java/com/example/downtimesupervisor/data/remote/ApiService.kt
Other components
- App user
- Backend service
Connections 11
- App user → Compose entry: opens
README.md - App user → Role login: signs in
README.md - Compose entry → Dashboard: offers screen
README.md - Compose entry → Equipment: offers screen
README.md - Compose entry → Work orders: offers screen
README.md - Compose entry → Inventory: offers screen
README.md - Compose entry → Analytics: offers screen
README.md - Compose entry → Profile and theme: offers screen
README.md - Repositories and analytics → Room storage: uses locally
- Repositories and analytics → Retrofit API: uses for exchange
- Retrofit API → Backend service: exchanges data
README.md