🐛 fix(vscode): 修复评论全量接口被误分页导致审查反馈卡住
This commit is contained in:
1 parent
8d70ee1659
commit
3134201243
7 files changed
+71
-122
No files matched your search
@@ -40,11 +40,7 @@ export function resolveTerminalLocation(panel: KanbanWebviewPanel | null, preser
|
||||
* happens — e.g. after a window reload, the impl terminal might still be
|
||||
* present in `window.terminals` but absent from `this.implTerminals`.
|
||||
*/
|
||||
export function injectIntoImplTerminal(panel: KanbanWebviewPanel, issueNumber: number, text: string, isFirstReview: boolean): boolean {
|
||||
// `isFirstReview` 参数保留只为兼容签名(调用方仍按 first/再审 区分),
|
||||
// 方法体本身不再消费它——合并改由用户拖工单到"完成"列时插件 API 触发,
|
||||
// cc 不允许自行合并。
|
||||
void isFirstReview
|
||||
export function injectIntoImplTerminal(panel: KanbanWebviewPanel, issueNumber: number, text: string): boolean {
|
||||
let terminal = panel.implTerminals.get(issueNumber)
|
||||
if (!terminal) {
|
||||
// Match by prefix — OSC title escapes can append a suffix to
|
||||
|
||||
Reference in new issue
Block a user