coolify/resources
Aditya Tripathi e7e65831a7 fix(livewire): preserve wire:dirty across DB status broadcasts
The earlier refreshStatus fix kept user-typed values intact but Livewire still
absorbed deferred wire:model values into the snapshot on every broadcast-
triggered roundtrip, clearing the unsaved-changes indicator and making the form
look auto-saved. Move all status-derived display (DB URLs, SSL toggle/mode,
cert expiry) out of each DB General form into a sibling StatusInfo Livewire
component, so the form never roundtrips on broadcasts.

Shared scaffolding lives in App\Traits\HasDatabaseStatusInfo plus an x-database-
status-info Blade component, leaving each per-DB StatusInfo class as a ~20-50
line declaration of label, SSL mode options, and SSL save hooks. Parents
dispatch databaseUpdated from save methods so the sibling refreshes after writes.

Tests cover the architecture (no DB form subscribes to status broadcasts) and
the sibling's refresh-on-status-change behavior.
2026-05-21 08:31:08 +00:00
..
css style(navbar): refine collapsed sidebar spacing 2026-05-12 11:07:19 +02:00
fonts fix(database): refresh SSL/status state and harden clone writes 2026-03-31 09:29:36 +02:00
js fix(terminal): remove verbose websocket message logging 2026-04-28 12:29:32 +02:00
views fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00