coolify/resources/views/livewire/project/database
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
..
backup feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
clickhouse fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
dragonfly fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
keydb fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
mariadb fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
mongodb fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
mysql fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
postgresql fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
redis fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
backup-edit.blade.php fix(validation): allow decimals for database backups max storage 2026-04-25 22:27:26 +05:30
backup-executions.blade.php feat: Refactor service database management and backup functionalities 2026-01-02 16:29:48 +01:00
backup-now.blade.php fix: update Livewire button click method to use camelCase 2025-01-07 11:03:23 +01:00
configuration.blade.php feat(ui): improve sidebar menu items styling (#7928) 2026-01-12 23:09:56 +01:00
create-scheduled-backup.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
heading.blade.php fix(ui): improve responsive project headings and controls 2026-04-09 19:51:31 +02:00
import.blade.php feat: Refactor service database management and backup functionalities 2026-01-02 16:29:48 +01:00
init-script.blade.php fix indexing after deletion and make sure init script is removed form the server 2024-10-18 20:51:51 +02:00
scheduled-backups.blade.php Add toggleable wire:navigate SPA navigation with prefetching 2025-12-17 12:09:13 +01:00
status-info.blade.php fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00