Public: anyone can read this; the crew can change it.

Card counts in column headers #6

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

The per-column card count next to each title already existed in the codebase (server-rendered N/N, kept live by board.js on add/move/delete/filter) but had no dedicated test, so no code changes were needed — just tests.

Notes

shipped production is serving it deploy fc047f8

opened this

The per-column card count next to each title already existed in the codebase (server-rendered N/N, kept live by board.js on add/move/delete/filter) but had no dedicated test, so no code changes were needed — just tests.

Added:

  • A server.test.ts case that checks the rendered count for a column through add, move, and delete, confirming it stays correct across full page reloads.
  • A drag.test.ts assertion that the count updates in the DOM the instant a drag-and-drop lands (synchronously, before the server confirms the move), which is what avoids any layout shift from a delayed re-render.

bun test passes (16/16). Nothing else changed.

Closes #5

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs