-
+
+
+
- {copy(githubLabel)}
+ {githubLabel}
diff --git a/apps/web/src/i18n/messages/ar.json b/apps/web/src/i18n/messages/ar.json
index 55ceddfdb..6a7ac1aff 100644
--- a/apps/web/src/i18n/messages/ar.json
+++ b/apps/web/src/i18n/messages/ar.json
@@ -372,7 +372,7 @@
"m1ao8e9b": "استكشاف الكل",
"m1aot7c5": "ليست هناك حاجة إلى خدمة قاعدة البيانات.",
"m1aoti7n": "تتم إضافة الأرصدة المعتمدة إلى حسابك في غضون {value0} من الأيام بعد الموافقة وتعويض فاتورة الاشتراك المؤهلة التالية التي تبلغ OpenShip Cloud، بما في ذلك التجديد السنوي. الاعتمادات ليست استرداد نقدي ولا يمكن تحويلها إلى حساب آخر. هذه الاعتمادات هي العلاج الذي توفره اتفاقية مستوى الخدمة هذه؛ ولا تحد من الحقوق التي لا يمكن استبعادها بموجب القانون المعمول به. لا تحظى اتفاقية مستوى الخدمة المكتوبة المنفصلة بالأولوية إلا عندما تختلف شروطها صراحةً.",
- "m1ap8aej": "شغّل تطبيقاتك وقواعد بياناتك ومهامك من مكان واحد. ابدأ على OpenShip Cloud أو اربط خوادمك.",
+ "m1ap8aej": "اربط مستودعك وانشر مشروعك، ثم تابع الأداء والسجلات، وأدر النطاقات والنسخ الاحتياطية ومهام الأتمتة. ابدأ على OpenShip Cloud أو اربط خوادمك، مع أدوات التشغيل التي تحتاجها في لوحة واحدة.",
"m1aqip6t": "وسيط رسائل مستمر مع لوحة معلومات الإدارة الرسمية لقوائم الانتظار والتبادلات والاتصالات.",
"m1au9f1c": "تتدفق بيانات العملاء عبر تطبيقاتك. قواعد بياناتك وسجلات تطبيقك هي بياناتك؛ نستضيفهم لكننا لا نقرأهم.",
"m1auowlo": "قم بمراجعة خدمات قالب قاعدة البيانات وإصدارات الصور والموارد والتخزين. استخدم تفاصيل الاتصال الخاصة به في تطبيقك واحتفظ بالبيانات الدائمة منفصلة عن الحاويات البديلة.",
@@ -698,7 +698,7 @@
"m1jwmklu": "، وليس فقط الجزء المحلي قبل @. يتطلب إعداد صندوق البريد الظاهري لهذا الخادم العنوان الكامل.",
"m1jwt5qq": "قم بتعيين النسخ المتماثلة للتطبيقات المدعومة أو العمال وفحص القرون الجاهزة والتوجيه. لا يتم تنفيذ القياس التلقائي المستند إلى السياسة، وتجاوز فشل البوابة التلقائية، وقياس الإنشاء من خلال مسار التطبيق هذا.",
"m1jxapmf": "مرجع CLI الكامل",
- "m1jz1ywi": "انشر أي شيء.",
+ "m1jz1ywi": "أطلق تطبيقاتك وقواعد بياناتك.",
"m1k04yvy": "عندما تريد الانتقال",
"m1k056rw": "وحدة المعالجة المركزية (CPU) وذاكرة الوصول العشوائي (RAM) والتخزين المشتركة لمشاريعك.",
"m1k0zoz9": "البريد الوارد الخاص بك، القواعد الخاصة بك. قم بإنشاء تدفقات معالجة بريد إلكتروني مخصصة تتطابق تمامًا مع كيفية تنظيمك وكتابتك والرد وعملك.",
@@ -823,7 +823,7 @@
"m1nj40hk": "راجع كيفية التعامل مع المصادقة والحسابات المتصلة وبيانات الاعتماد بواسطة النظام الأساسي.",
"m1nj6jdz": "{months} شهرًا",
"m1nkenm2": "ليست هناك حاجة إلى تثبيت سطح مكتب منفصل.",
- "m1nob2q": "امتلك كل شيء.",
+ "m1nob2q": "وأدر بنيتك التحتية من مكان واحد.",
"m1nqjs8g": "مرجع سطر الأوامر",
"m1nsamn6": "إلى الحد الأقصى الذي يسمح به القانون، لا يتحمل أي من الطرفين المسؤولية عن الأضرار غير المباشرة أو العرضية أو التبعية.",
"m1nsoqv9": "ثلاث طرق للنشر.",
diff --git a/artifacts/project-consistency/.gitignore b/artifacts/project-consistency/.gitignore
deleted file mode 100644
index d39076d5e..000000000
--- a/artifacts/project-consistency/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/preview-app/
diff --git a/artifacts/project-consistency/after-add-postgres-form.png b/artifacts/project-consistency/after-add-postgres-form.png
deleted file mode 100644
index b96f9823a..000000000
Binary files a/artifacts/project-consistency/after-add-postgres-form.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-add-service.png b/artifacts/project-consistency/after-add-service.png
deleted file mode 100644
index 38a8b272c..000000000
Binary files a/artifacts/project-consistency/after-add-service.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-app-apply.png b/artifacts/project-consistency/after-app-apply.png
deleted file mode 100644
index df1ad8b86..000000000
Binary files a/artifacts/project-consistency/after-app-apply.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-app-dark.png b/artifacts/project-consistency/after-app-dark.png
deleted file mode 100644
index 997742761..000000000
Binary files a/artifacts/project-consistency/after-app-dark.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-app-dim.png b/artifacts/project-consistency/after-app-dim.png
deleted file mode 100644
index 6b009399d..000000000
Binary files a/artifacts/project-consistency/after-app-dim.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-app-environment.png b/artifacts/project-consistency/after-app-environment.png
deleted file mode 100644
index 5824c9f38..000000000
Binary files a/artifacts/project-consistency/after-app-environment.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-app-light.png b/artifacts/project-consistency/after-app-light.png
deleted file mode 100644
index 79ee3cf37..000000000
Binary files a/artifacts/project-consistency/after-app-light.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-app-overview.png b/artifacts/project-consistency/after-app-overview.png
deleted file mode 100644
index 717da0f22..000000000
Binary files a/artifacts/project-consistency/after-app-overview.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-app-with-postgres.png b/artifacts/project-consistency/after-app-with-postgres.png
deleted file mode 100644
index 9f0f9116e..000000000
Binary files a/artifacts/project-consistency/after-app-with-postgres.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-arabic-mobile.png b/artifacts/project-consistency/after-arabic-mobile.png
deleted file mode 100644
index 3943f641d..000000000
Binary files a/artifacts/project-consistency/after-arabic-mobile.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-mobile.png b/artifacts/project-consistency/after-mobile.png
deleted file mode 100644
index 96311852e..000000000
Binary files a/artifacts/project-consistency/after-mobile.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-postgres-environment.png b/artifacts/project-consistency/after-postgres-environment.png
deleted file mode 100644
index 4407398f8..000000000
Binary files a/artifacts/project-consistency/after-postgres-environment.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-project-settings.png b/artifacts/project-consistency/after-project-settings.png
deleted file mode 100644
index f22d77399..000000000
Binary files a/artifacts/project-consistency/after-project-settings.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-single-app.png b/artifacts/project-consistency/after-single-app.png
deleted file mode 100644
index 67e87a115..000000000
Binary files a/artifacts/project-consistency/after-single-app.png and /dev/null differ
diff --git a/artifacts/project-consistency/after-with-postgres.png b/artifacts/project-consistency/after-with-postgres.png
deleted file mode 100644
index d66af14ad..000000000
Binary files a/artifacts/project-consistency/after-with-postgres.png and /dev/null differ
diff --git a/artifacts/project-consistency/before-after-comparison.png b/artifacts/project-consistency/before-after-comparison.png
deleted file mode 100644
index 24caf68a8..000000000
Binary files a/artifacts/project-consistency/before-after-comparison.png and /dev/null differ
diff --git a/artifacts/project-consistency/before-apps-services.png b/artifacts/project-consistency/before-apps-services.png
deleted file mode 100644
index 4a7b75d92..000000000
Binary files a/artifacts/project-consistency/before-apps-services.png and /dev/null differ
diff --git a/artifacts/project-consistency/before-settings-editor.png b/artifacts/project-consistency/before-settings-editor.png
deleted file mode 100644
index c857a21eb..000000000
Binary files a/artifacts/project-consistency/before-settings-editor.png and /dev/null differ
diff --git a/artifacts/project-consistency/browser-checks.json b/artifacts/project-consistency/browser-checks.json
deleted file mode 100644
index a7f83c5be..000000000
--- a/artifacts/project-consistency/browser-checks.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "errors": [],
- "checks": [
- "single list entry",
- "same app route after adding PostgreSQL through the real Add form",
- "saved app env retained",
- "untouched secret preserved",
- "save separate from apply",
- "draft retained across tabs",
- "shared settings scope",
- "service editor",
- "light/dim/dark",
- "mobile/Arabic overflow"
- ],
- "writes": [
- {
- "path": "/api/projects/environment-preview/env",
- "input": {
- "environment": "production",
- "upserts": [
- {
- "key": "LOG_LEVEL",
- "value": "debug",
- "isSecret": false
- }
- ],
- "deletes": []
- }
- },
- {
- "path": "/api/deployments",
- "input": {
- "projectId": "environment-preview",
- "refresh": true
- }
- },
- {
- "path": "/api/projects/environment-preview/services",
- "input": {
- "name": "postgres",
- "image": "postgres:16-alpine",
- "build": "",
- "dockerfile": "",
- "ports": [
- "5432"
- ],
- "dependsOn": [],
- "environment": {
- "POSTGRES_USER": "postgres",
- "POSTGRES_PASSWORD": "[preview secret redacted]",
- "POSTGRES_DB": "app"
- },
- "volumes": [
- "pgdata:/var/lib/postgresql/data"
- ],
- "command": "",
- "restart": "unless-stopped",
- "enabled": true,
- "exposed": false,
- "domainType": "custom"
- }
- },
- {
- "path": "/api/projects/environment-preview/services/postgres/start",
- "input": null
- }
- ]
-}
diff --git a/artifacts/project-consistency/index.html b/artifacts/project-consistency/index.html
deleted file mode 100644
index f55793209..000000000
--- a/artifacts/project-consistency/index.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
Apps & Services — consistency review One Apps & Services flow The app is the first row. Adding PostgreSQL adds another row. The app keeps its URL, saved environment, and detail layout.
Open interactive preview ↗ Before / after Add a service Environment Mobile / Arabic Actual dashboard components with sample data. Saving and applying affect only the preview fixture. Existing service overrides keep their ownership.
-The starting project Before · separate application card After · the app is the first list entry
-When PostgreSQL is added One app The same app + PostgreSQL The real Add form was exercised in the browser check. The preview’s Add PostgreSQL shortcut opens the resulting state immediately.
-App overview · shared header and tabs Add PostgreSQL · existing service form
-The same environment editor website · project-owned values postgres · service-owned values Save stores values. Apply starts a runtime update. Rebuild applies build-time changes. Each panel retains the actions supported by its runtime.
-Before · environment in project Settings After · project Settings identifies shared inputs
-Themes Light Dim
-Mobile and Arabic Mobile · 390px Arabic · right to left
-Checks: stable application route through add/remove; existing overrides preserved; separate Save/Apply; untouched secrets retained; draft retained across tabs; theme and overflow checks. Browser verification details .
\ No newline at end of file
diff --git a/artifacts/project-consistency/single-to-postgres-comparison.png b/artifacts/project-consistency/single-to-postgres-comparison.png
deleted file mode 100644
index d1e0d55df..000000000
Binary files a/artifacts/project-consistency/single-to-postgres-comparison.png and /dev/null differ
diff --git a/artifacts/project-consistency/validation.json b/artifacts/project-consistency/validation.json
deleted file mode 100644
index 8280cd30c..000000000
--- a/artifacts/project-consistency/validation.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "dashboard_tests": {
- "passed": 167,
- "files": 11
- },
- "api_tests": {
- "passed": 66,
- "files": 3
- },
- "dashboard_typecheck": "passed",
- "api_typecheck": "passed",
- "browser": "passed; real Add form, saved env, stable route, separate save/apply, masked secrets, themes, mobile and Arabic",
- "preview": "sample data only; no real deployment executed"
-}
diff --git a/artifacts/project-environment/after-application-apply.png b/artifacts/project-environment/after-application-apply.png
deleted file mode 100644
index 993e0f634..000000000
Binary files a/artifacts/project-environment/after-application-apply.png and /dev/null differ
diff --git a/artifacts/project-environment/after-application-arabic-mobile.png b/artifacts/project-environment/after-application-arabic-mobile.png
deleted file mode 100644
index 59e104089..000000000
Binary files a/artifacts/project-environment/after-application-arabic-mobile.png and /dev/null differ
diff --git a/artifacts/project-environment/after-application-dim.png b/artifacts/project-environment/after-application-dim.png
deleted file mode 100644
index 0433fde8b..000000000
Binary files a/artifacts/project-environment/after-application-dim.png and /dev/null differ
diff --git a/artifacts/project-environment/after-application-environment.png b/artifacts/project-environment/after-application-environment.png
deleted file mode 100644
index 4d8aa94da..000000000
Binary files a/artifacts/project-environment/after-application-environment.png and /dev/null differ
diff --git a/artifacts/project-environment/after-application-light.png b/artifacts/project-environment/after-application-light.png
deleted file mode 100644
index 141b6dc08..000000000
Binary files a/artifacts/project-environment/after-application-light.png and /dev/null differ
diff --git a/artifacts/project-environment/after-application-mobile.png b/artifacts/project-environment/after-application-mobile.png
deleted file mode 100644
index 881626cd3..000000000
Binary files a/artifacts/project-environment/after-application-mobile.png and /dev/null differ
diff --git a/artifacts/project-environment/after-apps-services-docker.png b/artifacts/project-environment/after-apps-services-docker.png
deleted file mode 100644
index bcd2546c1..000000000
Binary files a/artifacts/project-environment/after-apps-services-docker.png and /dev/null differ
diff --git a/artifacts/project-environment/after-apps-services.png b/artifacts/project-environment/after-apps-services.png
deleted file mode 100644
index 0fa49d3de..000000000
Binary files a/artifacts/project-environment/after-apps-services.png and /dev/null differ
diff --git a/artifacts/project-environment/after-browser-checks.json b/artifacts/project-environment/after-browser-checks.json
deleted file mode 100644
index 1a13ed9cf..000000000
--- a/artifacts/project-environment/after-browser-checks.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "source": "Actual dashboard components with intercepted sample API responses",
- "errors": [],
- "writes": [
- {
- "path": "/api/projects/environment-preview/env",
- "input": {
- "environment": "production",
- "upserts": [
- {
- "key": "LOG_LEVEL",
- "value": "debug",
- "isSecret": false
- }
- ],
- "deletes": []
- }
- },
- {
- "path": "/api/deployments",
- "input": {
- "projectId": "environment-preview",
- "refresh": true
- }
- }
- ],
- "checks": [
- "Read-only page load",
- "Save preserves masked secret",
- "Apply disabled with unsaved edits",
- "Save does not deploy",
- "Apply uses refresh without build",
- "Update progress link",
- "Reopen Settings shows the same saved values and Apply",
- "Static and Cloud require rebuilding",
- "No mobile overflow",
- "Light, dim and dark",
- "Arabic RTL mobile"
- ]
-}
\ No newline at end of file
diff --git a/artifacts/project-environment/after-settings-editor.png b/artifacts/project-environment/after-settings-editor.png
deleted file mode 100644
index b8c7fe3d7..000000000
Binary files a/artifacts/project-environment/after-settings-editor.png and /dev/null differ
diff --git a/artifacts/project-environment/app-card-comparison.png b/artifacts/project-environment/app-card-comparison.png
deleted file mode 100644
index 7ab5f42fb..000000000
Binary files a/artifacts/project-environment/app-card-comparison.png and /dev/null differ
diff --git a/artifacts/project-environment/before-apps-services.png b/artifacts/project-environment/before-apps-services.png
deleted file mode 100644
index 4a7b75d92..000000000
Binary files a/artifacts/project-environment/before-apps-services.png and /dev/null differ
diff --git a/artifacts/project-environment/before-browser-checks.json b/artifacts/project-environment/before-browser-checks.json
deleted file mode 100644
index 163543be1..000000000
--- a/artifacts/project-environment/before-browser-checks.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "source": "Actual dashboard components with intercepted sample API responses",
- "errors": [],
- "writes": []
-}
\ No newline at end of file
diff --git a/artifacts/project-environment/before-settings-editor.png b/artifacts/project-environment/before-settings-editor.png
deleted file mode 100644
index c857a21eb..000000000
Binary files a/artifacts/project-environment/before-settings-editor.png and /dev/null differ
diff --git a/artifacts/project-environment/index.html b/artifacts/project-environment/index.html
deleted file mode 100644
index b5c6c85c7..000000000
--- a/artifacts/project-environment/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
Environment management · before and after
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/artifacts/project-environment/settings-comparison.png b/artifacts/project-environment/settings-comparison.png
deleted file mode 100644
index f34799f3d..000000000
Binary files a/artifacts/project-environment/settings-comparison.png and /dev/null differ
diff --git a/artifacts/project-environment/validation.json b/artifacts/project-environment/validation.json
deleted file mode 100644
index b7259e960..000000000
--- a/artifacts/project-environment/validation.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "tests": {
- "passed": 119,
- "files": 8
- },
- "dashboardTypecheck": "passed",
- "browser": "See after-browser-checks.json",
- "galleryImages": 7,
- "translations": {
- "missing": 0,
- "extra": 0,
- "changedEnvironmentStrings": "passed",
- "unrelatedUntranslatedStrings": 511
- },
- "liveDeploymentExecuted": false
-}
\ No newline at end of file
diff --git a/docs/client-icons.md b/docs/client-icons.md
index c96aa8ded..254e0728e 100644
--- a/docs/client-icons.md
+++ b/docs/client-icons.md
@@ -165,6 +165,8 @@ Charts, progress geometry, topology edges, decorative illustrations, and the
Openship wordmark remain vectors. Dynamic application/framework/provider logos,
favicons, flags, and user artwork retain their existing content sources. The
separate marketing site and `apps/email/client` are outside this pass.
+The marketing language switcher reuses the catalog's `languages` icon, with the
+same original PNG bundled in `apps/web/public/icons` and the shared mask renderer.
## Asset provenance
diff --git a/docs/dashboard-design.md b/docs/dashboard-design.md
index b4402ac29..67afbcddc 100644
--- a/docs/dashboard-design.md
+++ b/docs/dashboard-design.md
@@ -116,7 +116,14 @@ managed image defaults from the stack's runtime policy; show incompatible custom
Blank resets an image override. Unsupported destinations explain which source or server owns the
runtime, and saved overrides remain visible so users can clear them. Static Docker builds show
only the build image. Do not repeat these fields under Advanced. The saved project Configuration
-card shows the selected runtime version.
+form reuses these same fields inline, with a separate save action.
+Apps & Services lists the primary app from the start. Adding infrastructure keeps
+its identity, route and detail tabs. App Settings owns build and runtime configuration;
+project Settings always owns shared environment, resource limits and build-cache policy.
+Workload Environment edits inline through the shared environment panel. Project Settings
+opens that same editor for shared variables; service overrides retain their source review. Saving never
+deploys implicitly. App and service Domains show their own routes; routing policy and
+route rules stay in project Domains. Keep these owners stable as services are added.
Build-location choices and summaries describe execution, independently of source cloning.
Keep local building in the destination's advanced controls only when the runtime supports it.
Remote Docker, static sandbox, service, managed Cloud and cluster builds name their build
diff --git a/packages/core/src/host-channel.ts b/packages/core/src/host-channel.ts
index d202eac67..1eed55f40 100644
--- a/packages/core/src/host-channel.ts
+++ b/packages/core/src/host-channel.ts
@@ -33,7 +33,7 @@ export const HOST_CHANNEL_UNAFFECTED =
/** Everything that genuinely stops working. Verified against the call sites, not guessed. */
export const HOST_CHANNEL_BLOCKED: readonly string[] = [
"the host terminal, host system info and host port scans",
- "taking over :80/:443 from a proxy Openship didn't start",
+ "taking over :80/:443 from a proxy OpenShip didn't start",
"installing or updating the mail engine",
"deploying a catalog app that needs a generated config file on the host (Supabase's kong.yml, say)",
];
diff --git a/scripts/screenshots/project-consistency/Preview.tsx b/scripts/screenshots/project-consistency/Preview.tsx
index eb8fc6ad6..eb3e458af 100644
--- a/scripts/screenshots/project-consistency/Preview.tsx
+++ b/scripts/screenshots/project-consistency/Preview.tsx
@@ -8,6 +8,7 @@ import { GitHubProvider } from "@/context/GitHubContext";
import { ProjectSettingsProvider } from "@/context/ProjectSettingsContext";
import { ServicesTab } from "@/app/(dashboard)/projects/[id]/components/ServicesTab";
import { BuildSettings } from "@/app/(dashboard)/projects/[id]/components/BuildSettings";
+import { DomainSettings } from "@/app/(dashboard)/projects/[id]/components/DomainSettings";
import { Logo } from "@/components/logo";
import { Button } from "@/components/ui/button";
import { useI18n } from "@/components/i18n-provider";
@@ -38,6 +39,7 @@ export default function Preview() {
const pathname = usePathname();
const slug = pathname.split("/").slice(3);
const settings = slug[0] === "advanced";
+ const domains = slug[0] === "domains";
const services = !slug[0] || slug[0] === "services";
const { t } = useI18n();
const { setTheme } = useTheme();
@@ -98,14 +100,23 @@ export default function Preview() {
- {settings ? t.projects.sidebar.tabs.settings : t.projects.sidebar.tabs.services}
+ {settings
+ ? t.projects.sidebar.tabs.settings
+ : domains
+ ? t.projects.sidebar.tabs.domains
+ : t.projects.sidebar.tabs.services}
-
+
{t.projects.sidebar.tabs.services}
+
+
+ {t.projects.sidebar.tabs.domains}
+
+
{t.projects.sidebar.tabs.settings}
@@ -115,6 +126,8 @@ export default function Preview() {
{settings ? (
+ ) : domains ? (
+
) : services ? (
) : (
diff --git a/scripts/screenshots/project-consistency/README.md b/scripts/screenshots/project-consistency/README.md
index 534f3ee9f..fde8883e7 100644
--- a/scripts/screenshots/project-consistency/README.md
+++ b/scripts/screenshots/project-consistency/README.md
@@ -42,5 +42,12 @@ node scripts/screenshots/project-consistency/review.mjs
The capture uses the real Add form to add PostgreSQL, verifies the stable application
URL and saved environment, preserves untouched secrets, and checks separate Save/Apply,
-local tabs, shared Settings scope, all three themes, and English/Arabic mobile widths.
-The original before images are retained from `artifacts/project-environment`.
+local tabs, inline configuration saving without deployment, permanent Settings ownership,
+app route scope, all three themes, and English/Arabic mobile widths.
+Generated screenshots and comparison data are local-only under the ignored `artifacts/` directory.
+Before images appear in the gallery when a local baseline capture is available.
+
+The cleanup comparisons also include app configuration before/after, project Settings
+before and after adding PostgreSQL, and direct inline environment editing for the app. Project Settings opens the same
+environment component for shared values. `ApplicationSettingsForm` adapts the flat save API response to the
+page context and renders the existing wizard fields; it does not define a second field set.
diff --git a/scripts/screenshots/project-consistency/capture.mjs b/scripts/screenshots/project-consistency/capture.mjs
index bdeb9e816..0f618cb3b 100644
--- a/scripts/screenshots/project-consistency/capture.mjs
+++ b/scripts/screenshots/project-consistency/capture.mjs
@@ -63,6 +63,8 @@ try {
await page.locator('a[href$="/application/env"]').click();
await page.locator('input[value="SITE_URL"]').waitFor();
await shot("after-app-environment");
+ assert.equal(await page.locator('input[value="SITE_URL"]').getAttribute("readonly"), null);
+ assert.equal(await page.getByRole("button", { name: "Edit as text", exact: true }).count(), 1);
await page.locator('input[value="info"]').fill("debug");
await page.getByRole("button", { name: "Save environment", exact: true }).click();
await page
@@ -77,6 +79,30 @@ try {
await page.getByRole("button", { name: "Apply & restart", exact: true }).click();
await page.locator('a[href="/build/preview-apply"]').waitFor();
await shot("after-app-apply");
+ await page.locator('a[href$="/application/settings"]').click();
+ await page.locator('input[value="bun run build"]').waitFor();
+ await page.locator('input[value="bun run build"]').fill("bun run build:production");
+ await page.locator('a[href$="/application/overview"]').click();
+ await page.locator('a[href$="/application/settings"]').click();
+ assert.equal(await page.locator('input[value="bun run build:production"]').count(), 1);
+ await page.getByRole("button", { name: "Save", exact: true }).click();
+ await page.getByRole("button", { name: "Save", exact: true }).isDisabled();
+ await shot("after-app-settings");
+ const savedConfig = await (await fetch(api + "/api/preview/scenario")).json();
+ assert.deepEqual(
+ savedConfig.writes.filter((w) => w.path.endsWith("/options")).map((w) => w.input),
+ [{ buildCommand: "bun run build:production" }],
+ );
+ assert.equal(savedConfig.writes.filter((w) => w.path === "/api/deployments").length, 1);
+ await page.locator('a[href$="/application/domains"]').click();
+ await page.getByText("website.example.com", { exact: true }).first().waitFor();
+ assert.equal(await page.getByRole("button", { name: /Routing configuration/ }).count(), 0);
+ await shot("after-app-domains");
+ await page.locator('nav a[href="/projects/environment-preview/advanced"]').click();
+ await page.getByText("Project environment", { exact: true }).waitFor();
+ await shot("after-single-project-settings");
+ await page.locator('a[href="/projects/environment-preview/services"]').first().click();
+ await page.locator('a[href="/projects/environment-preview/services/application"]').click();
await page.getByRole("button", { name: "All services", exact: true }).click();
await page.getByRole("button", { name: "Add", exact: true }).click();
await page.locator("[data-modal-surface]").waitFor();
@@ -111,9 +137,16 @@ try {
await page.locator('a[href$="/env"]').click();
await page.locator('input[value="POSTGRES_DB"]').waitFor();
await shot("after-postgres-environment");
- await page.locator('a[href="/projects/environment-preview/advanced"]').click();
- await page.getByText("Shared project environment", { exact: true }).waitFor();
+ await page.locator('nav a[href="/projects/environment-preview/advanced"]').click();
+ await page.getByText("Project environment", { exact: true }).waitFor();
await shot("after-project-settings");
+ await page.getByRole("button", { name: "Edit", exact: true }).click();
+ await page.locator('[data-modal-surface] input[value="debug"]').waitFor();
+ await shot("after-project-environment-editor");
+ await page.getByRole("button", { name: "Close", exact: true }).click();
+ await page.locator('a[href$="/application/settings"]').click();
+ await page.locator('input[value="bun run build:production"]').waitFor();
+ await shot("after-app-settings-with-postgres");
await page.goto(origin + "/projects/environment-preview/services/application/env", {
waitUntil: "networkidle",
});
@@ -148,13 +181,34 @@ try {
"saved app env retained",
"untouched secret preserved",
"save separate from apply",
- "draft retained across tabs",
+ "configuration draft retained across tabs",
+ "inline configuration save writes only edited fields and does not deploy",
+ "project settings own shared environment and resource limits before and after add",
+ "single app edits environment inline with the same controls as services",
+ "same project environment component used in app panel and project settings",
+ "app Domains excludes project routing policy",
"shared settings scope",
"service editor",
"light/dim/dark",
"mobile/Arabic overflow",
],
- writes: (await (await fetch(api + "/api/preview/scenario")).json()).writes,
+ writes: (await (await fetch(api + "/api/preview/scenario")).json()).writes.map((write) => ({
+ ...write,
+ input: write.input?.environment
+ ? {
+ ...write.input,
+ environment:
+ typeof write.input.environment === "object"
+ ? Object.fromEntries(
+ Object.entries(write.input.environment).map(([key, value]) => [
+ key,
+ /PASSWORD|SECRET|TOKEN/.test(key) ? "[redacted preview value]" : value,
+ ]),
+ )
+ : write.input.environment,
+ }
+ : write.input,
+ })),
},
null,
2,
diff --git a/scripts/screenshots/project-consistency/fixture.mjs b/scripts/screenshots/project-consistency/fixture.mjs
index 66a53ff65..1c930285e 100644
--- a/scripts/screenshots/project-consistency/fixture.mjs
+++ b/scripts/screenshots/project-consistency/fixture.mjs
@@ -21,6 +21,9 @@ export const project = {
packageManager: "bun",
buildCommand: "bun run build",
startCommand: "bun run start",
+ publicEndpoints: [
+ { id: "domain", domainType: "custom", customDomain: "website.example.com", port: 3000 },
+ ],
domains: [
{
id: "domain",
@@ -72,6 +75,9 @@ const primary = {
exposed: true,
exposedPort: "3000",
domain: "website.example.com",
+ domainType: "custom",
+ customDomain: "website.example.com",
+ publicEndpoints: [{ port: 3000, domainType: "custom", customDomain: "website.example.com" }],
rootDirectory: ".",
};
export const postgres = {
@@ -122,6 +128,7 @@ function merge(rows, input) {
];
}
export const requests = [];
+const initialProject = structuredClone(project);
const initialEnv = structuredClone(env),
initialServiceEnv = structuredClone(serviceEnv);
const server = createServer(async (req, res) => {
@@ -173,6 +180,7 @@ const server = createServer(async (req, res) => {
if (path === "/api/preview/scenario") {
if (method === "POST") {
if (input.reset) {
+ Object.assign(project, structuredClone(initialProject));
env = structuredClone(initialEnv);
serviceEnv = structuredClone(initialServiceEnv);
writes = [];
@@ -186,6 +194,9 @@ const server = createServer(async (req, res) => {
project.deployTarget = input.kind === "cloud" ? "cloud" : "server";
if (input.kind === "static")
services = services.filter((s) => s.id !== "materialized-primary");
+ project.domains[0].serviceId = services.some((s) => s.id === primary.id)
+ ? primary.id
+ : undefined;
}
body = { project, services, writes };
} else if (path.endsWith("/get-session")) body = null;
@@ -193,7 +204,25 @@ const server = createServer(async (req, res) => {
body = { selfHosted: true, deployMode: "server", authMode: "none", isServerHost: true };
else if (path.endsWith("/health")) body = { status: "ok" };
else if (path.endsWith("/info")) body = { success: true, data: { project, environments: [] } };
- else if (path.endsWith("/services/containers"))
+ else if (path.endsWith("/options") && method === "POST") {
+ const topLevel = new Set([
+ "buildImage",
+ "runtimeVersion",
+ "runtimeImage",
+ "framework",
+ "packageManager",
+ "runtimeMode",
+ ]);
+ for (const [key, value] of Object.entries(input)) {
+ if (topLevel.has(key)) project[key] = value;
+ else project.options[key] = value;
+ }
+ if (input.productionPort) project.port = input.productionPort;
+ const { options, ...savedProject } = project;
+ // Match setOptions' flat Project response (getInfo adds the nested options view).
+ body = { success: true, data: { ...savedProject, ...options, port: project.port } };
+ writes.push({ path, input });
+ } else if (path.endsWith("/services/containers"))
body = {
success: true,
containers: services.map((s) => ({
@@ -215,6 +244,7 @@ const server = createServer(async (req, res) => {
kind: input.kind || "compose",
};
services = [primary, ...services.filter((s) => s.id !== primary.id), service];
+ project.domains[0].serviceId = primary.id;
body = { success: true, service };
writes.push({ path, input });
} else if (path.includes("/services/") && /\/(start|restart|apply-environment)$/.test(path)) {
diff --git a/scripts/screenshots/project-consistency/review.mjs b/scripts/screenshots/project-consistency/review.mjs
index 2b80d60e5..8b4d00e11 100644
--- a/scripts/screenshots/project-consistency/review.mjs
+++ b/scripts/screenshots/project-consistency/review.mjs
@@ -1,26 +1,30 @@
-import { mkdir, readFile, writeFile, cp } from "node:fs/promises";
+import { mkdir, writeFile, cp, readdir } from "node:fs/promises";
const output = "artifacts/project-consistency";
await mkdir(output, { recursive: true });
await cp(
"artifacts/project-environment/before-apps-services.png",
`${output}/before-apps-services.png`,
-);
+).catch(() => {});
await cp(
"artifacts/project-environment/before-settings-editor.png",
`${output}/before-settings-editor.png`,
-);
+).catch(() => {});
+const available = new Set(await readdir(output));
const figure = (title, file) =>
- `
${title} `;
+ !available.has(file)
+ ? ""
+ : `
${title} `;
const html = `
Apps & Services — consistency review One Apps & Services flow The app is the first row. Adding PostgreSQL adds another row. The app keeps its URL, saved environment, and detail layout.
Open interactive preview ↗ Before / after Add a service Environment Mobile / Arabic Actual dashboard components with sample data. Saving and applying affect only the preview fixture. Existing service overrides keep their ownership.
+One Apps & Services flow The app is the first row. Adding PostgreSQL adds another row. The app keeps its URL, saved environment, and detail layout.
Open interactive preview ↗ Before / after Add a service Settings cleanup Environment Mobile / Arabic Actual dashboard components with sample data. Saving and applying affect only the preview fixture. Existing service overrides keep their ownership.
The starting project ${figure("Before · separate application card", "before-apps-services.png")}${figure("After · the app is the first list entry", "after-single-app.png")}
When PostgreSQL is added ${figure("One app", "after-single-app.png")}${figure("The same app + PostgreSQL", "after-with-postgres.png")}
The real Add form was exercised in the browser check. The preview’s Add PostgreSQL shortcut opens the resulting state immediately.
${figure("App overview · shared header and tabs", "after-app-overview.png")}${figure("Add PostgreSQL · existing service form", "after-add-postgres-form.png")}
-The same environment editor ${figure("website · project-owned values", "after-app-with-postgres.png")}${figure("postgres · service-owned values", "after-postgres-environment.png")}
Save stores values. Apply starts a runtime update. Rebuild applies build-time changes. Each panel retains the actions supported by its runtime.
+Settings keep their owners ${figure("Before · app configuration opens the deploy wizard", "before-cleanup-app-settings.png")}${figure("After · the existing build/runtime fields edit inline", "after-app-settings.png")}
${figure("Single app · project environment and limits", "after-single-project-settings.png")}${figure("With PostgreSQL · the same project settings", "after-project-settings.png")}
The app Settings adapter reuses the wizard’s fields and writes only changed configuration. Shared environment and resources stay in project Settings. App Domains contains its routes; routing policy and rules stay in project Domains.
${figure("Before · app Domains includes project controls", "before-cleanup-app-domains.png")}${figure("After · app Domains shows app routes", "after-app-domains.png")}
+The same environment editor ${figure("website · inline project environment", "after-app-with-postgres.png")}${figure("postgres · service-owned values", "after-postgres-environment.png")}
${figure("The same shared editor opened from project Settings", "after-project-environment-editor.png")}
Single apps use the existing inline service flow. Project Settings opens the same environment component for shared values. Save stores values. Apply starts a runtime update. Rebuild applies build-time changes. Each panel retains the actions supported by its runtime.
${figure("Before · environment in project Settings", "before-settings-editor.png")}${figure("After · project Settings identifies shared inputs", "after-project-settings.png")}
Themes ${figure("Light", "after-app-light.png")}${figure("Dim", "after-app-dim.png")}
Mobile and Arabic ${figure("Mobile · 390px", "after-mobile.png")}
${figure("Arabic · right to left", "after-arabic-mobile.png")}
-Checks: stable application route through add/remove; existing overrides preserved; separate Save/Apply; untouched secrets retained; draft retained across tabs; theme and overflow checks. Browser verification details .
`;
+Checks: stable application route through add/remove; existing overrides preserved; separate Save/Apply; untouched secrets retained; configuration draft retained across tabs; changed fields only on save; permanent settings ownership; app route scope; theme and overflow checks. Browser verification details .