feat: Add Steps, ImageGallery, and Carousel visualization tools#314
Open
jezweb wants to merge 5 commits intocgoinglove:mainfrom
Open
feat: Add Steps, ImageGallery, and Carousel visualization tools#314jezweb wants to merge 5 commits intocgoinglove:mainfrom
jezweb wants to merge 5 commits intocgoinglove:mainfrom
Conversation
Implements new Timeline tool for displaying chronological events with status indicators. Features: - Vertical timeline with connecting line - Status indicators: Complete (green), In Progress (blue), Pending (gray) - Relative timestamp formatting with date-fns - Optional Lucide icon support - Framer Motion stagger animations - Dark/light theme support - Responsive design Files Added: - src/lib/ai/tools/visualization/create-timeline.ts - Tool definition - src/components/tool-invocation/timeline.tsx - React component - screenshots/ - Example screenshots Files Modified: - src/lib/ai/tools/index.ts - Added CreateTimeline enum - src/lib/ai/tools/tool-kit.ts - Registered tool - src/components/message-parts.tsx - Added Timeline rendering 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added LayoutList icon from Lucide React - Styled with text-blue-500 to match other visualization tools - Timeline displays with structured list icon in App Tools menu 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Added three new AI-powered visualization components for Better Chatbot: - **Steps**: Step-by-step instructions with numbered indicators - **ImageGallery**: Responsive grid layouts with modal lightbox - **Carousel**: Horizontal scrolling with markdown support - Steps: Auto-numbered, animated sequence with Framer Motion - Gallery: Responsive grids (1-9+ images), click-to-expand modal with keyboard navigation - Carousel: Markdown parsing for images/links, smooth scrolling, dynamic button visibility - Added tool definitions with Zod schemas in `/lib/ai/tools/visualization/` - Registered in `DefaultToolName` enum and `APP_DEFAULT_TOOL_KIT` - Added display labels: "steps", "image-gallery", "carousel" - Added Lucide icons: ListChecks, Images, GalleryHorizontalEnd - Dynamic imports in `message-parts.tsx` for code splitting - Fixed carousel markdown rendering (now parses images, links, formatting) - Simplified ImageGallery to always show all images (removed Show All button) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Someone is attempting to deploy a commit to the cgoinglove's projects Team on Vercel. A member of the Team first needs to authorize it. |
These components were accidentally omitted from the previous commit but are required by message-parts.tsx for the Steps and ImageGallery tools to work. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds three new AI-powered visualization components:
Features
Steps Component
ImageGallery Component
Carousel Component
Tool Integration
/lib/ai/tools/visualization/"steps","image-gallery","carousel"ListChecks,Images,GalleryHorizontalEndNotes
This branch includes Timeline commits (also in PR #307). The Timeline tool can be reviewed separately. Once Timeline merges, this can be rebased. It was just fixing the name to be kebab case so it was the same format as existing tools.
🤖 Generated with Claude Code