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(v5): rename nginx action to deploy
Andras Bacsai0914052b565e
diff --git a/resources/js/v5/Pages/Dashboard.tsx b/resources/js/v5/Pages/Dashboard.tsxindex e994edfa4f..1971a51a45 100644--- a/resources/js/v5/Pages/Dashboard.tsx+++ b/resources/js/v5/Pages/Dashboard.tsx@@ -1262,7 +1262,7 @@ function normalizeConnection(connection: V5ResourceConnection): CanvasConnectiondisabled={isCreating || nginxServers.length === 0}className="rounded-lg bg-warning px-3 py-2 text-sm font-semibold text-black transition hover:bg-warning/90 disabled:cursor-not-allowed disabled:opacity-60">- {isCreating ? 'Adding nginx…' : 'Add nginx'}+ {isCreating ? 'Deploying…' : 'Deploy'}</button><buttontype="button"@@ -1335,7 +1335,7 @@ function normalizeConnection(connection: V5ResourceConnection): CanvasConnection<section className="pointer-events-none absolute left-1/2 top-1/2 flex w-[min(32rem,calc(100%-2rem))] -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center gap-3 rounded-lg border border-dashed border-border bg-card/90 px-8 py-16 text-center shadow-sm"><p className="text-sm font-medium text-foreground">No applications on this canvas yet.</p><p className="max-w-md text-sm text-muted-foreground">- Click Add nginx to deploy a test container on one of your v5 servers.+ Click Deploy to deploy a test container on one of your v5 servers.</p></section>)}diff --git a/tests/Feature/V5/DashboardTest.php b/tests/Feature/V5/DashboardTest.phpindex 50b421cf07..d7737d6340 100644--- a/tests/Feature/V5/DashboardTest.php+++ b/tests/Feature/V5/DashboardTest.php@@ -4226,7 +4226,8 @@ it('defines the v5 dashboard page as a shadcn styled canvas shell', function ()->toContain('bg-background text-foreground')->toContain('h-dvh overflow-hidden bg-background text-foreground')->toContain('relative h-full min-h-0 overflow-hidden pt-16')- ->toContain('Add nginx')+ ->toContain('Deploy')+ ->not->toContain('Add nginx')->toContain('Select nginx server')->toContain('selectedNginxServerId')->toContain('nginxImage')