Utopia-Canteen-System/Services
SYED MUSTUFA AHMED NAQVI 90380bf4fb feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI
Backend / data
- Add AdminLoginRecords table (Username, EmployeeId, LoginTimeUtc); record on each admin login
- Add IAdminAuditService (RecordLoginAsync, GetLastLogin); AdminAuditService implementation
- Settings: Admin Card ID always prefilled from last admin login in DB (AdminLoginRecords.EmployeeId), fallback "ADMIN"
- Wire AdminAuditService in App.xaml.cs; inject into AdminLoginViewModel and SettingsViewModel

UI
- Scanner Dashboard: two-panel layout (left: employee card with photo, name, department, employee ID, order; right: order placement + stats)
- Employee section: larger fonts and spacing, circular profile image, sample data and asset (emppic.jpeg)
- Menu bar: Site / Settings / Logout in WrapPanel for responsive layout; consistent button sizing
- Dashboard and card responsive (ScrollViewer, MinWidth 0, card MinWidth 360 / MaxWidth 1150)
- Scanner status: activity-based only (connected when input received; no hardware detection)
2026-02-04 18:18:17 +05:00
..
AdminAuditService.cs feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
AppSession.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
AuthResult.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
AuthService.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
ConfigService.cs Scanner dashboard & sync updates 2026-02-03 18:26:39 +05:00
IAdminAuditService.cs feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
IAuthService.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
IConfigService.cs Scanner dashboard & sync updates 2026-02-03 18:26:39 +05:00
INavigationService.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
IRfidService.cs Scanner dashboard & sync updates 2026-02-03 18:26:39 +05:00
ISyncService.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
NavigationService.cs feat: scanner+dashboard unified UI with cooldown and local sqlite sync 2026-02-02 16:45:55 +05:00
RfidService.cs Scanner dashboard & sync updates 2026-02-03 18:26:39 +05:00
SampleSyncApiController.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
ScanResult.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
SyncService.cs Scanner dashboard & sync updates 2026-02-03 18:26:39 +05:00