收口单按钮已读状态弹窗

新增 PlatformAcknowledgeStatusDialog 统一承接单按钮已读状态壳层
迁移大鱼结果页与个人中心支付结果复用共享已读状态弹窗
迁移 RPG 编辑器与平台入口提示链路复用共享已读状态弹窗
迁移自定义世界实体目录阻断提示复用共享已读状态弹窗
补充共享组件测试并更新 PlatformUiKit 收口文档与决策记录
This commit is contained in:
2026-06-11 00:38:26 +08:00
parent 6163350f5c
commit edf37d97a7
9 changed files with 181 additions and 49 deletions

View File

@@ -94,6 +94,7 @@ import {
} from '../asset-studio/characterAssetWorkflowPersistence';
import { useAuthUi } from '../auth/AuthUiContext';
import { CharacterAnimator } from '../CharacterAnimator';
import { PlatformAcknowledgeStatusDialog } from '../common/PlatformAcknowledgeStatusDialog';
import { PlatformAssetPickerGrid } from '../common/PlatformAssetPickerCard';
import { PlatformEmptyState } from '../common/PlatformEmptyState';
import { PlatformIconButton } from '../common/PlatformIconButton';
@@ -102,7 +103,6 @@ import { PlatformModalCloseButton } from '../common/PlatformModalCloseButton';
import { PlatformOverlayBadge } from '../common/PlatformOverlayBadge';
import { PlatformPillBadge } from '../common/PlatformPillBadge';
import { PlatformSlotBadge } from '../common/PlatformSlotBadge';
import { PlatformStatusDialog } from '../common/PlatformStatusDialog';
import { PlatformStatusMessage } from '../common/PlatformStatusMessage';
import { PlatformSubpanel } from '../common/PlatformSubpanel';
import { PlatformUnsavedLeaveConfirmDialog } from '../common/PlatformUnsavedLeaveConfirmDialog';
@@ -1491,7 +1491,7 @@ function EditorNoticeDialog({
onClose: () => void;
}) {
return (
<PlatformStatusDialog
<PlatformAcknowledgeStatusDialog
status="error"
title="提示"
description={message}
@@ -1500,14 +1500,9 @@ function EditorNoticeDialog({
showCloseButton
closeOnBackdrop
closeOnEscape
action={{
label: '知道了',
onClick: onClose,
surface: 'platform',
size: 'sm',
fullWidth: false,
className: 'min-h-0 rounded-full px-4 py-2',
}}
actionSize="sm"
actionFullWidth={false}
actionClassName="min-h-0 rounded-full px-4 py-2"
zIndexClassName="z-[140]"
overlayClassName="rpg-editor-notice-dialog-overlay !items-center"
panelClassName="platform-remap-surface rounded-[1.5rem]"