Skip to content

Commit da3717b

Browse files
committed
Final twaks
1 parent 20413b1 commit da3717b

File tree

19 files changed

+20
-41
lines changed

19 files changed

+20
-41
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ReasoningBlock = ({ content, isStreaming, isLast }: ReasoningBlockP
2525
const contentRef = useRef<HTMLDivElement>(null)
2626

2727
useEffect(() => {
28-
setIsCollapsed(reasoningBlockCollapsed !== false)
28+
setIsCollapsed(reasoningBlockCollapsed)
2929
}, [reasoningBlockCollapsed])
3030

3131
useEffect(() => {
@@ -57,13 +57,10 @@ export const ReasoningBlock = ({ content, isStreaming, isLast }: ReasoningBlockP
5757
)}
5858
</div>
5959
<div className="flex items-center gap-2">
60-
<span className="text-sm text-vscode-descriptionForeground" aria-label="Toggle reasoning block">
61-
{isCollapsed ? t("chat:reasoning.expand") : t("chat:reasoning.collapse")}
62-
</span>
6360
<ChevronUp
6461
className={cn(
6562
"w-4 transition-all opacity-0 group-hover:opacity-100",
66-
isCollapsed && "rotate-180",
63+
isCollapsed && "-rotate-180",
6764
)}
6865
/>
6966
</div>

webview-ui/src/i18n/locales/ca/chat.json

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

webview-ui/src/i18n/locales/de/chat.json

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

webview-ui/src/i18n/locales/en/chat.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@
306306
"reasoning": {
307307
"thinking": "Thinking",
308308
"seconds": "{{count}}s",
309-
"collapse": "Collapse",
310-
"expand": "Expand"
309+
"seconds": "{{count}}s"
311310
},
312311
"followUpSuggest": {
313312
"copyToInput": "Copy to input (same as shift + click)",

webview-ui/src/i18n/locales/es/chat.json

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

webview-ui/src/i18n/locales/fr/chat.json

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

webview-ui/src/i18n/locales/hi/chat.json

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

webview-ui/src/i18n/locales/id/chat.json

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

webview-ui/src/i18n/locales/it/chat.json

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

webview-ui/src/i18n/locales/ja/chat.json

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

0 commit comments

Comments
 (0)