Add configurable task limit per column 🚦
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript, react, tailwindcss
- Domain
- frontend
Research direction
Start with client/src/components/Board/Column.jsx and check how column IDs, task counts, and the add-card handler are used. Add the requested per-column limit behavior so the add-card control is disabled at the limit, while unlimited columns remain usable. Done when the specified limits are enforced through the interface without blocking adds to unlimited columns.
Written by the indexing model from the issue text.
Description
Add configurable task limit per column 🚦
File: client/src/components/Board/Column.jsx
WIP limit warns but doesn't PREVENT
adding more tasks 💀 fr!!
Fix: add hard limit option:
const COLUMN_LIMITS = {
backlog: null, // unlimited
inprogress: 5, // max 5
review: 3, // max 3
done: null // unlimited
}
const limit = COLUMN_LIMITS[columnId]
const isAtLimit = limit && tasks.length >= limit
// disable add card button when at limit:
<button
onClick={() => !isAtLimit && onAddTask(columnId)}
className={mt-2 flex items-center gap-2 text-xs px-2 py-1.5 rounded transition ${isAtLimit ? 'text-red-400/50 cursor-not-allowed' : 'text-[#555] hover:text-[#888]'}}>
{isAtLimit
? 🚫 Limit reached (${limit})
: '+ Add card'}
~12 lines! No backend needed 🎯
Real Kanban WIP limits!! 🔥
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 105
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 27
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anoopcodehack/DevBoard
-
good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
anoopcodehack/DevBoard#589 ·
Maintainers usually reply within 2 days
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anoopcodehack/DevBoard#588 ·
Maintainers usually reply within 2 days
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
anoopcodehack/DevBoard#587 ·
Maintainers usually reply within 2 days
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100
anoopcodehack/DevBoard#586 ·
Maintainers usually reply within 2 days
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
anoopcodehack/DevBoard#584 ·
Maintainers usually reply within 2 days
All issues in anoopcodehack/DevBoard
Similar issues
-
status/needs-triage type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
PKU-YuanGroup/OpenAI4S#218 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
debpalash/VoiceStudio#2678 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 3 days
-
Aborting a request that waits for a socket destroys that socket under a later request (socket hang up)Possibly taken @vvo claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/clickhouse-js#1040 ·
Maintainers usually reply within 7 days