fix(awooop): make iwooos security cockpit first screen
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled

This commit is contained in:
ogt
2026-07-09 21:54:29 +08:00
parent 92578c043b
commit 22505b1273

View File

@@ -9322,8 +9322,8 @@ function SecurityMainlineCockpit({
const [liveLoading, setLiveLoading] = useState(true);
const isZh = locale === "zh-TW";
const copy = {
eyebrow: isZh ? "資安主線" : "Security mainline",
title: isZh ? "管理者作戰盤" : "Operator cockpit",
eyebrow: isZh ? "IwoooS 資安主線" : "IwoooS security mainline",
title: isZh ? "IwoooS 管理者作戰盤" : "IwoooS operator cockpit",
subtitle: isZh
? "正式環境讀回Wazuh manager registry、Windows99 locator、P0 blocker 與高風險動作邊界集中顯示。"
: "Production readback for Wazuh registry, Windows99 locator, P0 blockers, and high-risk guardrails.",
@@ -9497,6 +9497,7 @@ function SecurityMainlineCockpit({
return (
<section
id="iwooos-security-mainline"
data-testid="awooop-security-mainline-cockpit"
className="overflow-hidden border border-[#d7ddd8] bg-white"
>
@@ -11556,6 +11557,11 @@ export default function AwoooPWorkItemsPage() {
</div>
</section>
<SecurityMainlineCockpit
priority={commanderInsertedRequirementWorkOrder}
locale={locale}
/>
<AwoooPWorkItemsWorkspaceSwitcher
active={workspaceView}
onChange={setWorkspaceView}
@@ -11565,11 +11571,6 @@ export default function AwoooPWorkItemsPage() {
active={workspaceView === "overview"}
view="overview"
>
<SecurityMainlineCockpit
priority={commanderInsertedRequirementWorkOrder}
locale={locale}
/>
<ManagerSituationBoard
priority={commanderInsertedRequirementWorkOrder}
loading={false}