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(ui): weld the deployment log sidebar to the main sidebar
Andras Bacsai22ce20a04561
diff --git a/resources/views/livewire/project/application/deployment/show.blade.php b/resources/views/livewire/project/application/deployment/show.blade.phpindex eca7cf67a1..a10e0b6640 100644--- a/resources/views/livewire/project/application/deployment/show.blade.php+++ b/resources/views/livewire/project/application/deployment/show.blade.php@@ -6,7 +6,7 @@<livewire:project.application.heading :application="$application" wire:key="application-heading-deployment-show" /><section class="application-settings-workspace mt-4 flex min-h-0 w-full max-w-none flex-1 lg:mt-0"><div class="grid min-h-0 min-w-0 flex-1 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">- <x-application.configuration-sidebar :application="$application" :flush="true"+ <x-application.configuration-sidebar :application="$application"current-route="project.application.deployment.show" /><div class="flex min-h-0 min-w-0 flex-col gap-4 xl:h-full xl:pt-px"><livewire:project.application.deployment.index :embedded="true"diff --git a/tests/Feature/ResourceHeadingUnifiedNavbarTest.php b/tests/Feature/ResourceHeadingUnifiedNavbarTest.phpindex f7951e93a0..74d7fc1aac 100644--- a/tests/Feature/ResourceHeadingUnifiedNavbarTest.php+++ b/tests/Feature/ResourceHeadingUnifiedNavbarTest.php@@ -519,14 +519,13 @@ it('builds application sidebar routes independently of the current request route->toContain("'application_uuid' => \$application->uuid");});-it('keeps the deployment log sidebar fixed in the layout without a top gap', function () {+it('welds the deployment log sidebar to the main sidebar', function () {$deployment = file_get_contents(resource_path('views/livewire/project/application/deployment/show.blade.php'));$css = file_get_contents(resource_path('css/app.css'));- expect($deployment)->toContain(':flush="true"')- ->and($css)->toContain('.application-settings-navigation.is-flush')- ->and($css)->toContain('position: static;')- ->and($css)->toContain('overflow: visible;');+ expect($deployment)->not->toContain(':flush="true"')+ ->and($css)->toContain('left: var(--sidebar-w, 14rem);')+ ->and($css)->toContain('position: fixed;');});it('uses the same mobile heading gap on deployment pages as application settings', function () {