Skip to content

Add duplicate task button in task modal 📋 #374

Description

@anoopcodehack

Add duplicate task button in task modal 📋

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

Sometimes you want to create a similar task
but have to fill everything from scratch 💀 fr!!

Fix: add duplicate button in modal footer:
const handleDuplicate = async () => {
await addTask({
title: ${form.title} (copy),
description: form.description,
priority: form.priority,
tags: form.tags.split(',').map(t => t.trim()),
status: 'backlog'
})
onClose()
}


📋 Duplicate

addTask already exists in BoardContext ✅
~10 lines! No backend changes needed 🎯

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions