Skip to content

Add "Generate with AI" button to auto-write task descriptions πŸ€–Β #60

Description

@anoopcodehack

Description

Add a ✨ "Generate with AI" button in the task modal that auto-writes a task description from the title using an LLM API.

Tasks

  • Add ✨ button next to description field in task create/edit modal
  • Create POST /api/ai/generate-description route (backend)
  • Route accepts { title }, calls LLM API, returns generated text
  • Populate description field with response (still editable)
  • Add loading state on button while generating

Acceptance Criteria

  • Clicking the button with a title filled in generates a relevant description
  • User can edit the generated text before saving
  • Works with any LLM provider (OpenAI/Claude/Gemini) β€” document which one in PR

Files likely touched

client/src/components/TaskModal.jsx, server/routes/ai.js (new)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions