homeos/app/Livewire/Modals
HomeOS Bootstrap 97dc49e577 fix: adversarial-review fixes + themed checkboxes
Multi-agent review of the feedback batch (7 confirmed):
- [P2] Low-battery sweep excluded a genuine 0% reading (`$pct > 0`) — a dead
  battery never alerted. Now `< 20` (missing reading still defaults to 100).
- [P2] SMTP encryption rule `required|in:,tls,ssl` rejected the "None" option it
  offered → unencrypted relays uncofigurable. Now `in:,tls,ssl`.
- [P2] Avatar preview called temporaryUrl() on any upload → 500 for HEIC/
  non-previewable files. Guarded with isPreviewable() + real-time
  updatedAvatar() validation for a friendly error.
- [P3] NotificationService::send() now catches transport errors so one SMTP
  failure can't abort a whole sweep / automation run.
- [P3] Mailer config is now purged (Mail::purge) so long-running Horizon workers
  pick up SMTP setting changes instead of reusing a cached mailer.
- [P3] Alert dedup TTL 1 day → 1 month, so a persistent outage mails once, not
  daily.
- User: themed .checkbox (accent, dark-surface, custom check) replaces the
  default browser checkbox in SMTP/automation/device modals.

+2 tests (0% battery alerts, no-encryption saves). Suite 84 green, 12/12 clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 10:48:22 +02:00
..
AddDevice.php feat(shelly): local HTTP/RPC transport — add by IP like Home Assistant 2026-07-18 09:48:35 +02:00
AssignDevice.php feat(shelly): local HTTP/RPC transport — add by IP like Home Assistant 2026-07-18 09:48:35 +02:00
Confirm.php Fix R15: Shelly prefix from mDNS instance, discovery broadcast once, targeted confirm 2026-07-18 00:34:56 +02:00
CreateAutomation.php feat(ui): standard modal shell — fixed header/footer, scrollable body, 2-col 2026-07-18 10:09:24 +02:00
CreateRoom.php feat(rooms): create + delete rooms (delete unassigns devices) 2026-07-18 10:12:49 +02:00
LightControl.php Tablet control panel: touch tiles, drag-reorder, light colour modal 2026-07-18 00:58:24 +02:00
ManagePerson.php fix: adversarial-review fixes + themed checkboxes 2026-07-18 10:48:22 +02:00
RingSetup.php fix(addons): honest Ring setup guide instead of fake "connecting" 2026-07-18 10:26:27 +02:00
SmtpSetup.php fix: adversarial-review fixes + themed checkboxes 2026-07-18 10:48:22 +02:00
Warnings.php Fix R15: include room-less devices in home status 2026-07-17 21:58:35 +02:00