From 7a22c118664228eb718cf0a404e147a42aedbe65 Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Fri, 6 Nov 2026 12:53:01 +0800 Subject: [PATCH] test(web): expect the shortened review comment quotes in the composer The forge-panel Web snapshot recorded the composer showing the whole model-facing User Comment reference. The composer now shows the file name, side and lines, and comment; review-message.expected.md, the text the model receives, stays unchanged. --- apps/web/tests/expected/forge-panel/review-quotes.expected.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/tests/expected/forge-panel/review-quotes.expected.md b/apps/web/tests/expected/forge-panel/review-quotes.expected.md index 0f7262a4b1..ef4a0ca67e 100644 --- a/apps/web/tests/expected/forge-panel/review-quotes.expected.md +++ b/apps/web/tests/expected/forge-panel/review-quotes.expected.md @@ -1,6 +1,6 @@ - textbox "发消息或创建任务, / 调用指令, @ 文件或对话": - paragraph: - button "移除引用" - - text: "## User Comment 2 File: src/extra.ts Side: R Lines: 1 Source: Local (branch) Base: origin/main Diff hunk: ```diff @@ -0,0 +1,1 @@ +export const extra = 1 ``` Comment: 请检查这项修改" + - text: extra.ts R1 请检查这项修改 - button "移除引用" - - text: "## User Comment 1 File: src/app.ts Side: R Lines: 1 Source: Local (branch) Base: origin/main Diff hunk: ```diff @@ -0,0 +1,1 @@ +export const app = 1 ``` Comment: 请解释这行代码" + - text: app.ts R1 请解释这行代码