suzmii
ce737f4e8b
Project CI / Backend tests (pull_request) Failing after 18s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 5m0s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 6m47s
Project CI / Repository checks (pull_request) Failing after 56s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 4m28s
Project CI / Frontend tests (pull_request) Successful in 4m18s
Project CI / AI game creator shell web tests (pull_request) Successful in 4m7s
Project CI / Native shell tests (pull_request) Successful in 9m27s
AGC 发布面板接入买断制定价并抽取共享定价组件
packages/shared/src/components:新增 PlatformGamePricingField(.tsx/.css/.test.tsx)与 platformGamePricingModel(上限常量与解析),并从 components/index.ts 导出;组件只表达付费方式单选、买断价输入、上限提示、禁用态与错误行,校验由使用方持有。
src/components/common/PlatformGamePricingField.tsx:按既有的 common 适配约定新增网页端再导出。
src/components/game-distribution/GamePublishPage.tsx:把内联的付费方式 fieldset 与买断价输入替换为共享组件,文案、校验、禁用逻辑与既有用例保持不变。
src/components/game-distribution/gamePublishMetadata.ts:买断价上限与解析改为复用共享常量与共享函数,不再各写一份。
apps/ai-game-creator-shell/src/components/game-distribution/GameDistributionPublishPanel.tsx:首次发布与更新两条路径都加入共享定价组件,默认免费;提交前本地校验并透传价格。
apps/ai-game-creator-shell/src/services/gameDistributionPublish.ts:发布命令载荷透传 priceMudPoints,并做 0..=1000000 兜底校验;发布草稿回读新增 priceMudPoints 字段。
apps/ai-game-creator-shell/src-tauri/src/game_distribution_publish.rs:Tauri 命令新增可选 price_mud_points(旧前端不传按免费,向后兼容)并替换硬编码的 0;回读作者作品时解析 priceMudPoints,按「最近版本冻结价优先、回退游戏行当前价」预填,避免已上线付费作品被静默改成免费;发布摘要纳入价格,只改价格也会换幂等键,不会重放上一次收据。
apps/ai-game-creator-shell/tests:补充买断价透传、本地校验拦截、更新模式价格预填与免费兜底用例。
packages/shared/src/components/PlatformGamePricingField.test.tsx:覆盖免费/买断制切换、价格输入、上限提示、禁用态与错误行。
2026-10-05 20:20:53 +08:00
..
2026-10-05 00:55:29 +08:00
2026-10-03 20:19:45 +08:00
2026-10-04 00:38:06 +08:00
2026-09-24 11:47:32 +08:00
2026-09-18 14:34:10 +08:00
2026-09-21 21:09:34 +08:00
2026-09-21 21:09:34 +08:00
2026-10-02 15:14:34 +08:00
2026-09-28 14:15:02 +08:00
2026-09-28 14:15:02 +08:00
2026-08-20 19:07:25 +08:00
2026-09-19 01:28:27 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 20:19:45 +08:00
2026-10-02 17:54:10 +08:00
2026-09-24 16:56:49 +08:00
2026-10-02 18:10:17 +08:00
2026-10-03 20:19:45 +08:00
2026-09-30 14:07:25 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 17:41:30 +08:00
2026-09-14 13:56:56 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 20:19:45 +08:00
2026-08-20 19:07:25 +08:00
2026-10-02 12:08:26 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 20:19:45 +08:00
2026-09-17 17:56:53 +08:00
2026-10-03 17:41:30 +08:00
2026-10-05 15:35:55 +08:00
2026-09-19 15:08:31 +08:00
2026-09-19 15:08:31 +08:00
2026-10-03 17:41:30 +08:00
2026-09-22 16:45:29 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-30 13:11:45 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 13:42:40 +08:00
2026-10-03 19:21:18 +08:00
2026-10-03 17:41:30 +08:00
2026-09-21 21:09:34 +08:00
2026-09-28 14:15:02 +08:00
2026-10-03 20:19:45 +08:00
2026-09-07 15:17:21 +08:00
2026-08-20 19:07:25 +08:00
2026-09-17 17:56:53 +08:00
2026-10-05 20:20:53 +08:00
2026-10-04 00:24:45 +08:00
2026-10-05 20:20:53 +08:00
2026-10-01 16:30:40 +08:00
2026-10-04 00:24:45 +08:00
2026-10-04 14:04:02 +08:00
2026-10-02 13:07:00 +08:00
2026-10-04 16:59:59 +08:00
2026-09-15 12:14:03 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 20:19:45 +08:00
2026-09-29 19:35:49 +08:00
2026-09-23 18:38:47 +08:00
2026-09-28 15:07:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-28 14:15:02 +08:00
2026-10-03 17:41:30 +08:00
2026-09-13 14:48:55 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 17:41:30 +08:00
2026-09-22 15:35:51 +08:00
2026-10-03 17:41:30 +08:00
2026-09-10 18:48:56 +08:00
2026-10-03 17:41:30 +08:00
2026-09-21 03:48:40 +08:00
2026-10-03 20:19:45 +08:00
2026-10-04 16:59:59 +08:00
2026-09-15 10:37:47 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 17:41:30 +08:00
2026-10-04 15:13:31 +08:00
2026-10-03 20:19:45 +08:00
2026-08-20 19:07:25 +08:00
2026-10-03 20:19:45 +08:00
2026-09-14 13:19:13 +08:00
2026-10-03 20:19:45 +08:00
2026-09-23 11:12:39 +08:00
2026-09-21 01:23:35 +08:00
2026-09-12 20:49:03 +08:00
2026-10-03 20:19:45 +08:00
2026-09-19 01:50:09 +08:00
2026-09-14 11:32:17 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-09 16:09:39 +08:00
2026-09-21 22:56:32 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-12 20:49:03 +08:00
2026-10-03 17:41:30 +08:00
2026-09-21 11:58:13 +08:00
2026-10-03 17:41:30 +08:00
2026-09-21 01:33:06 +08:00
2026-10-04 00:38:06 +08:00
2026-09-19 21:59:44 +08:00
2026-09-11 21:31:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-20 23:32:09 +08:00
2026-10-02 18:10:17 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 20:19:45 +08:00
2026-09-21 12:34:47 +08:00
2026-10-04 17:14:26 +08:00
2026-09-21 11:58:13 +08:00
2026-09-17 17:47:11 +08:00
2026-09-11 16:42:40 +08:00
2026-07-31 12:00:48 +08:00
2026-10-04 13:11:37 +08:00
2026-10-03 20:19:45 +08:00
2026-09-19 01:50:09 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-21 01:23:35 +08:00
2026-09-12 20:49:03 +08:00
2026-10-03 17:41:30 +08:00
2026-10-04 14:04:02 +08:00
2026-09-21 01:23:35 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 17:41:30 +08:00
2026-09-21 06:21:19 +08:00
2026-09-21 01:23:35 +08:00
2026-09-19 01:50:09 +08:00
2026-10-03 17:41:30 +08:00
2026-08-12 10:54:16 +08:00
2026-10-03 17:41:30 +08:00
2026-09-16 03:59:27 +08:00
2026-09-16 17:39:23 +08:00
2026-09-20 17:36:02 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-28 14:15:02 +08:00
2026-09-11 20:29:45 +08:00
2026-09-17 19:01:35 +08:00
2026-10-03 20:19:45 +08:00
2026-09-19 01:28:27 +08:00
2026-09-19 01:28:27 +08:00
2026-09-20 17:36:02 +08:00
2026-10-03 20:19:45 +08:00
2026-10-02 22:24:00 +08:00
2026-09-21 21:09:34 +08:00
2026-08-12 13:14:55 +08:00
2026-10-03 20:19:45 +08:00
2026-09-21 01:23:35 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 20:19:45 +08:00
2026-10-04 17:14:26 +08:00
2026-10-04 15:56:41 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 20:19:45 +08:00
2026-10-04 14:48:28 +08:00
2026-09-23 00:09:12 +08:00
2026-09-16 05:42:20 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-09-13 14:07:03 +08:00
2026-07-30 18:01:19 +08:00
2026-07-30 18:01:19 +08:00
2026-10-03 17:41:30 +08:00
2026-09-20 14:49:57 +08:00
2026-10-03 20:19:45 +08:00
2026-09-23 16:51:15 +08:00
2026-09-23 16:51:15 +08:00
2026-10-03 17:41:30 +08:00
2026-09-23 19:05:33 +08:00
2026-09-03 19:36:18 +08:00
2026-10-03 17:41:30 +08:00
2026-08-20 19:07:25 +08:00
2026-08-20 19:07:25 +08:00
2026-09-24 16:04:29 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-08-20 19:07:25 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 17:41:30 +08:00
2026-10-02 13:48:26 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 17:41:30 +08:00
2026-10-03 20:19:45 +08:00
2026-10-03 20:19:45 +08:00
2026-09-20 17:36:02 +08:00
2026-10-03 17:41:30 +08:00
2026-09-28 14:15:02 +08:00
2026-10-05 15:35:55 +08:00
2026-09-23 19:05:33 +08:00
2026-09-19 15:08:31 +08:00
2026-10-03 17:41:30 +08:00
2026-10-04 14:04:02 +08:00
2026-09-24 16:25:21 +08:00
2026-10-03 20:19:45 +08:00
2026-10-05 15:35:55 +08:00