From 7c47ad33587bae2689e3b0c229e8498e72ac209a Mon Sep 17 00:00:00 2001 From: kdletters Date: Thu, 11 Jun 2026 06:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=94=B6=E5=8F=A3=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E5=A4=B4=E9=83=A8=E5=8A=A8=E4=BD=9C=E7=BB=84?= =?UTF-8?q?=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 沉淀 PlatformDetailTopbar 与 PlatformDetailShareActions 共享骨架 接入 RPG 世界详情与公开作品详情的返回复制分享动作组合 补充测试护栏与文档决策记录 --- .hermes/shared-memory/decision-log.md | 1 + ...】PlatformUiKit弹窗组件收口计划-2026-06-08.md | 1 + .../PlatformDetailShareActions.test.tsx | 52 +++++++ .../common/PlatformDetailShareActions.tsx | 143 ++++++++++++++++++ .../common/PlatformDetailTopbar.test.tsx | 49 ++++++ .../common/PlatformDetailTopbar.tsx | 89 +++++++++++ .../platform-entry/PlatformWorkDetailView.tsx | 72 +++++---- .../rpg-entry/RpgEntryWorldDetailView.tsx | 130 ++++++---------- 8 files changed, 420 insertions(+), 117 deletions(-) create mode 100644 src/components/common/PlatformDetailShareActions.test.tsx create mode 100644 src/components/common/PlatformDetailShareActions.tsx create mode 100644 src/components/common/PlatformDetailTopbar.test.tsx create mode 100644 src/components/common/PlatformDetailTopbar.tsx diff --git a/.hermes/shared-memory/decision-log.md b/.hermes/shared-memory/decision-log.md index 69cd9882..e77dacb6 100644 --- a/.hermes/shared-memory/decision-log.md +++ b/.hermes/shared-memory/decision-log.md @@ -2099,6 +2099,7 @@ - 决策:RPG 创作侧标准 dark header / footer 动作也继续纳入同一条按钮收口线。`RpgCreationRoleAssetStudioModalImpl.tsx` 的 header“关闭”、`RpgCreationEntityEditorShared.tsx` 的 footer“取消”以及 `RpgCreationRoleAssetStudioFooter.tsx` 的“保存到当前角色”都改为委托 `PlatformActionButton surface="editorDark"`;局部壳层只保留布局、宽度/字号贴合和少量 tone 语义,不再为标准 dark close / cancel / save CTA 单独维护原生 `