修复图片交付尺寸与提示重触发
Project CI / Repository checks (push) Successful in 47s
Project CI / Frontend tests (push) Successful in 1m39s
Project CI / Native shell tests (push) Successful in 2m15s
Project CI / Backend tests (push) Successful in 2m56s

统一图片模型的业务交付像素并保留 GPT provider 合法请求尺寸
禁止欠交付图片被放大并返回尺寸降级提示
重置相同 warning 的三秒自动关闭计时
补充前后端回归测试与编辑器契约文档
This commit is contained in:
2026-07-27 21:16:01 +08:00
parent 25ee537e39
commit a5906ac26e
11 changed files with 429 additions and 134 deletions
@@ -233,10 +233,10 @@ describe('ImageCanvasGenerationDialogModel', () => {
imageSize: '1K',
uiDesignSpecReference: null,
placeholder: {
x: -64,
y: 56,
width: 1088,
height: 608,
x: -32,
y: 72,
width: 1024,
height: 576,
},
});
});
@@ -622,9 +622,9 @@ describe('ImageCanvasGenerationDialogModel', () => {
placeholder: {
x: 472,
y: 140,
width: 1376,
width: 1365,
height: 2048,
originalWidth: 1376,
originalWidth: 1365,
originalHeight: 2048,
},
});
@@ -662,9 +662,9 @@ describe('ImageCanvasGenerationDialogModel', () => {
placeholder: {
x: 472,
y: 140,
width: 1376,
width: 1365,
height: 2048,
originalWidth: 1376,
originalWidth: 1365,
originalHeight: 2048,
},
});