Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz Source: /opt/alga-psa on psa.joliet.tech
46 lines
1.4 KiB
TypeScript
46 lines
1.4 KiB
TypeScript
import React from 'react';
|
|
import type { Metadata } from 'next';
|
|
import { getServerTranslation } from '@alga-psa/ui/lib/i18n/serverOnly';
|
|
|
|
// OSS stub implementation for Extensions feature
|
|
export const metadata = {
|
|
title: 'Extensions - Enterprise Feature'
|
|
};
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
return metadata;
|
|
}
|
|
|
|
type PageParams = { id: string };
|
|
|
|
export default async function Page({ params }: { params: PageParams | Promise<PageParams> }) {
|
|
const { t } = await getServerTranslation(undefined, 'msp/extensions');
|
|
const resolvedParams = await params;
|
|
|
|
return (
|
|
<div className="flex items-center justify-center h-64">
|
|
<div className="text-center">
|
|
<h2 className="text-xl font-semibold mb-2">
|
|
{t('enterpriseFeature.title', { defaultValue: 'Enterprise Feature' })}
|
|
</h2>
|
|
<p className="text-gray-600">
|
|
{t('enterpriseFeature.description', {
|
|
defaultValue: '{{feature}} require Enterprise Edition. Please upgrade to access this feature.',
|
|
feature: t('page.title', { defaultValue: 'Extensions' })
|
|
})}
|
|
</p>
|
|
<p className="text-sm text-gray-500 mt-2">
|
|
{t('detail.extensionId', {
|
|
defaultValue: 'Extension ID: {{id}}',
|
|
id: resolvedParams.id
|
|
})}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
// Named exports for compatibility
|
|
export const ExtensionPage = Page;
|
|
export const ExtensionPageMetadata = metadata;
|