feat(authorizations): 從佔位符升級為完整 HITL 授權頁面
Some checks failed
E2E Health Check / e2e-health (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

接入 LiveApprovalPanel:Multi-Sig、權限擋板 (RBAC)、SSE 即時更新、CSRF 保護

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-01 22:45:41 +08:00
parent 79c8a2e7ab
commit ddf82937f4

View File

@@ -3,31 +3,23 @@
/**
* Authorizations Page - 授權中心
* ==============================
* Phase 7.0: 防禦性路由佔位
* Wave 3: i18n 國際化支援 (2026-03-31)
* HITL 即時授權頁面,整合 LiveApprovalPanel
* 含 Multi-Sig、權限擋板、SSE 即時更新
*
* Nothing.tech 空態設計:
* - 畫面正中央極簡文字
* - 等寬字體 + 淺灰色
* @updated 2026-04-01 ogt - 從佔位符升級為完整頁面
*/
import { AppLayout } from '@/components/layout'
import { useTranslations } from 'next-intl'
import { LiveApprovalPanel } from '@/components/approval/live-approval-panel'
export default function AuthorizationsPage({
params,
}: {
params: { locale: string }
}) {
const t = useTranslations('placeholder')
return (
<AppLayout locale={params.locale}>
<div className="flex items-center justify-center min-h-[60vh]">
<p className="font-mono text-sm text-neutral-400 tracking-wider">
{t('authorizations')}
</p>
</div>
<LiveApprovalPanel />
</AppLayout>
)
}