File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
webview-ui/src/components/chat Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ import {
5555 Edit ,
5656 Trash2 ,
5757 MessageCircleQuestionMark ,
58+ SquareArrowOutUpRight ,
59+ FileCode2 ,
5860} from "lucide-react"
5961import { cn } from "@/lib/utils"
6062
@@ -575,7 +577,7 @@ export const ChatRowContent = ({
575577 return (
576578 < >
577579 < div style = { headerStyle } >
578- { toolIcon ( "file-code" ) }
580+ < FileCode2 className = "w-4" />
579581 < span style = { { fontWeight : "bold" } } >
580582 { message . type === "ask"
581583 ? tool . isOutsideWorkspace
@@ -591,15 +593,16 @@ export const ChatRowContent = ({
591593 < div className = "pl-6" >
592594 < ToolUseBlock >
593595 < ToolUseBlockHeader
596+ className = "group"
594597 onClick = { ( ) => vscode . postMessage ( { type : "openFile" , text : tool . content } ) } >
595598 { tool . path ?. startsWith ( "." ) && < span > .</ span > }
596599 < span className = "whitespace-nowrap overflow-hidden text-ellipsis text-left mr-2 rtl" >
597600 { removeLeadingNonAlphanumeric ( tool . path ?? "" ) + "\u200E" }
598601 { tool . reason }
599602 </ span >
600603 < div style = { { flexGrow : 1 } } > </ div >
601- < span
602- className = { ` codicon codicon-link-external` }
604+ < SquareArrowOutUpRight
605+ className = "w-4 codicon codicon-link-external opacity-0 group-hover:opacity-100 transition-opacity"
603606 style = { { fontSize : 13.5 , margin : "1px 0" } }
604607 />
605608 </ ToolUseBlockHeader >
You can’t perform that action at this time.
0 commit comments