Skip to content

Commit 33d90fe

Browse files
authored
Minor UI improvements and color tweaks (#2)
1 parent b0ac18d commit 33d90fe

20 files changed

+486
-107
lines changed

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.19.0
1+
lts/latest

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon.png" />
7+
<link rel="shortcut icon" href="/favicon.ico" />
8+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
59
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Pydantic AI Chat</title>
10+
<title>Pydantic AI</title>
711
</head>
812
<body>
913
<div id="root"></div>

package-lock.json

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"format": "prettier --write -- .",
1212
"lint": "eslint",
1313
"lint-fix": "eslint --fix --quiet",
14-
"dev": "vite",
14+
"dev": "BACKEND_PORT=38001 vite",
15+
"dev:server": "cd agent && uv run uvicorn chatbot.server:app --port 38001",
1516
"build": "tsc -b && vite build",
1617
"preview": "vite preview"
1718
},
@@ -42,9 +43,11 @@
4243
"embla-carousel-react": "^8.6.0",
4344
"lucide-react": "^0.542.0",
4445
"nanoid": "^5.1.6",
46+
"next-themes": "^0.4.6",
4547
"react": "^19.1.1",
4648
"react-dom": "^19.1.1",
4749
"react-syntax-highlighter": "^15.6.6",
50+
"sonner": "^2.0.7",
4851
"streamdown": "^1.2.0",
4952
"tailwind-merge": "^3.3.1",
5053
"tailwindcss": "^4.1.13",
@@ -53,6 +56,7 @@
5356
},
5457
"devDependencies": {
5558
"@eslint/js": "^9.35.0",
59+
"@types/node": "^24.7.2",
5660
"@types/react": "^19.1.10",
5761
"@types/react-dom": "^19.1.7",
5862
"@types/react-syntax-highlighter": "^15.5.13",

public/apple-touch-icon.png

2.99 KB
Loading

public/favicon.ico

364 KB
Binary file not shown.

public/favicon.png

876 Bytes
Loading

public/favicon.svg

Lines changed: 3 additions & 0 deletions
Loading

public/logo.svg

Lines changed: 10 additions & 0 deletions
Loading

specs/delete-past-chats.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Add the ability to delete past chats
2+
3+
## Feature Description
4+
5+
In the side panel, a list of previous chats is displayed. Each chat entry includes a delete button (represented by a trash can icon) next to it. When the user clicks the delete button, a confirmation dialog appears asking, "Are you sure you want to delete this chat?" with "Cancel" and "Delete" options. If the user confirms the deletion, the selected chat is removed from the list and any associated data is deleted from the local storage. If the user cancels, no action is taken and the dialog closes.
6+
7+
## Implementation Details
8+
9+
- The chats are stored in local storage, just remove them from there.
10+
- Use shadcn/lucide for the UI. The button should be visible only on hover.

0 commit comments

Comments
 (0)