fix(游戏共创): 取件成功提示按两种取件形态如实措辞
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled

M2b 之后取件有两种形态:工程源包解压即可编辑工程(没有 reference/ 参考副本),成品包才放在
reference/<gameId>/ 作可玩参考。原来的成功提示写死「参考产物在 reference/<gameId>/ 下」,
对工程源包形态是错的。改为两种情形都说明,并同步测试断言(仍保留「改编自 X」这条来源事实)。
This commit is contained in:
2026-10-05 16:12:32 +08:00
parent 72f08c2646
commit da24dd5bee
2 changed files with 6 additions and 4 deletions
@@ -170,8 +170,9 @@ export default function PlatformGameForkSection({
role="status"
>
已创建项目《{success.projectName}》,改编自平台作品 {success.gameId}
(来源已记录在项目的 .agent/fork-source.json)。参考产物在 reference/
{success.gameId}/ 下,请在新工程里改造后发布。
(来源已记录在项目的 .agent/fork-source.json)。平台下发工程源包时新的项目
就是可编辑工程,直接改造即可;只下发已构建成品时,成品放在 reference/
{success.gameId}/ 作可玩参考,请在新工程里改造后发布。
</p>
) : null}
</section>
@@ -260,7 +260,8 @@ describe('PlatformGameForkSection', () => {
.join('\n');
expect(statusText).toContain('改编自平台作品 game_parent_1');
expect(statusText).toContain('reference/game_parent_1/');
// 产品口径:只到「可玩参考 + 素材」,不是可编辑工程。
expect(statusText).toContain('请在新工程里改造后发布');
// 两种取件形态都要说清:工程源包直接就是可编辑工程,成品包只作可玩参考。
expect(statusText).toContain('可编辑工程');
expect(statusText).toContain('可玩参考');
});
});