Add sprint planning with start/end dates 🏃

Aperta
#629 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, mongodb, nodejs, react

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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! 🎯

Lingua principale
JavaScript
Stelle
39
Fork
105
Merge medio
2g 10h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anoopcodehack/DevBoard

Tutte le issue di anoopcodehack/DevBoard

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.