Skip to content

Published npm package (v0.2.0) still crashes on unknown bead statuses #62

Description

@PabloLION

Summary

The fix from #49 (merged in PR #58) is not yet published to npm. The current npm release (v0.2.0) still crashes when opening a project with beads that have statuses outside the 4 known columns.

Steps to Reproduce

  1. Install via npm: npm install -g beads-kanban-ui
  2. Start: bead-kanban
  3. Add a project that has beads with tombstone, blocked, or deferred statuses
  4. Click on the project

Expected

Project kanban board loads with all beads.

Actual

Intermittent crash:

Error loading beads: Cannot read properties of undefined (reading 'push')

Additionally, the homepage shows "No tasks" in the donut chart even though the project has 27 issues (23 open, 4 closed).

Console Errors

React Hydration Errors (on every page load)

Minified React error #418 (×3)
Minified React error #423 (×1)

These are SSR/client hydration mismatches — server-rendered HTML doesn't match client-side render.

Deprecation Warning (on project page)

[DEPRECATED] useBranchStatuses is deprecated. Use useWorktreeStatuses instead.

Environment

  • beads-kanban-ui: v0.2.0 (npm)
  • beads (bd): v0.49.0
  • OS: macOS 15 (Darwin 25.0.0)
  • Node.js: v22.20.0

Request

Could you publish a new npm release that includes PR #58 and ideally addresses the hydration errors?

Screenshots

Homepage — donut chart shows "No tasks"

The project card donut chart is empty despite having 27 issues.

Project page — kanban board

When it does load (intermittent), the board shows issues correctly in Open/Closed columns but the push error sometimes prevents loading entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions