This description was created by Ellipsis for commit a1c1ca1d89548bdfbdf105dca2e94392f85912b4
Summary:
This PR adds AI-based improvements for issue descriptions, including new API endpoints, updated forms, chat-based AI features, and various file renames and updates.
Key points:
Added app/api/chat/route.ts for streaming AI responses using anthropic and streamText.
Updated components/dashboard/reusable/crud-form.tsx to handle content and name changes via onContentChange and onNameChange props.
Introduced components/issues/issue-improver.tsx for chat-based AI improvements.
Enhanced components/issues/create-issue-form.tsx and components/issues/edit-issue-form.tsx with AI improvement modal and chat integration.
Created components/issues/issue-context.tsx to view issue context.
Renamed components/issues/new-issue-form.tsx to components/issues/create-issue-form.tsx.
Renamed components/issues/chat-prompt-improver.tsx to components/issues/issue-improver.tsx.
Updated db/queries/issues-to-instructions-queries.ts to use getInstructionsByIssueId instead of getInstructionsForIssue.
Removed console logs from actions/ai/improve-issue-prompt.ts and components/issues/issue-improver.tsx.
Summary:
This PR adds AI-based improvements for issue descriptions, including new API endpoints, updated forms, chat-based AI features, and various file renames and updates.
Key points:
app/api/chat/route.ts
for streaming AI responses usinganthropic
andstreamText
.components/dashboard/reusable/crud-form.tsx
to handle content and name changes viaonContentChange
andonNameChange
props.components/issues/issue-improver.tsx
for chat-based AI improvements.components/issues/create-issue-form.tsx
andcomponents/issues/edit-issue-form.tsx
with AI improvement modal and chat integration.components/issues/issue-context.tsx
to view issue context.components/issues/new-issue-form.tsx
tocomponents/issues/create-issue-form.tsx
.components/issues/chat-prompt-improver.tsx
tocomponents/issues/issue-improver.tsx
.db/queries/issues-to-instructions-queries.ts
to usegetInstructionsByIssueId
instead ofgetInstructionsForIssue
.actions/ai/improve-issue-prompt.ts
andcomponents/issues/issue-improver.tsx
.Generated with :heart: by ellipsis.dev