Add estimated time field to task modal ⏱️

Aperta
#435 1 commento 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
Mezza giornata
Idoneità per principianti
66/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
javascript, mongodb, react
Ambito
full-stack

Direzione di ricerca

Start with client/src/components/Task/TaskModal.jsx, then trace how task fields are saved and find the Task model and task-card component. Add the estimate choices to the modal and persist the selected value on the task. Done means saved estimates appear on task cards and tasks without an estimate still work.

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

Descrizione

good first issue

Add estimated time field to task modal ⏱️

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

No way to estimate how long a task will take 💀
Every project management tool has this fr!!

Fix: add select in modal:
<select
value={form.estimate}
onChange={(e) => setForm({...form, estimate: e.target.value})}
className="flex-1 bg-[#0f0f10] border
border-[#2a2a2f] rounded-lg px-3 py-2
text-sm text-[#f0f0f0]">

No estimate 30 minutes 1 hour 2 hours 4 hours 1 day
Add estimate field to Task model:
estimate: { type: String, default: '' }

Show on card: {task.estimate && ⏱️ {task.estimate}}
~10 lines! 🎯

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

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.