mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 11:56:01 +02:00
Add HMS error notifications with translations and plate detection fixes
New Features: - HMS error notifications with human-readable messages (853 error codes) - Plate not empty notification category (separate toggle in settings) - Module-friendly names: Print/Task, AMS/Filament, Nozzle/Extruder, etc. - Backup/restore now includes plate calibration reference images Fixes: - Plate calibration images now persist after restart in Docker - Telegram notifications no longer fail on error codes with underscores - Plate detection combo button: main toggles detection, chevron opens modal Tests: - Added HMS error code tests (10 tests) - Implemented Dashboard, FileManagerModal, UploadModal tests (previously skipped) - Added notification service tests for HMS errors and plate detection - Fixed AuthContext unmount memory leak in tests
This commit is contained in:
@@ -1184,6 +1184,8 @@ export interface NotificationProvider {
|
||||
// AMS-HT environmental alarms
|
||||
on_ams_ht_humidity_high: boolean;
|
||||
on_ams_ht_temperature_high: boolean;
|
||||
// Build plate detection
|
||||
on_plate_not_empty: boolean;
|
||||
// Quiet hours
|
||||
quiet_hours_enabled: boolean;
|
||||
quiet_hours_start: string | null;
|
||||
@@ -1224,6 +1226,8 @@ export interface NotificationProviderCreate {
|
||||
// AMS-HT environmental alarms
|
||||
on_ams_ht_humidity_high?: boolean;
|
||||
on_ams_ht_temperature_high?: boolean;
|
||||
// Build plate detection
|
||||
on_plate_not_empty?: boolean;
|
||||
// Quiet hours
|
||||
quiet_hours_enabled?: boolean;
|
||||
quiet_hours_start?: string | null;
|
||||
@@ -1257,6 +1261,8 @@ export interface NotificationProviderUpdate {
|
||||
// AMS-HT environmental alarms
|
||||
on_ams_ht_humidity_high?: boolean;
|
||||
on_ams_ht_temperature_high?: boolean;
|
||||
// Build plate detection
|
||||
on_plate_not_empty?: boolean;
|
||||
// Quiet hours
|
||||
quiet_hours_enabled?: boolean;
|
||||
quiet_hours_start?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user