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
feat(ui): show Coolify version in mobile sidebar
Andras Bacsai84021504b340
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.phpindex 6e08969dbd..7e02ddb8d9 100644--- a/resources/views/layouts/app.blade.php+++ b/resources/views/layouts/app.blade.php@@ -84,6 +84,14 @@</svg></button></div>+ <div data-mobile-sidebar-brand+ class="flex h-12 shrink-0 items-center gap-1.5 border-b border-neutral-200 px-4 dark:border-white/[0.06]">+ <a href="/" {{ wireNavigate() }} title="Coolify"+ class="text-[15px] font-semibold tracking-tight text-black transition-opacity hover:opacity-80 dark:text-white">+ Coolify+ </a>+ <x-version class="!text-[10.5px] font-medium text-neutral-400 dark:text-fg-faint !opacity-100 hover:!opacity-100 hover:text-black dark:hover:text-fg" />+ </div><div class="flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto pb-2 scrollbar"><x-navbar /></div>diff --git a/tests/Feature/HeaderVersionReleaseLinkTest.php b/tests/Feature/HeaderVersionReleaseLinkTest.phpindex 94aba0df9d..187dd53678 100644--- a/tests/Feature/HeaderVersionReleaseLinkTest.php+++ b/tests/Feature/HeaderVersionReleaseLinkTest.php@@ -28,3 +28,11 @@ test('development versions are not linked to nonexistent github releases', funct->not->toContain('href=')->not->toContain('target="_blank"');});++test('mobile sidebar shows the installed coolify version when opened', function () {+ $layout = file_get_contents(resource_path('views/layouts/app.blade.php'));++ expect($layout)+ ->toContain('data-mobile-sidebar-brand')+ ->toContain('<x-version class="!text-[10.5px]');+});