AI breaks down any task into subtasks automatically

Đang mở
#652 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, react
Lĩnh vực
ai, frontend

Hướng nghiên cứu

Start in client/src/components/Task/TaskModal.jsx and trace how task titles and checklist items are stored and saved. Then check the project’s existing API and configuration for how external AI services are called and credentials are handled. Done means the button generates five short subtasks from the task title, shows loading state, and adds them to the checklist.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement good first issue

🤖 AI breaks down any task into subtasks automatically

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

Type "Build login page" click ✨ and AI
instantly generates 5 subtasks for you 💀
No other Kanban does this fr!!

Fix: call Claude API on button click:
const handleAIBreakdown = async () => {
setAiLoading(true)
const res = await fetch(
'https://api.anthropic.com/v1/messages', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
model: 'claude-sonnet-4-6',
max_tokens: 500,
messages: [{
role: 'user',
content: Break "${form.title}" into 5 short dev subtasks. Return JSON array of strings only.
}]
})
})
const data = await res.json()
const subtasks = JSON.parse(data.content[0].text)
setChecks(subtasks.map(t => ({ text: t, done: false })))
setAiLoading(false)
}

<button onClick={handleAIBreakdown}
disabled={!form.title || aiLoading}
className="text-xs text-purple-400
hover:text-purple-300 transition">
{aiLoading ? '⏳ Thinking...' : '✨ AI breakdown'}

Ngôn ngữ chính
JavaScript
Star
39
Fork
105
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của anoopcodehack/DevBoard

Tất cả issue của anoopcodehack/DevBoard

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.