Skip to content

Commit 03d36e6

Browse files
committed
fix: update icons in ChatTextArea and IndexingStatusBadge components
1 parent e7285a5 commit 03d36e6

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import Thumbnails from "../common/Thumbnails"
2525
import ModeSelector from "./ModeSelector"
2626
import { MAX_IMAGES_PER_MESSAGE } from "./ChatView"
2727
import ContextMenu from "./ContextMenu"
28-
import { VolumeX, Pin, Check, Camera, WandSparkles, SendHorizontal } from "lucide-react"
28+
import { VolumeX, Pin, Check, Image, WandSparkles, SendHorizontal } from "lucide-react"
2929
import { IndexingStatusBadge } from "./IndexingStatusBadge"
3030
import { cn } from "@/lib/utils"
3131
import { usePromptHistory } from "./hooks/usePromptHistory"
@@ -1168,7 +1168,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11681168
</div>
11691169
</div>
11701170

1171-
<div className={cn("flex", "items-center", "gap-0.5", "shrink-0")}>
1171+
<div className={cn("flex", "items-center", "gap-1", "shrink-0")}>
11721172
<IndexingStatusBadge />
11731173
<button
11741174
aria-label={t("chat:addImages")}
@@ -1187,9 +1187,8 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11871187
!shouldDisableImages && "cursor-pointer",
11881188
shouldDisableImages &&
11891189
"opacity-40 cursor-not-allowed grayscale-[30%] hover:bg-transparent hover:border-[rgba(255,255,255,0.08)] active:bg-transparent",
1190-
"mr-1",
11911190
)}>
1192-
<Camera className="w-4 h-4" />
1191+
<Image className="w-4 h-4" />
11931192
</button>
11941193
</div>
11951194
</div>

webview-ui/src/components/chat/IndexingStatusBadge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState, useEffect, useMemo } from "react"
2-
import { FileSearch } from "lucide-react"
2+
import { Database } from "lucide-react"
33
import { cn } from "@src/lib/utils"
44
import { vscode } from "@src/utils/vscode"
55
import { useAppTranslation } from "@/i18n/TranslationContext"
@@ -123,7 +123,7 @@ export const IndexingStatusBadge: React.FC<IndexingStatusBadgeProps> = ({ classN
123123
)}
124124
aria-label={getTooltipText()}>
125125
{/* File search icon */}
126-
<FileSearch className="w-4 h-4 text-vscode-foreground" />
126+
<Database className="w-4 h-4 text-vscode-foreground" />
127127

128128
{/* Status dot badge */}
129129
<span

0 commit comments

Comments
 (0)