An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(domains): keep search indexing headers on one line
Andras Bacsaib2c221433690
diff --git a/resources/views/livewire/project/application/domains.blade.php b/resources/views/livewire/project/application/domains.blade.phpindex 4ad08944e1..fb5bf9b1df 100644--- a/resources/views/livewire/project/application/domains.blade.php+++ b/resources/views/livewire/project/application/domains.blade.php@@ -237,7 +237,7 @@<div class="data-table-header domains-table-grid-service"><span>Domain</span><span>DNS Check</span>- <span>Search engine indexing</span>+ <span class="whitespace-nowrap">Search engine indexing</span><span></span></div>@foreach ($rows as $row)@@ -273,7 +273,7 @@<div class="data-table-header domains-table-grid"><span>Domain</span><span>DNS Check</span>- <span>Search engine indexing</span>+ <span class="whitespace-nowrap">Search engine indexing</span><span>Direction</span><span></span></div>diff --git a/resources/views/livewire/project/service/partials/domain-table.blade.php b/resources/views/livewire/project/service/partials/domain-table.blade.phpindex c0de5b62d7..f245c27e06 100644--- a/resources/views/livewire/project/service/partials/domain-table.blade.php+++ b/resources/views/livewire/project/service/partials/domain-table.blade.php@@ -12,7 +12,7 @@<span>Service</span>@endif<span>DNS Check</span>- <span>Search engine indexing</span>+ <span class="whitespace-nowrap">Search engine indexing</span><span>Direction</span><span></span></div>diff --git a/tests/Feature/ApplicationDomainsTest.php b/tests/Feature/ApplicationDomainsTest.phpindex 748b572f04..288952a7d4 100644--- a/tests/Feature/ApplicationDomainsTest.php+++ b/tests/Feature/ApplicationDomainsTest.php@@ -1168,7 +1168,7 @@ it('uses the compact service domains layout for compose applications', function->toContain('bg-neutral-50 px-4 py-3 dark:border-white/10 dark:bg-white/[0.04]')->toContain('class="data-table-header domains-table-grid-service"')->toContain('<span>Direction</span>')- ->toContain('<span>Search engine indexing</span>')+ ->toContain('<span class="whitespace-nowrap">Search engine indexing</span>')->not->toContain('<span>Last checked</span>')->not->toContain('id="edit-domain-direction"')->toContain('id="domain-direction-service-{{ $redirectWireKey }}"')@@ -1177,6 +1177,16 @@ it('uses the compact service domains layout for compose applications', function->not->toContain('title="No domains for this service"');});+it('keeps search engine indexing table headers on one line', function () {+ $applicationView = file_get_contents(resource_path('views/livewire/project/application/domains.blade.php'));+ $serviceView = file_get_contents(resource_path('views/livewire/project/service/partials/domain-table.blade.php'));++ expect(substr_count($applicationView, '<span class="whitespace-nowrap">Search engine indexing</span>'))+ ->toBe(2)+ ->and($serviceView)+ ->toContain('<span class="whitespace-nowrap">Search engine indexing</span>');+});+it('shows domain guidance in the application domains section', function () {$view = file_get_contents(resource_path('views/livewire/project/application/domains.blade.php'));