Skip to content

Add estimated time field to task modal ⏱️ #376

Description

@anoopcodehack

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions