Add sprint planning with start/end dates 🏃

Đang mở
#629 2 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 3 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
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, mongodb, nodejs, react
Lĩnh vực
database, full-stack

Hướng nghiên cứu

Start by reading the existing models in the server and the data flow in Dashboard.jsx to see how dashboard data is loaded. The issue names server/models/Sprint.js as a new file and proposes the sprint fields and active-sprint banner. Done means sprints can be represented with the specified fields and the dashboard shows the active sprint and its days remaining.

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 sprint planning with start/end dates 🏃

File: server/models/Sprint.js (new) + Dashboard.jsx

No concept of sprints 💀
Real dev teams work in 2-week sprints fr!!

Fix: create Sprint model:
const sprintSchema = new mongoose.Schema({
name: { type: String, required: true },
startDate: { type: Date, required: true },
endDate: { type: Date, required: true },
tasks: [{
type: mongoose.Schema.Types.ObjectId,
ref: 'Task'
}],
status: {
type: String,
enum: ['planning', 'active', 'completed'],
default: 'planning'
}
}, { timestamps: true })

// show active sprint banner in Dashboard:
{activeSprint && (

🏃 {activeSprint.name} {Math.ceil( (new Date(activeSprint.endDate) - Date.now()) / 86400000 )} days remaining )}

~25 lines across 3 files! 🎯

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

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.