Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add recurring task option (daily/weekly/monthly) 🔄

Đang mở
#580 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, mongodb, react
Lĩnh vực
full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement good first 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! 🎯

Ngôn ngữ chính
JavaScript
Star
39
Fork
105
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
27

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của anoopcodehack/DevBoard

Tất cả issue của anoopcodehack/DevBoard

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.