feat: v1.3.0 — banner notifications, quick-access, swipe navigation, bug fixes

Added:
- Expired/expiring product banner alerts with use, throw, edit, dismiss actions
- Priority-sorted notifications (expired > expiring > suspicious qty > predictions)
- Touch swipe navigation for banner with dot indicators and arrow buttons
- Quick-access buttons on inventory (4 recent + 8 popular products)
- Auto-refresh banner every 5 min on dashboard
- Edit expiry dates directly from expired/expiring notifications

Fixed:
- Ignore negative BLE scale readings
- Banner re-appearing after edit (confirmation now persisted)
- False consumption predictions when inventory was manually edited
- Kiosk overlay no longer blocks web app header
This commit is contained in:
dadaloop82
2026-04-18 05:37:03 +00:00
parent 52cfbba663
commit 9e2a24def4
10 changed files with 593 additions and 12 deletions
@@ -456,8 +456,7 @@ class KioskActivity : AppCompatActivity() {
override fun onPageFinished(view: WebView?, url: String?) {
super.onPageFinished(view, url)
// Inject triple-tap exit on the header bar
injectKioskOverlay()
// Kiosk overlay removed — exit is handled via the Android settings gear button
// Check for updates periodically
checkForUpdates()
}