Fix card list to be cross-board by default

Closed
WA
3mo ago
+76-8

Summary

  • card list called defaultBoard(), injecting the configured default board into every query and silently scoping results to a single board
  • This made --tag and --assignee filters appear broken when matching cards lived on other boards โ€” the same bug fixed for search in #114, but in the sibling card list command
  • Fix: only add board_ids[] when --board is explicitly passed, so card list is cross-board by default (matching search and the API)

Bare fizzy card list now spans all boards instead of the configured default board, consistent with the cross-board API default.

Follow-up to #113 / #114.

Test plan

  • go test ./internal/commands/ -run TestCardList โ€” all pass (updated the default-board test to assert no injection; added cross-board --tag and --assignee tests)
  • Manual: fizzy card list --tag TAG_ID --all returns cards across all boards
  • Manual: fizzy card list --board BOARD_ID --tag TAG_ID still scopes when --board is explicit

๐Ÿค– Generated with Claude Code


Summary by cubic

Make fizzy card list cross-board by default so --tag and --assignee return results across all boards. Only add board_ids[] when --board is passed, matching search and the API default.

  • Bug Fixes

    • Removed implicit default board injection; now only scopes when --board is set.
    • --tag and --assignee filters work across boards.
    • Updated tests for cross-board default and explicit board scoping.
  • Migration

    • Behavior change: bare fizzy card list now spans all boards. Use --board BOARD_ID to limit results.