🐛 fix(vscode): issue opened 广播按看板 scope 门禁,mine 不再凭空上别人的卡

This commit is contained in:
2026-08-19 20:41:11 +08:00
parent ea4c4e4658
commit fea7b2e604
5 changed files with 136 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
/**
* 看板范围的共享定义:KanbanPanel(批量加载/切换持久化)与 webhook
* coordinator(issue/append 门禁)必须读同一个 workspaceState key,
* 否则单独 append 的卡会违反当前范围的可见性规则。
*/
/** 看板范围:'mine' 只看我创建/指派给我的,'all' 团队全部。 */
export type KanbanScope = 'mine' | 'all'
/** workspaceState key:按工作区持久化的看板范围,缺省 'mine'。 */
export const KANBAN_SCOPE_KEY = 'superpowers.kanbanScope'