Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add archive button to hide tasks without deleting 🗄️

未关闭 适合新手
#445 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@bilal-rauf-dev 已经在做这个了。

开始于 2026年8月28日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
冷清
技术栈
javascript, mongodb, react
领域
full-stack

调研方向

从 client/src/components/Task/TaskModal.jsx 和 BoardContext 开始,然后找到 issue 中提到的 Task 模型。追踪任务如何更新并提供给看板。完成的标准是可以从任务的模态框中归档任务,使其不再出现在看板上,同时仍保留在存储中。

由索引模型根据 Issue 内容生成。

描述

good first issue

Add archive button to hide tasks without deleting 🗄️

File: client/src/components/Task/TaskModal.jsx

Delete is permanent 💀 sometimes you just
want to hide a task without losing it fr!!

Fix: add archived field to Task model:
archived: { type: Boolean, default: false }

// add archive button in modal:
const handleArchive = async () => {
await updateTask(task._id, { archived: true })
onClose()
}


🗄️ Archive

// filter archived from board in BoardContext:
tasks.filter(t => !t.archived)

~10 lines across 3 files!
No data loss ever!! 🎯

主要语言
JavaScript
星标
39
派生
105
平均合并
1 天 16 小时
30 天内合并 PR
32

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

anoopcodehack/DevBoard 的其他 Issue

查看 anoopcodehack/DevBoard 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。