From 753ff967714cc997818a4a78bc5f8b8c00a1e8bd Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 20 Jun 2026 03:31:20 +0800 Subject: [PATCH] refactor(workboard): drop unused parent-link helper --- extensions/workboard/src/store.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/extensions/workboard/src/store.ts b/extensions/workboard/src/store.ts index 0198919886ea..e4c035653fef 100644 --- a/extensions/workboard/src/store.ts +++ b/extensions/workboard/src/store.ts @@ -2970,17 +2970,6 @@ export class WorkboardStore { return await this.promoteDependencyReady(nextChild.id); } - async linkParents(childId: string, parentIds: readonly string[]): Promise { - let child = await this.get(childId); - if (!child) { - throw new Error(`card not found: ${childId}`); - } - for (const parentId of parentIds) { - child = await this.linkCards(parentId, child.id); - } - return child; - } - private async dependencyTargetStatus(card: WorkboardCard, now: number): Promise { const scheduledAt = card.metadata?.automation?.scheduledAt; const parents = cardParentIds(card);