Kanban:补齐看板事件、链接与批量操作闭环 (#634)

* feat(kanban): add board-scoped event stream bridge

* test(kanban): align event refresh expectation

* feat(kanban): add links and partial bulk bridge

* test(kanban): align links bulk refresh expectation

* fix(kanban): treat mutation stderr as failed
This commit is contained in:
Zhicheng Han
2026-05-13 01:32:38 +02:00
committed by GitHub
parent 44d1b13741
commit 57cdf87bef
14 changed files with 758 additions and 50 deletions
@@ -113,6 +113,7 @@ watch(() => route.query.board, async () => {
onMounted(async () => {
await Promise.all([kanbanStore.fetchBoards(), kanbanStore.fetchCapabilities()])
await applyBoardSelection(routeBoard(), true, true)
kanbanStore.startEventStream()
routeReady.value = true
refreshTimer.value = setInterval(() => {
if (document.visibilityState === 'visible') {
@@ -122,6 +123,7 @@ onMounted(async () => {
})
onUnmounted(() => {
kanbanStore.stopEventStream()
if (refreshTimer.value) clearInterval(refreshTimer.value)
})