claude-code-kanban 5.1.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/app.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kanban",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "A web-based Kanban board for viewing Claude Code tasks with agent teams support",
5
5
  "main": "server.js",
6
6
  "type": "commonjs",
package/public/app.js CHANGED
@@ -3316,7 +3316,7 @@ async function revealSession(id) {
3316
3316
  const uncollapsed = session ? uncollapseFor(session) : false;
3317
3317
  if (uncollapsed) persistCollapsedGroups();
3318
3318
  expandSidebar();
3319
- await fetchTasks(id);
3319
+ await openSession(id);
3320
3320
  // fetchTasks skips its render when the session and task hash are unchanged.
3321
3321
  if (uncollapsed) renderSessions();
3322
3322
  const el = document.querySelector(`.session-item[data-session-id="${escSel(id)}"]`);
@@ -10769,11 +10769,11 @@ function setSwapPair(last, previous) {
10769
10769
  } catch {}
10770
10770
  }
10771
10771
 
10772
- function swapToPreviousSession() {
10772
+ async function swapToPreviousSession() {
10773
10773
  const target = currentSessionId === lastSessionId ? previousSessionId : lastSessionId;
10774
10774
  if (!target || target === currentSessionId) return;
10775
10775
  if (terminalPaneFocused()) termState.focusNext = true;
10776
- openSession(target);
10776
+ await revealSession(target);
10777
10777
  }
10778
10778
 
10779
10779
  // Esc belongs to Claude, so leaving the terminal without hiding it needs its own key.