Skip to content

Commit 4a32dd5

Browse files
committed
feat: add new assets and mock recent chats data
- Introduced new PNG assets for agent workshop, chat screen, project tasks, prompt library, skills library, and start chat. - Added mock recent chats data to the chat-home component for improved user experience.
1 parent 95d0ac8 commit 4a32dd5

7 files changed

Lines changed: 8 additions & 1 deletion

File tree

assets/agent-workshop.png

324 KB
Loading

assets/chat-screen.png

211 KB
Loading

assets/project-tasks.png

171 KB
Loading

assets/prompt-library.png

397 KB
Loading

assets/skills-library.png

806 KB
Loading

assets/start-chat.png

254 KB
Loading

components/chat-home.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { useState, useRef, useEffect, useMemo, useCallback, memo } from 'react'
44
import { Icon } from '@iconify/react'
5-
import { motion } from 'framer-motion'
5+
import { motion, AnimatePresence } from 'framer-motion'
66
import { KnotLogo } from '@/components/knot-logo'
77
import { KnotBackground } from '@/components/knot-background'
88
import { ModeSelector } from '@/components/mode-selector'
@@ -20,6 +20,13 @@ import { getAgentConfig } from '@/lib/agent-session'
2020
import { fetchRepoByName, fetchAuthenticatedUser, type GitHubUser } from '@/lib/github-api'
2121
import { getFavorites, getRecents, addRecent, type SavedRepo } from '@/lib/github-repos-store'
2222

23+
// Mock recent chats data
24+
const MOCK_RECENT_CHATS = [
25+
{ id: 1, title: 'Refactor authentication flow', timestamp: '2h ago' },
26+
{ id: 2, title: 'Add dark mode toggle', timestamp: 'Yesterday' },
27+
{ id: 3, title: 'Fix navigation bug', timestamp: '3d ago' },
28+
]
29+
2330
const STATIC_SUGGESTIONS = [
2431
{
2532
icon: 'lucide:layout-template',

0 commit comments

Comments
 (0)