Skip to content

Commit 3689f71

Browse files
committed
chores
1 parent 2d85eb5 commit 3689f71

File tree

4 files changed

+14
-36
lines changed

4 files changed

+14
-36
lines changed

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@wavesurfer/react": "^1.0.11",
8080
"@xstate/react": "^6.0.0",
8181
"@xstate/store": "^3.11.2",
82-
"ai": "^5.0.101",
82+
"ai": "^5.0.106",
8383
"chroma-js": "^3.1.2",
8484
"clsx": "^2.1.1",
8585
"date-fns": "^4.1.0",

apps/desktop/src/components/chat/body/empty.tsx

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ export function ChatBodyEmpty({
3636
openNew({ type: "prompts" });
3737
}, [openNew]);
3838

39-
const quickActions = [
40-
"Make a 1-paragraph summary",
41-
"Draft a follow-up mail for others",
42-
"What are the next steps for me",
43-
];
44-
45-
const handleQuickAction = (action: string) => {
46-
// For now, we just log it
47-
console.log("Quick action clicked:", action);
48-
};
49-
5039
if (!isModelConfigured) {
5140
return (
5241
<div className="flex justify-start px-3 py-2">
@@ -93,35 +82,24 @@ export function ChatBodyEmpty({
9382
<p className="text-sm text-neutral-700 mb-2">
9483
Hey! I can help you with a lot of cool stuff :)
9584
</p>
96-
<div className="flex flex-col gap-1 pb-1">
97-
{quickActions.map((action) => (
98-
<button
99-
key={action}
100-
onClick={() => handleQuickAction(action)}
101-
className="px-3 py-2 text-sm bg-white hover:bg-neutral-50 text-neutral-700 rounded-lg transition-colors border border-neutral-200 text-left"
102-
>
103-
{action}
104-
</button>
105-
))}
106-
</div>
107-
<div className="flex gap-2 pt-2 border-t border-neutral-200 mt-1">
85+
<div className="flex flex-wrap gap-2 pb-1">
10886
<button
10987
onClick={handleOpenChatShortcuts}
110-
className="flex items-center gap-1.5 px-2 py-1 text-xs text-neutral-500 hover:text-neutral-700 transition-colors"
88+
className="flex items-center gap-1.5 px-3 py-1.5 text-xs text-neutral-600 bg-white hover:bg-neutral-50 rounded-full border border-neutral-200 transition-colors"
11189
>
11290
<MessageSquareIcon size={12} />
11391
<span>Shortcuts</span>
11492
</button>
11593
<button
11694
onClick={handleOpenPrompts}
117-
className="flex items-center gap-1.5 px-2 py-1 text-xs text-neutral-500 hover:text-neutral-700 transition-colors"
95+
className="flex items-center gap-1.5 px-3 py-1.5 text-xs text-neutral-600 bg-white hover:bg-neutral-50 rounded-full border border-neutral-200 transition-colors"
11896
>
11997
<SparklesIcon size={12} />
12098
<span>Prompts</span>
12199
</button>
122100
<button
123101
onClick={handleGoToSettings}
124-
className="flex items-center gap-1.5 px-2 py-1 text-xs text-neutral-500 hover:text-neutral-700 transition-colors"
102+
className="flex items-center gap-1.5 px-3 py-1.5 text-xs text-neutral-600 bg-white hover:bg-neutral-50 rounded-full border border-neutral-200 transition-colors"
125103
>
126104
<SettingsIcon size={12} />
127105
<span>Settings</span>

apps/desktop/src/components/main/sidebar/profile/shared.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export function MenuItem({
1616
return (
1717
<div className="px-1">
1818
<button
19-
className={cn(
20-
"flex w-full justify-between rounded-lg",
19+
className={cn([
20+
"flex w-full items-center justify-between gap-2 rounded-lg",
2121
"px-3 py-1.5",
22-
"text-sm text-black",
22+
"text-sm text-black whitespace-nowrap",
2323
"transition-colors hover:bg-neutral-100",
24-
)}
24+
])}
2525
onClick={onClick}
2626
>
2727
<div className="flex items-center justify-start gap-2.5">

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)