Skip to content

feat(planning): per-column WIP limits - #450

Open
tomymaritano wants to merge 1 commit into
feature/planning-kanban-datafrom
feature/planning-kanban-wip
Open

feat(planning): per-column WIP limits#450
tomymaritano wants to merge 1 commit into
feature/planning-kanban-datafrom
feature/planning-kanban-wip

Conversation

@tomymaritano

Copy link
Copy Markdown
Collaborator

Summary

Adds per-column WIP limits to the Planning board (follow-up #1). Stacked on #444 — base is feature/planning-kanban-data; will retarget to develop once #444 merges.

  • Click a column's count badge to set a WIP limit (persisted per stage in localStorage via a small zustand store).
  • When a limit is set the badge shows count / limit; it turns red when the column exceeds its limit.
  • Empty / 0 clears the limit (∞).

Files

  • stores/planningStore.ts — persisted per-stage WIP limits (zustand + persist)
  • components/planning/wip.ts — pure isOverWipLimit / parseWipLimit helpers
  • components/planning/PlanningColumn.tsx — inline limit editor + over-limit styling
  • components/planning/__tests__/wip.test.ts — unit tests for the helpers

Testing

  • pnpm typecheck / pnpm lint — green
  • pnpm --filter @dripnex/desktop test — 66 passing (+5 new WIP tests)
  • pnpm --filter @dripnex/desktop build — bundles OK

🤖 Generated with Claude Code

Each column header shows its card count; click it to set a WIP limit
(persisted per stage in localStorage). When set, the badge shows
`count / limit` and turns red when the column exceeds its limit. Empty/0
clears the limit (∞).

- planningStore: persisted per-stage WIP limits (zustand + persist)
- wip.ts: pure isOverWipLimit / parseWipLimit helpers (unit-tested)
- PlanningColumn: inline limit editor + over-limit styling

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • main
  • develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: b7849934-efd1-4b9b-8f16-f9c773e08859

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/planning-kanban-wip

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the size/M label Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant