Add "blocked by" dependency between tasks 🔗
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- javascript, mongodb, react
- 领域
- full-stack
调研方向
Start with server/models/Task.js and TaskModal.jsx, then trace how tasks are saved and rendered on their cards. Check how the proposed select fits the existing task form and whether the selected dependency persists. Done means a task can be marked as blocked by another task, excluding itself, and its card shows the blocked count.
由索引模型根据 Issue 内容生成。
描述
Add "blocked by" dependency between tasks 🔗
File: server/models/Task.js + TaskModal.jsx
No way to say "this task is blocked
by another task" 💀 fr!!
Fix: add blockedBy field to Task model:
blockedBy: [{
type: mongoose.Schema.Types.ObjectId,
ref: 'Task'
}]
// add in TaskModal select:
<select onChange={(e) => {
if (e.target.value) {
setForm({...form,
blockedBy: [...(form.blockedBy||[]), e.target.value]
})
}
}}>
// show on card:
{task.blockedBy?.length > 0 && (
🚫 blocked ({task.blockedBy.length})
)}
~15 lines! 🎯
- 主要语言
- JavaScript
- 星标
- 39
- 派生
- 105
- 平均合并
- 1 天 19 小时
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anoopcodehack/DevBoard 的其他 Issue
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 68/100
anoopcodehack/DevBoard#588 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 82/100
anoopcodehack/DevBoard#587 ·
维护者通常 1 天内回复
-
Add bulk delete for selected tasks 🗑️可能已有人在做 @Mario-Mohar 今天认领。 未关闭good first issue
难度 1/5 1 小时以内 新手友好度 90/100
anoopcodehack/DevBoard#586 · 1 条评论 ·
维护者通常 1 天内回复
-
Add database indexes to Task and User models ⚡可能已有人在做 @Mario-Mohar 今天认领。 未关闭good first issue
难度 2/5 1-3 小时 新手友好度 65/100
anoopcodehack/DevBoard#584 · 1 条评论 ·
维护者通常 1 天内回复
-
Show blocked tasks count in column header 🚫可能已有人在做 @anushreemehta6 今天认领。 未关闭good first issue
难度 2/5 1-3 小时 新手友好度 85/100
anoopcodehack/DevBoard#583 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 anoopcodehack/DevBoard 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
no-human-ai/no_human#659 ·
维护者通常 1 天内回复
-
[BUG] Multi-day events show "Ended" while still in progress可能已有人在做 @tarunagnihotri534 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 85/100
data-umbrella/du-event-board#231 · 2 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
-
IO.get_env on Node truncates names at embedded NUL可能已有人在做 @Yi-111-a 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
HigherOrderCO/Bend#1449 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 72/100
cryptpad/documentation#162 ·