mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-25 11:10:18 +00:00
a1eec6d191
PR #1828 added an await loadKanbanBoards() at the START of loadKanban() to resolve the active board before board-scoped requests fire (so a stale saved slug can fall back to default cleanly). The existing tail-of-function refresh at line 1278 was harmless under one-time loads but doubles /api/kanban/boards traffic under SSE-driven refreshes (debounced at 250ms via _scheduleKanbanRefresh). The 30-second polling interval started by _kanbanStartPolling() picks up any board state changes that arrive after the render, so the tail call is redundant in PR #1828's new model. Per Opus pre-release verdict: SHIP with this perf cleanup as in-release absorb (5 LOC delta, clearly defensive, no behavior change for the single-load case).