Add recurring task option (daily/weekly/monthly) 🔄
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 68/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript, mongodb, react
- 领域
- full-stack
调研方向
Start with server/models/Task.js and TaskModal.jsx, then trace how task data is saved and how task cards are rendered. Add the recurring enabled flag and frequency options, and show the frequency badge on recurring tasks. Done means the setting is saved and displayed correctly when a task is reopened and on its card.
由索引模型根据 Issue 内容生成。
描述
Add recurring task option (daily/weekly/monthly) 🔄
File: server/models/Task.js + TaskModal.jsx
Some tasks repeat every week 💀
Have to recreate them manually fr!!
Fix: add recurring field to Task model:
recurring: {
enabled: { type: Boolean, default: false },
frequency: {
type: String,
enum: ['daily', 'weekly', 'monthly'],
default: 'weekly'
}
}
// show in TaskModal:
setForm({...form, recurringEnabled: e.target.checked})} className="accent-purple-500" /> Recurring task {form.recurringEnabled && ( setForm({...form, recurringFrequency: e.target.value})} className="text-xs bg-[#0f0f10] border border-[#2a2a2f] rounded px-2 py-1"> Daily Weekly Monthly )}// show badge on card:
{task.recurring?.enabled && (
🔄 {task.recurring.frequency}
)}
~18 lines! 🎯
- 主要语言
- JavaScript
- 星标
- 39
- 派生
- 105
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 31
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anoopcodehack/DevBoard 的其他 Issue
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
anoopcodehack/DevBoard#609 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 76/100
anoopcodehack/DevBoard#608 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 76/100
anoopcodehack/DevBoard#607 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 74/100
anoopcodehack/DevBoard#599 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 1/5 1 小时以内 新手友好度 82/100
anoopcodehack/DevBoard#598 ·
维护者通常 1 天内回复
查看 anoopcodehack/DevBoard 的全部 Issue
相似的 Issue
-
channels:add check:passed
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 9 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 88/100
githubnext/gh-aw-workshop#4496 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
swc-project/swc#12516 ·
维护者通常 1 天内回复
-
Opening Files on a demo drive logs you out可能已有人在做 @RChang06 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 2 天内回复
-
feature-request
难度 2/5 1-3 小时 新手友好度 72/100
omegaup/omegaup#10323 · 1 条评论 ·
维护者通常 5 天内回复