coolify/resources/views/livewire/project
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
..
application feat(applications): add configurable stop grace period 2026-05-11 23:43:53 +02:00
database fix(livewire): preserve wire:dirty across DB status broadcasts 2026-05-21 08:31:08 +00:00
new feat(deployments): track application configuration diffs 2026-05-13 09:58:58 +02:00
resource refactor(breadcrumb): optimize queries and simplify state management 2026-03-20 00:02:18 +01:00
service style(navbar): refine collapsed sidebar spacing 2026-05-12 11:07:19 +02:00
shared fix(applications): refresh pending configuration changes 2026-05-13 10:04:17 +02:00
add-empty.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
clone-me.blade.php refactor(ui): enhance project cloning interface with improved table layout for server and resource selection 2025-07-01 11:34:44 +02:00
delete-environment.blade.php refactor: Update confirmation button text for deletion actions 2024-09-23 08:58:04 +02:00
delete-project.blade.php refactor: Update confirmation button text for deletion actions 2024-09-23 08:58:04 +02:00
edit.blade.php refactor: simplify project data retrieval and enhance OAuth settings handling 2025-10-27 17:03:19 +01:00
environment-edit.blade.php Add toggleable wire:navigate SPA navigation with prefetching 2025-12-17 12:09:13 +01:00
index.blade.php style(navbar): refine collapsed sidebar spacing 2026-05-12 11:07:19 +02:00
show.blade.php Add toggleable wire:navigate SPA navigation with prefetching 2025-12-17 12:09:13 +01:00