From 2c6208c8ce606077573c7d6d5a59438be754bfe3 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 12 Aug 2026 23:52:27 +0200 Subject: [PATCH] fix(ui): render domain guidance below the section header --- .../views/livewire/project/application/domains.blade.php | 6 +++++- tests/Feature/ApplicationDomainsTest.php | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/views/livewire/project/application/domains.blade.php b/resources/views/livewire/project/application/domains.blade.php index b1a35cb21..4ad08944e 100644 --- a/resources/views/livewire/project/application/domains.blade.php +++ b/resources/views/livewire/project/application/domains.blade.php @@ -49,7 +49,7 @@ }" @open-edit-domain.window="openEditDomain($event.detail.index, $event.detail.url, $event.detail.service)" @edit-domain-saved.window="closeEditDomain()"> - + @can('update', $application) @@ -78,6 +78,10 @@ @endcannot +

+ {{ $helperText }} +

+
{{-- Toolbar --}} diff --git a/tests/Feature/ApplicationDomainsTest.php b/tests/Feature/ApplicationDomainsTest.php index 224f9c545..2c4c2c679 100644 --- a/tests/Feature/ApplicationDomainsTest.php +++ b/tests/Feature/ApplicationDomainsTest.php @@ -1263,6 +1263,14 @@ it('uses the compact service domains layout for compose applications', function ->not->toContain('title="No domains for this service"'); }); +it('shows domain guidance in the application domains section', function () { + $view = file_get_contents(resource_path('views/livewire/project/application/domains.blade.php')); + + expect($view) + ->toContain('

') + ->toContain('{{ $helperText }}'); +}); + it('does not render a last checked column in the domains table', function () { $view = file_get_contents(resource_path('views/livewire/project/application/domains.blade.php')); $row = file_get_contents(resource_path('views/livewire/project/application/partials/domain-row.blade.php'));