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! 🎯
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:
No estimate 30 minutes 1 hour 2 hours 4 hours 1 day<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]">
Add estimate field to Task model:
estimate: { type: String, default: '' }
Show on card: {task.estimate && ⏱️ {task.estimate}}
~10 lines! 🎯