Last 12 weeks ยท 14 commits
2 of 6 standards met
Added chat renaming functionality to the sidebar menu, allowing users to easily rename their chat conversations for better organization and personalization. Changes Made Frontend Components Sidebar History Item: Added "Update" option in dropdown menu with Edit icon Sidebar History: Integrated rename handler with toast notifications User Experience: Simple prompt-based renaming with immediate feedback Backend API New Endpoint: Created PATCH endpoint Database Integration: Added [updateChatTitleById] query function Authentication: Secured endpoint with session validation Error Handling**: Comprehensive error responses for edge cases Technical Implementation Added prop to sidebar history items Implemented async rename handler with proper error boundaries Used existing database schema for title updates Maintained consistent UI patterns with other sidebar actions
Repository: vercel/chatbot. Description: A full-featured, hackable Next.js AI chatbot built by Vercel Stars: 19745, Forks: 6366. Primary language: TypeScript. Languages: TypeScript (96.9%), JavaScript (1.9%), CSS (1.1%). Homepage: https://chatbot.ai-sdk.dev Topics: ai, chatgpt, nextjs, react, redis, shadcn-ui, vercel. Open PRs: 38, open issues: 34. Last activity: 4d ago. Community health: 50%. Top contributors: jaredpalmer, jeremyphilemon, shadcn, dancer, leerob, shuding, balazsorban44, shaper, haydenbleasel, steven-tey and others.
TypeScript