How silvioivanio/map-valentine-s-garage- works
Valentine’s Garage is an Android repair-operations app. Its main workflow is mechanic vehicle intake, task creation and claiming, repair completion with notes, then administrative review and audit reporting. MainActivity routes users by role; feature ViewModels coordinate domain repository interfaces, with data implementations documented as Firebase-backed. The README also describes offline Firestore support and native PDF/share integrations. Several implementation files were not sampled, so those documented capability links are shown as unverified where source evidence is unavailable.
Main entry points: MainActivity.kt Role routing · repository Repository contracts · ui Shared UI theme · NewIntakeScreen.kt Vehicle intake
Components 18
App and navigation
- Role routing
app/src/main/java/com/nust/valentinegarage/MainActivity.kt
Garage workflows
- Login
feature/auth/src/main/java/com/nust/valentinegarage/feature/auth/LoginScreen.kt - Vehicle intake
feature/checkin/src/main/java/com/nust/valentinegarage/feature/checkin/NewIntakeScreen.kt - Intake logic
feature/checkin/src/main/java/com/nust/valentinegarage/feature/checkin/NewIntakeViewModel.kt - Mechanic dashboard
feature/mechanic/src/main/java/com/nust/valentinegarage/feature/mechanic/MechanicDashboardScreen.kt - Service board
feature/mechanic/src/main/java/com/nust/valentinegarage/feature/mechanic/ServiceDetailScreen.kt - Service logic
feature/mechanic/src/main/java/com/nust/valentinegarage/feature/mechanic/ServiceDetailViewModel.kt - Admin dashboard
feature/admin/src/main/java/com/nust/valentinegarage/feature/admin/AdminDashboardScreen.kt - Audit trail
feature/admin/src/main/java/com/nust/valentinegarage/feature/admin/AuditTrailScreen.kt - User profile
feature/auth/src/main/java/com/nust/valentinegarage/feature/profile/ProfileScreen.kt
Domain and presentation core
- Repository contracts
core/domain/src/main/java/com/nust/valentinegarage/core/domain/repository - Garage models
core/model/src/main/java/com/nust/valentinegarage/core/model - Shared UI theme
core/ui/src/main/java/com/nust/valentinegarage/core/ui
Data access
- Repository adapters
core/data/src/main/java/com/nust/valentinegarage/core/data/repository
Other components
- Mechanic
- Administrator
- Firebase services
- Android print/share
Connections 23
- Mechanic → Role routing: opens app
- Administrator → Role routing: opens app
- Role routing → Login: routes to
app/src/main/java/com/nust/valentinegarage/MainActivity.kt - Role routing → Vehicle intake: routes to
app/src/main/java/com/nust/valentinegarage/MainActivity.kt - Role routing → Mechanic dashboard: routes to
app/src/main/java/com/nust/valentinegarage/MainActivity.kt - Role routing → Service board: routes to
app/src/main/java/com/nust/valentinegarage/MainActivity.kt - Role routing → Admin dashboard: routes to
app/src/main/java/com/nust/valentinegarage/MainActivity.kt - Role routing → Audit trail: routes to
app/src/main/java/com/nust/valentinegarage/MainActivity.kt - Role routing → User profile: routes to
app/src/main/java/com/nust/valentinegarage/MainActivity.kt - Login → Shared UI theme: uses components
feature/auth/src/main/java/com/nust/valentinegarage/feature/auth/LoginScreen.kt - Vehicle intake → Intake logic: invokes
feature/checkin/src/main/java/com/nust/valentinegarage/feature/checkin/NewIntakeScreen.kt - Vehicle intake → Shared UI theme: uses components
feature/checkin/src/main/java/com/nust/valentinegarage/feature/checkin/NewIntakeScreen.kt - Intake logic → Repository contracts: calls repositories
feature/checkin/src/main/java/com/nust/valentinegarage/feature/checkin/NewIntakeViewModel.kt - Mechanic dashboard → Repository contracts: uses repositories
- Service board → Service logic: invokes
feature/mechanic/src/main/java/com/nust/valentinegarage/feature/mechanic/ServiceDetailScreen.kt - Service logic → Repository contracts: calls repositories
feature/mechanic/src/main/java/com/nust/valentinegarage/feature/mechanic/ServiceDetailViewModel.kt - Audit trail → Shared UI theme: uses theme
feature/admin/src/main/java/com/nust/valentinegarage/feature/admin/AuditTrailScreen.kt - Audit trail → Android print/share: prints and shares
feature/admin/src/main/java/com/nust/valentinegarage/feature/admin/AuditTrailScreen.kt - User profile → Shared UI theme: uses theme
feature/auth/src/main/java/com/nust/valentinegarage/feature/profile/ProfileScreen.kt - Repository contracts → Garage models: exchanges models
core/domain/src/main/java/com/nust/valentinegarage/core/domain/repository/TaskRepository.kt - Repository adapters → Repository contracts: implements
core/data/src/main/java/com/nust/valentinegarage/core/data/repository/TaskRepositoryImpl.kt - Repository adapters → Firebase services: accesses backend
README.md - Firebase services → Repository adapters: syncs cached data
README.md