Add board stats modal with task breakdown 📊
维护者通常 1 天内回复
@zenithamza 已经在做这个了。
开始于 2026年8月28日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 80/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- javascript, react, tailwindcss
- 领域
- frontend
调研方向
从 client/src/pages/Dashboard.jsx 开始,issue 要求在此添加 stats 按钮和 modal。检查 navbar 和 task 数据当前如何渲染,然后运行项目现有的 checks。当 modal 可以打开并显示 total tasks、按 status 的 counts 以及 high-priority count,并且点击时关闭,即完成。
由索引模型根据 Issue 内容生成。
描述
Add board stats modal with task breakdown 📊
File: client/src/pages/Dashboard.jsx
No way to see overall board health 💀
How many tasks per status? Per priority? fr!!
Fix: add stats button in navbar:
const [showStats, setShowStats] = useState(false)
const stats = {
total: tasks.length,
byStatus: {
backlog: tasks.filter(t => t.status === 'backlog').length,
inprogress: tasks.filter(t => t.status === 'inprogress').length,
review: tasks.filter(t => t.status === 'review').length,
done: tasks.filter(t => t.status === 'done').length,
},
byPriority: {
high: tasks.filter(t => t.priority === 'high').length,
medium: tasks.filter(t => t.priority === 'medium').length,
low: tasks.filter(t => t.priority === 'low').length,
}
}
{showStats && (
setShowStats(false)}>📊 Board Stats
Total: {stats.total} tasks
🔵 In Progress: {stats.byStatus.inprogress}
✅ Done: {stats.byStatus.done}
🔴 High priority: {stats.byPriority.high}
)}~25 lines! No backend needed 🎯
- 主要语言
- JavaScript
- 星标
- 39
- 派生
- 105
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 28
环境准备
- 没有 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 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 90/100
anoopcodehack/DevBoard#586 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 65/100
anoopcodehack/DevBoard#584 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 85/100
anoopcodehack/DevBoard#583 ·
维护者通常 1 天内回复
查看 anoopcodehack/DevBoard 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
answerLoops/answerLoops#344 ·
维护者通常 1 天内回复
-
Engineering
难度 2/5 1-3 小时 新手友好度 66/100
techmatters/terraso-web-client#3095 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
-
Service process inherits the caller's cwd at first use, holding that folder open on Windows (EBUSY)未关闭
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 78/100
nextcloud/viewer#3424 · 1 条评论 ·
维护者通常 1 天内回复