create-mercato-app 0.7.1-develop.7150.1.c1941e0c22 → 0.7.1-develop.7152.1.a69e92f9c9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agentic/shared/ai/harness/cases.json +4 -2
- package/dist/agentic/guides/module-facts.json +828 -149
- package/dist/agentic/guides/module-facts.v2.json +828 -149
- package/dist/agentic/guides/modules/ai_assistant/index.md +1 -1
- package/dist/agentic/guides/modules/api_docs/index.md +1 -1
- package/dist/agentic/guides/modules/api_keys/index.md +1 -1
- package/dist/agentic/guides/modules/attachments/index.md +1 -1
- package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
- package/dist/agentic/guides/modules/auth/index.md +1 -1
- package/dist/agentic/guides/modules/business_rules/index.md +1 -1
- package/dist/agentic/guides/modules/catalog/index.md +1 -1
- package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
- package/dist/agentic/guides/modules/channel_discord/index.md +1 -1
- package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
- package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
- package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
- package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
- package/dist/agentic/guides/modules/channel_resend/acl-features.md +12 -0
- package/dist/agentic/guides/modules/channel_resend/contribution-resolutions.md +11 -0
- package/dist/agentic/guides/modules/channel_resend/di-registrations-rich.md +12 -0
- package/dist/agentic/guides/modules/channel_resend/exact-override-targets.md +16 -0
- package/dist/agentic/guides/modules/channel_resend/index.md +18 -0
- package/dist/agentic/guides/modules/channel_resend/owned-contract-module-metadata.md +11 -0
- package/dist/agentic/guides/modules/channel_resend/setup.md +11 -0
- package/dist/agentic/guides/modules/channel_resend/umes-contributions.md +11 -0
- package/dist/agentic/guides/modules/channel_ses/acl-features.md +12 -0
- package/dist/agentic/guides/modules/channel_ses/contribution-resolutions.md +11 -0
- package/dist/agentic/guides/modules/channel_ses/di-registrations-rich.md +12 -0
- package/dist/agentic/guides/modules/channel_ses/exact-override-targets.md +16 -0
- package/dist/agentic/guides/modules/channel_ses/index.md +18 -0
- package/dist/agentic/guides/modules/channel_ses/owned-contract-module-metadata.md +11 -0
- package/dist/agentic/guides/modules/channel_ses/setup.md +11 -0
- package/dist/agentic/guides/modules/channel_ses/umes-contributions.md +11 -0
- package/dist/agentic/guides/modules/checkout/index.md +1 -1
- package/dist/agentic/guides/modules/communication_channels/di-registrations-rich.md +10 -9
- package/dist/agentic/guides/modules/communication_channels/exact-override-targets.md +12 -11
- package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
- package/dist/agentic/guides/modules/communication_channels/setup.md +1 -1
- package/dist/agentic/guides/modules/configs/index.md +1 -1
- package/dist/agentic/guides/modules/content/index.md +1 -1
- package/dist/agentic/guides/modules/currencies/index.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
- package/dist/agentic/guides/modules/customers/index.md +1 -1
- package/dist/agentic/guides/modules/dashboards/index.md +1 -1
- package/dist/agentic/guides/modules/data_sync/index.md +1 -1
- package/dist/agentic/guides/modules/design_system/index.md +1 -1
- package/dist/agentic/guides/modules/devices/index.md +1 -1
- package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
- package/dist/agentic/guides/modules/directory/index.md +1 -1
- package/dist/agentic/guides/modules/documents/index.md +1 -1
- package/dist/agentic/guides/modules/entities/index.md +1 -1
- package/dist/agentic/guides/modules/eudr/index.md +1 -1
- package/dist/agentic/guides/modules/events/index.md +1 -1
- package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
- package/dist/agentic/guides/modules/generators/index.md +1 -1
- package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
- package/dist/agentic/guides/modules/integrations/index.md +1 -1
- package/dist/agentic/guides/modules/messages/index.md +1 -1
- package/dist/agentic/guides/modules/notifications/index.md +1 -1
- package/dist/agentic/guides/modules/onboarding/index.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
- package/dist/agentic/guides/modules/perspectives/index.md +1 -1
- package/dist/agentic/guides/modules/planner/index.md +1 -1
- package/dist/agentic/guides/modules/portal/index.md +1 -1
- package/dist/agentic/guides/modules/progress/index.md +1 -1
- package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
- package/dist/agentic/guides/modules/query_index/index.md +1 -1
- package/dist/agentic/guides/modules/record_locks/index.md +1 -1
- package/dist/agentic/guides/modules/resources/index.md +1 -1
- package/dist/agentic/guides/modules/sales/index.md +1 -1
- package/dist/agentic/guides/modules/scheduler/index.md +1 -1
- package/dist/agentic/guides/modules/search/index.md +1 -1
- package/dist/agentic/guides/modules/security/index.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
- package/dist/agentic/guides/modules/sso/index.md +1 -1
- package/dist/agentic/guides/modules/staff/index.md +1 -1
- package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
- package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
- package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
- package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
- package/dist/agentic/guides/modules/translations/index.md +1 -1
- package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
- package/dist/agentic/guides/modules/webhooks/index.md +1 -1
- package/dist/agentic/guides/modules/wms/index.md +1 -1
- package/dist/agentic/guides/modules/workflows/index.md +1 -1
- package/dist/agentic/guides/reference-module-facts.json +1 -1
- package/dist/agentic/guides/upstream/manifest.json +1 -1
- package/dist/agentic/shared/ai/harness/cases.json +4 -2
- package/package.json +3 -3
- package/template/.env.example +46 -1
- package/template/package.json.template +2 -0
- package/template/scripts/dev-runtime-actions.mjs +99 -0
- package/template/scripts/dev-runtime-config.mjs +89 -0
- package/template/scripts/dev-runtime-diagnostics.mjs +292 -0
- package/template/scripts/dev-runtime-gateway.mjs +370 -0
- package/template/scripts/dev-runtime-probe.mjs +77 -0
- package/template/scripts/dev-runtime-state.mjs +571 -0
- package/template/scripts/dev-runtime-supervisor.mjs +268 -0
- package/template/scripts/dev-runtime.mjs +29 -0
- package/template/scripts/dev-splash-state.mjs +14 -0
- package/template/scripts/dev-splash.html +357 -2
- package/template/scripts/dev.mjs +396 -14
- package/template/src/app/__tests__/start-page-bootstrap.test.ts +34 -0
- package/template/src/app/api/dev-runtime/actions/[action]/route.ts +5 -0
- package/template/src/app/api/dev-runtime/diagnostics/route.ts +5 -0
- package/template/src/app/api/dev-runtime/logs/route.ts +5 -0
- package/template/src/app/api/dev-runtime/status/route.ts +5 -0
- package/template/src/app/api/healthz/__tests__/route.test.ts +3 -1
- package/template/src/app/global-error.tsx +7 -0
- package/template/src/app/layout.tsx +11 -0
- package/template/src/app/start/page.tsx +11 -1
- package/template/src/i18n/de.json +27 -0
- package/template/src/i18n/en.json +27 -0
- package/template/src/i18n/es.json +27 -0
- package/template/src/i18n/ko.json +27 -0
- package/template/src/i18n/pl.json +27 -0
- package/template/src/modules/example/__integration__/TC-START-001-onboarding-gate.spec.ts +33 -0
- package/template/src/modules.ts +2 -0
|
@@ -6,6 +6,9 @@ import { AppProviders } from '@/components/AppProviders'
|
|
|
6
6
|
import { THEME_INIT_SCRIPT } from '@open-mercato/ui/theme/theme-init-script'
|
|
7
7
|
import { detectLocale, loadDictionary } from '@open-mercato/shared/lib/i18n/server'
|
|
8
8
|
import { resolveForcedLocale } from '@open-mercato/shared/lib/i18n/locale'
|
|
9
|
+
import { resolveDevRuntimeLayoutConfig } from '@open-mercato/shared/lib/dev-runtime/layout'
|
|
10
|
+
import { DevRuntimeDiagnosticsBanner } from '@open-mercato/ui/backend/dev/DevRuntimeDiagnosticsBanner'
|
|
11
|
+
import { DevRuntimeReporter } from '@open-mercato/ui/backend/dev/DevRuntimeReporter'
|
|
9
12
|
|
|
10
13
|
export const metadata: Metadata = {
|
|
11
14
|
title: 'Open Mercato',
|
|
@@ -25,11 +28,19 @@ export default async function RootLayout({
|
|
|
25
28
|
const localeLocked = resolveForcedLocale(process.env) !== null
|
|
26
29
|
const demoModeEnabled = process.env.DEMO_MODE !== 'false'
|
|
27
30
|
const noticeBarsEnabled = process.env.OM_INTEGRATION_TEST !== 'true'
|
|
31
|
+
const devRuntime = resolveDevRuntimeLayoutConfig(process.env)
|
|
28
32
|
return (
|
|
29
33
|
<html lang={locale} suppressHydrationWarning>
|
|
34
|
+
<head>
|
|
35
|
+
{devRuntime.meta.map((meta) => (
|
|
36
|
+
<meta key={meta.name} name={meta.name} content={meta.content} />
|
|
37
|
+
))}
|
|
38
|
+
</head>
|
|
30
39
|
<body className="antialiased" suppressHydrationWarning data-gramm="false">
|
|
31
40
|
<script id="om-theme-init" dangerouslySetInnerHTML={{ __html: THEME_INIT_SCRIPT }} />
|
|
32
41
|
<AppProviders locale={locale} dict={dict} localeLocked={localeLocked} demoModeEnabled={demoModeEnabled} noticeBarsEnabled={noticeBarsEnabled}>
|
|
42
|
+
{devRuntime.enabled ? <DevRuntimeReporter /> : null}
|
|
43
|
+
{devRuntime.bannerEnabled ? <DevRuntimeDiagnosticsBanner /> : null}
|
|
33
44
|
{children}
|
|
34
45
|
</AppProviders>
|
|
35
46
|
</body>
|
|
@@ -10,13 +10,23 @@ import { cookies } from 'next/headers'
|
|
|
10
10
|
import Image from 'next/image'
|
|
11
11
|
import Link from 'next/link'
|
|
12
12
|
import { resolveTranslations } from '@open-mercato/shared/lib/i18n/server'
|
|
13
|
+
import { bootstrap } from '@/bootstrap'
|
|
13
14
|
import { createRequestContainer } from '@open-mercato/shared/lib/di/container'
|
|
15
|
+
import { isEmailDeliveryConfigured } from '@open-mercato/shared/lib/email/config'
|
|
14
16
|
import type { EntityManager } from '@mikro-orm/postgresql'
|
|
15
17
|
import { User } from '@open-mercato/core/modules/auth/data/entities'
|
|
16
18
|
import { Tenant, Organization } from '@open-mercato/core/modules/directory/data/entities'
|
|
17
19
|
import { buildHomeQuickLinks } from '@/lib/homeQuickLinks'
|
|
18
20
|
import { Fragment } from 'react'
|
|
19
21
|
|
|
22
|
+
// Every other route that builds a request container bootstraps first, and this page needs it
|
|
23
|
+
// twice over: `createRequestContainer` throws outright until `registerDiRegistrars` has run, and
|
|
24
|
+
// the email transport `isEmailDeliveryConfigured` reads is registered by a module's DI
|
|
25
|
+
// `register()`. Without this the process's first request answers `/start` with the database
|
|
26
|
+
// panel in an error state and the onboarding CTA hidden on a fully configured instance, then
|
|
27
|
+
// silently corrects itself once any API route bootstraps the process (#5817).
|
|
28
|
+
bootstrap()
|
|
29
|
+
|
|
20
30
|
function FeatureBadge({ label }: { label: string }) {
|
|
21
31
|
return (
|
|
22
32
|
<span className="inline-flex items-center rounded border px-2 py-0.5 text-xs text-muted-foreground">
|
|
@@ -77,7 +87,7 @@ export default async function StartPage() {
|
|
|
77
87
|
|
|
78
88
|
const onboardingAvailable =
|
|
79
89
|
process.env.SELF_SERVICE_ONBOARDING_ENABLED === 'true' &&
|
|
80
|
-
|
|
90
|
+
isEmailDeliveryConfigured() &&
|
|
81
91
|
Boolean(process.env.APP_URL && process.env.APP_URL.trim())
|
|
82
92
|
|
|
83
93
|
return (
|
|
@@ -912,6 +912,33 @@
|
|
|
912
912
|
"ui.detail.inline.markdownEnable": "Zu Markdown wechseln",
|
|
913
913
|
"ui.detail.inline.saveShortcut": "Speichern (⌘/Strg+Eingabe)",
|
|
914
914
|
"ui.detail.inline.select.placeholder": "Auswählen…",
|
|
915
|
+
"ui.devRuntime.actions.dismiss": "Schließen",
|
|
916
|
+
"ui.devRuntime.actions.failed": "Die Wiederherstellungsaktion konnte nicht gestartet werden.",
|
|
917
|
+
"ui.devRuntime.actions.generate": "Generatoren ausführen",
|
|
918
|
+
"ui.devRuntime.actions.hideDetails": "Details ausblenden",
|
|
919
|
+
"ui.devRuntime.actions.hideLogs": "Logs ausblenden",
|
|
920
|
+
"ui.devRuntime.actions.migrate": "Migrationen ausführen",
|
|
921
|
+
"ui.devRuntime.actions.restart": "Laufzeit neu starten",
|
|
922
|
+
"ui.devRuntime.actions.retry": "Erneut versuchen",
|
|
923
|
+
"ui.devRuntime.actions.showDetails": "Details anzeigen",
|
|
924
|
+
"ui.devRuntime.actions.viewLogs": "Logs anzeigen",
|
|
925
|
+
"ui.devRuntime.confirm.migrate.text": "Damit werden ausstehende Migrationen auf deine Entwicklungsdatenbank angewendet. Das ist nicht automatisch umkehrbar — ein Rollback ist eine separate manuelle Aufgabe.",
|
|
926
|
+
"ui.devRuntime.confirm.migrate.title": "Datenbankmigrationen anwenden?",
|
|
927
|
+
"ui.devRuntime.details.code": "Fehlercode",
|
|
928
|
+
"ui.devRuntime.details.firstSeen": "Zuerst gesehen",
|
|
929
|
+
"ui.devRuntime.details.generation": "Laufzeit-Generation",
|
|
930
|
+
"ui.devRuntime.details.lastSeen": "Zuletzt gesehen",
|
|
931
|
+
"ui.devRuntime.details.occurrences": "Vorkommen",
|
|
932
|
+
"ui.devRuntime.details.path": "Pfad",
|
|
933
|
+
"ui.devRuntime.details.source": "Quelle",
|
|
934
|
+
"ui.devRuntime.health.degraded": "Laufzeit eingeschränkt",
|
|
935
|
+
"ui.devRuntime.health.ready": "Laufzeit bereit",
|
|
936
|
+
"ui.devRuntime.health.recovering": "Laufzeit erholt sich",
|
|
937
|
+
"ui.devRuntime.health.starting": "Laufzeit startet",
|
|
938
|
+
"ui.devRuntime.health.unavailable": "Laufzeit nicht verfügbar",
|
|
939
|
+
"ui.devRuntime.logs.empty": "Noch keine Diagnosezeilen.",
|
|
940
|
+
"ui.devRuntime.logs.splashHint": "Vollständiger Startstream:",
|
|
941
|
+
"ui.devRuntime.noIncident": "Keine Vorfalldetails verfügbar",
|
|
915
942
|
"ui.dialog.close.ariaLabel": "Schließen",
|
|
916
943
|
"ui.dialogs.confirm.cancelText": "Abbrechen",
|
|
917
944
|
"ui.dialogs.confirm.confirmText": "Bestätigen",
|
|
@@ -912,6 +912,33 @@
|
|
|
912
912
|
"ui.detail.inline.markdownEnable": "Switch to Markdown",
|
|
913
913
|
"ui.detail.inline.saveShortcut": "Save (⌘/Ctrl+Enter)",
|
|
914
914
|
"ui.detail.inline.select.placeholder": "Select…",
|
|
915
|
+
"ui.devRuntime.actions.dismiss": "Dismiss",
|
|
916
|
+
"ui.devRuntime.actions.failed": "The recovery action could not be started.",
|
|
917
|
+
"ui.devRuntime.actions.generate": "Run generators",
|
|
918
|
+
"ui.devRuntime.actions.hideDetails": "Hide details",
|
|
919
|
+
"ui.devRuntime.actions.hideLogs": "Hide logs",
|
|
920
|
+
"ui.devRuntime.actions.migrate": "Run migrations",
|
|
921
|
+
"ui.devRuntime.actions.restart": "Restart runtime",
|
|
922
|
+
"ui.devRuntime.actions.retry": "Retry",
|
|
923
|
+
"ui.devRuntime.actions.showDetails": "Show details",
|
|
924
|
+
"ui.devRuntime.actions.viewLogs": "View logs",
|
|
925
|
+
"ui.devRuntime.confirm.migrate.text": "This applies pending migrations to your development database. It is not automatically reversible — rolling back is a separate manual task.",
|
|
926
|
+
"ui.devRuntime.confirm.migrate.title": "Apply database migrations?",
|
|
927
|
+
"ui.devRuntime.details.code": "Error code",
|
|
928
|
+
"ui.devRuntime.details.firstSeen": "First seen",
|
|
929
|
+
"ui.devRuntime.details.generation": "Runtime generation",
|
|
930
|
+
"ui.devRuntime.details.lastSeen": "Last seen",
|
|
931
|
+
"ui.devRuntime.details.occurrences": "Occurrences",
|
|
932
|
+
"ui.devRuntime.details.path": "Path",
|
|
933
|
+
"ui.devRuntime.details.source": "Source",
|
|
934
|
+
"ui.devRuntime.health.degraded": "Runtime degraded",
|
|
935
|
+
"ui.devRuntime.health.ready": "Runtime ready",
|
|
936
|
+
"ui.devRuntime.health.recovering": "Runtime recovering",
|
|
937
|
+
"ui.devRuntime.health.starting": "Runtime starting",
|
|
938
|
+
"ui.devRuntime.health.unavailable": "Runtime unavailable",
|
|
939
|
+
"ui.devRuntime.logs.empty": "No diagnostic lines yet.",
|
|
940
|
+
"ui.devRuntime.logs.splashHint": "Full startup stream:",
|
|
941
|
+
"ui.devRuntime.noIncident": "No incident details available",
|
|
915
942
|
"ui.dialog.close.ariaLabel": "Close",
|
|
916
943
|
"ui.dialogs.confirm.cancelText": "Cancel",
|
|
917
944
|
"ui.dialogs.confirm.confirmText": "Confirm",
|
|
@@ -912,6 +912,33 @@
|
|
|
912
912
|
"ui.detail.inline.markdownEnable": "Cambiar a Markdown",
|
|
913
913
|
"ui.detail.inline.saveShortcut": "Guardar (⌘/Ctrl+Enter)",
|
|
914
914
|
"ui.detail.inline.select.placeholder": "Seleccionar…",
|
|
915
|
+
"ui.devRuntime.actions.dismiss": "Descartar",
|
|
916
|
+
"ui.devRuntime.actions.failed": "No se pudo iniciar la acción de recuperación.",
|
|
917
|
+
"ui.devRuntime.actions.generate": "Ejecutar generadores",
|
|
918
|
+
"ui.devRuntime.actions.hideDetails": "Ocultar detalles",
|
|
919
|
+
"ui.devRuntime.actions.hideLogs": "Ocultar registros",
|
|
920
|
+
"ui.devRuntime.actions.migrate": "Ejecutar migraciones",
|
|
921
|
+
"ui.devRuntime.actions.restart": "Reiniciar entorno",
|
|
922
|
+
"ui.devRuntime.actions.retry": "Reintentar",
|
|
923
|
+
"ui.devRuntime.actions.showDetails": "Ver detalles",
|
|
924
|
+
"ui.devRuntime.actions.viewLogs": "Ver registros",
|
|
925
|
+
"ui.devRuntime.confirm.migrate.text": "Esto aplica las migraciones pendientes a tu base de datos de desarrollo. No es reversible automáticamente: revertirlo es una tarea manual aparte.",
|
|
926
|
+
"ui.devRuntime.confirm.migrate.title": "¿Aplicar las migraciones de base de datos?",
|
|
927
|
+
"ui.devRuntime.details.code": "Código de error",
|
|
928
|
+
"ui.devRuntime.details.firstSeen": "Primera vez",
|
|
929
|
+
"ui.devRuntime.details.generation": "Generación del entorno",
|
|
930
|
+
"ui.devRuntime.details.lastSeen": "Última vez",
|
|
931
|
+
"ui.devRuntime.details.occurrences": "Ocurrencias",
|
|
932
|
+
"ui.devRuntime.details.path": "Ruta",
|
|
933
|
+
"ui.devRuntime.details.source": "Origen",
|
|
934
|
+
"ui.devRuntime.health.degraded": "Entorno degradado",
|
|
935
|
+
"ui.devRuntime.health.ready": "Entorno listo",
|
|
936
|
+
"ui.devRuntime.health.recovering": "Entorno recuperándose",
|
|
937
|
+
"ui.devRuntime.health.starting": "Entorno iniciándose",
|
|
938
|
+
"ui.devRuntime.health.unavailable": "Entorno no disponible",
|
|
939
|
+
"ui.devRuntime.logs.empty": "Aún no hay líneas de diagnóstico.",
|
|
940
|
+
"ui.devRuntime.logs.splashHint": "Flujo de arranque completo:",
|
|
941
|
+
"ui.devRuntime.noIncident": "No hay detalles del incidente",
|
|
915
942
|
"ui.dialog.close.ariaLabel": "Cerrar",
|
|
916
943
|
"ui.dialogs.confirm.cancelText": "Cancelar",
|
|
917
944
|
"ui.dialogs.confirm.confirmText": "Confirmar",
|
|
@@ -912,6 +912,33 @@
|
|
|
912
912
|
"ui.detail.inline.markdownEnable": "Markdown으로 전환",
|
|
913
913
|
"ui.detail.inline.saveShortcut": "저장 (⌘/Ctrl+Enter)",
|
|
914
914
|
"ui.detail.inline.select.placeholder": "선택…",
|
|
915
|
+
"ui.devRuntime.actions.dismiss": "닫기",
|
|
916
|
+
"ui.devRuntime.actions.failed": "복구 작업을 시작하지 못했습니다.",
|
|
917
|
+
"ui.devRuntime.actions.generate": "제너레이터 실행",
|
|
918
|
+
"ui.devRuntime.actions.hideDetails": "세부 정보 숨기기",
|
|
919
|
+
"ui.devRuntime.actions.hideLogs": "로그 숨기기",
|
|
920
|
+
"ui.devRuntime.actions.migrate": "마이그레이션 실행",
|
|
921
|
+
"ui.devRuntime.actions.restart": "런타임 재시작",
|
|
922
|
+
"ui.devRuntime.actions.retry": "다시 시도",
|
|
923
|
+
"ui.devRuntime.actions.showDetails": "세부 정보 표시",
|
|
924
|
+
"ui.devRuntime.actions.viewLogs": "로그 보기",
|
|
925
|
+
"ui.devRuntime.confirm.migrate.text": "개발 데이터베이스에 대기 중인 마이그레이션을 적용합니다. 자동으로 되돌릴 수 없으며, 롤백은 별도의 수동 작업입니다.",
|
|
926
|
+
"ui.devRuntime.confirm.migrate.title": "데이터베이스 마이그레이션을 적용할까요?",
|
|
927
|
+
"ui.devRuntime.details.code": "오류 코드",
|
|
928
|
+
"ui.devRuntime.details.firstSeen": "최초 발생",
|
|
929
|
+
"ui.devRuntime.details.generation": "런타임 세대",
|
|
930
|
+
"ui.devRuntime.details.lastSeen": "최근 발생",
|
|
931
|
+
"ui.devRuntime.details.occurrences": "발생 횟수",
|
|
932
|
+
"ui.devRuntime.details.path": "경로",
|
|
933
|
+
"ui.devRuntime.details.source": "출처",
|
|
934
|
+
"ui.devRuntime.health.degraded": "런타임 성능 저하",
|
|
935
|
+
"ui.devRuntime.health.ready": "런타임 준비됨",
|
|
936
|
+
"ui.devRuntime.health.recovering": "런타임 복구 중",
|
|
937
|
+
"ui.devRuntime.health.starting": "런타임 시작 중",
|
|
938
|
+
"ui.devRuntime.health.unavailable": "런타임 사용 불가",
|
|
939
|
+
"ui.devRuntime.logs.empty": "진단 로그가 아직 없습니다.",
|
|
940
|
+
"ui.devRuntime.logs.splashHint": "전체 시작 스트림:",
|
|
941
|
+
"ui.devRuntime.noIncident": "인시던트 세부 정보가 없습니다",
|
|
915
942
|
"ui.dialog.close.ariaLabel": "닫기",
|
|
916
943
|
"ui.dialogs.confirm.cancelText": "취소",
|
|
917
944
|
"ui.dialogs.confirm.confirmText": "확인",
|
|
@@ -912,6 +912,33 @@
|
|
|
912
912
|
"ui.detail.inline.markdownEnable": "Przełącz na Markdown",
|
|
913
913
|
"ui.detail.inline.saveShortcut": "Zapisz (⌘/Ctrl+Enter)",
|
|
914
914
|
"ui.detail.inline.select.placeholder": "Wybierz…",
|
|
915
|
+
"ui.devRuntime.actions.dismiss": "Zamknij",
|
|
916
|
+
"ui.devRuntime.actions.failed": "Nie udało się uruchomić akcji naprawczej.",
|
|
917
|
+
"ui.devRuntime.actions.generate": "Uruchom generatory",
|
|
918
|
+
"ui.devRuntime.actions.hideDetails": "Ukryj szczegóły",
|
|
919
|
+
"ui.devRuntime.actions.hideLogs": "Ukryj logi",
|
|
920
|
+
"ui.devRuntime.actions.migrate": "Uruchom migracje",
|
|
921
|
+
"ui.devRuntime.actions.restart": "Zrestartuj środowisko",
|
|
922
|
+
"ui.devRuntime.actions.retry": "Ponów",
|
|
923
|
+
"ui.devRuntime.actions.showDetails": "Pokaż szczegóły",
|
|
924
|
+
"ui.devRuntime.actions.viewLogs": "Zobacz logi",
|
|
925
|
+
"ui.devRuntime.confirm.migrate.text": "Ta operacja zastosuje oczekujące migracje w Twojej deweloperskiej bazie danych. Nie jest automatycznie odwracalna — wycofanie zmian to osobne zadanie ręczne.",
|
|
926
|
+
"ui.devRuntime.confirm.migrate.title": "Zastosować migracje bazy danych?",
|
|
927
|
+
"ui.devRuntime.details.code": "Kod błędu",
|
|
928
|
+
"ui.devRuntime.details.firstSeen": "Pierwsze wystąpienie",
|
|
929
|
+
"ui.devRuntime.details.generation": "Generacja środowiska",
|
|
930
|
+
"ui.devRuntime.details.lastSeen": "Ostatnie wystąpienie",
|
|
931
|
+
"ui.devRuntime.details.occurrences": "Wystąpienia",
|
|
932
|
+
"ui.devRuntime.details.path": "Ścieżka",
|
|
933
|
+
"ui.devRuntime.details.source": "Źródło",
|
|
934
|
+
"ui.devRuntime.health.degraded": "Środowisko działa z ograniczeniami",
|
|
935
|
+
"ui.devRuntime.health.ready": "Środowisko gotowe",
|
|
936
|
+
"ui.devRuntime.health.recovering": "Środowisko odzyskuje sprawność",
|
|
937
|
+
"ui.devRuntime.health.starting": "Środowisko uruchamia się",
|
|
938
|
+
"ui.devRuntime.health.unavailable": "Środowisko niedostępne",
|
|
939
|
+
"ui.devRuntime.logs.empty": "Brak linii diagnostycznych.",
|
|
940
|
+
"ui.devRuntime.logs.splashHint": "Pełny strumień startu:",
|
|
941
|
+
"ui.devRuntime.noIncident": "Brak szczegółów incydentu",
|
|
915
942
|
"ui.dialog.close.ariaLabel": "Zamknij",
|
|
916
943
|
"ui.dialogs.confirm.cancelText": "Anuluj",
|
|
917
944
|
"ui.dialogs.confirm.confirmText": "Potwierdź",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { expect, test } from '@playwright/test'
|
|
2
|
+
|
|
3
|
+
const viewports = [
|
|
4
|
+
{ name: 'desktop', width: 1280, height: 900 },
|
|
5
|
+
{ name: 'mobile', width: 390, height: 844 },
|
|
6
|
+
]
|
|
7
|
+
|
|
8
|
+
test.describe('TC-START-001: start page onboarding gate', () => {
|
|
9
|
+
for (const viewport of viewports) {
|
|
10
|
+
test(`${viewport.name} shows the connected onboarding state without layout or browser errors`, async ({ page }) => {
|
|
11
|
+
const browserErrors: string[] = []
|
|
12
|
+
page.on('console', (message) => {
|
|
13
|
+
if (message.type() === 'error') browserErrors.push(message.text())
|
|
14
|
+
})
|
|
15
|
+
page.on('pageerror', (error) => browserErrors.push(error.message))
|
|
16
|
+
await page.setViewportSize(viewport)
|
|
17
|
+
|
|
18
|
+
const response = await page.goto('/start', { waitUntil: 'networkidle' })
|
|
19
|
+
|
|
20
|
+
expect(response?.status()).toBe(200)
|
|
21
|
+
await expect(page.getByRole('heading', { name: 'Welcome to Your Open Mercato Installation' })).toBeVisible()
|
|
22
|
+
await expect(page.getByRole('heading', { name: 'Launch your own workspace' })).toBeVisible()
|
|
23
|
+
await expect(page.getByRole('link', { name: 'Start onboarding' })).toHaveAttribute('href', '/onboarding')
|
|
24
|
+
await expect(page.getByRole('button', { name: 'Superadmin login disabled' })).toBeDisabled()
|
|
25
|
+
const databaseStatusCard = page.getByText('Database Status', { exact: true }).locator('..')
|
|
26
|
+
await expect(databaseStatusCard).toContainText(/Status:\s*Connected/)
|
|
27
|
+
expect(await page.evaluate(
|
|
28
|
+
() => document.documentElement.scrollWidth > document.documentElement.clientWidth,
|
|
29
|
+
)).toBe(false)
|
|
30
|
+
expect(browserErrors).toEqual([])
|
|
31
|
+
})
|
|
32
|
+
}
|
|
33
|
+
})
|
package/template/src/modules.ts
CHANGED
|
@@ -122,6 +122,8 @@ export const enabledModules: ModuleEntry[] = [
|
|
|
122
122
|
// Per-user email channels for the Communications Hub (SPEC-045d / email
|
|
123
123
|
// integration spec). Each provider package registers its `ChannelAdapter`
|
|
124
124
|
// at import time via `setup.ts`; the hub picks them up by `providerKey`.
|
|
125
|
+
{ id: 'channel_resend', from: '@open-mercato/channel-resend' },
|
|
126
|
+
{ id: 'channel_ses', from: '@open-mercato/channel-ses' },
|
|
125
127
|
{ id: 'channel_imap', from: '@open-mercato/channel-imap' },
|
|
126
128
|
{ id: 'channel_gmail', from: '@open-mercato/channel-gmail' },
|
|
127
129
|
// Mobile push providers for the push_notifications channel. Each registers a
|