Add quick task templates for common task types 📝
File: client/src/components/Task/TaskModal.jsx
Every time you create a bug report or
feature request you type the same thing 💀
Fix: add template buttons above title input:
const TEMPLATES = [
{ label: '🐛 Bug', title: 'Bug: ', tags: 'bug', priority: 'high' },
{ label: '✨ Feature', title: 'Feat: ', tags: 'enhancement', priority: 'medium' },
{ label: '📝 Docs', title: 'Docs: ', tags: 'documentation', priority: 'low' },
]
{TEMPLATES.map(t => (
setForm({...form,
title: t.title, tags: t.tags,
priority: t.priority})}
className="text-[10px] px-2 py-1
bg-[#2a2a2f] rounded hover:bg-[#333]
text-[#888] transition">
{t.label}
))}
~12 lines! No backend needed 🎯
Super useful for dev teams!! 🔥
Add quick task templates for common task types 📝
File: client/src/components/Task/TaskModal.jsx
Every time you create a bug report or
feature request you type the same thing 💀
Fix: add template buttons above title input:
const TEMPLATES = [
{ label: '🐛 Bug', title: 'Bug: ', tags: 'bug', priority: 'high' },
{ label: '✨ Feature', title: 'Feat: ', tags: 'enhancement', priority: 'medium' },
{ label: '📝 Docs', title: 'Docs: ', tags: 'documentation', priority: 'low' },
]
~12 lines! No backend needed 🎯
Super useful for dev teams!! 🔥