Skip to content

Commit 45a021c

Browse files
committed
Final tweaks.
1 parent b982197 commit 45a021c

File tree

4 files changed

+4
-41
lines changed

4 files changed

+4
-41
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
12571257
</div>
12581258
</div>
12591259
)}
1260-
<div className={`m-auto ${isExpanded ? "mt-0" : ""} p-10 pt-5"`}>
1260+
<div className={` flex flex-col gap-4 m-auto ${isExpanded ? "mt-0" : ""} p-10 pt-5"`}>
12611261
{showAnnouncement && <Announcement version={version} hideAnnouncement={hideAnnouncement} />}
12621262

12631263
<RooHero />

webview-ui/src/components/history/HistoryPreview.tsx

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ import { memo } from "react"
22

33
import { vscode } from "@/utils/vscode"
44
import { formatLargeNumber, formatDate } from "@/utils/format"
5-
import { Button } from "@/components/ui"
65

7-
import { useAppTranslation } from "@src/i18n/TranslationContext"
86
import { CopyButton } from "./CopyButton"
97
import { useTaskSearch } from "./useTaskSearch"
108

@@ -13,7 +11,6 @@ import { Coins } from "lucide-react"
1311

1412
const HistoryPreview = () => {
1513
const { tasks, showAllWorkspaces } = useTaskSearch()
16-
const { t } = useAppTranslation()
1714

1815
return (
1916
<>
@@ -35,18 +32,6 @@ const HistoryPreview = () => {
3532
}}
3633
/>
3734
</p>
38-
39-
{/* The button to show history view will be moved to ChatView */}
40-
<Button
41-
size="sm"
42-
variant="secondary"
43-
onClick={() => {
44-
/* TODO: Implement or remove */
45-
}}
46-
className="mx-auto">
47-
<span className="codicon codicon-history size-[1rem]" />
48-
{t("history:viewAll")}
49-
</Button>
5035
</>
5136
)}
5237

@@ -94,14 +79,6 @@ const HistoryPreview = () => {
9479
</div>
9580
</div>
9681
))}
97-
{/* The link to show history view will be moved to ChatView */}
98-
<div
99-
className="text-center text-xs text-vscode-descriptionForeground cursor-pointer hover:text-vscode-foreground mt-1"
100-
onClick={() => {
101-
/* TODO: Implement or remove */
102-
}}>
103-
{t("history:viewAll")} ({tasks.length})
104-
</div>
10582
</>
10683
)}
10784
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"description": "Teile Aufgaben in kleinere, überschaubare Teile auf."
7474
},
7575
"stickyModels": {
76-
"title": "Sticky Models",
76+
"title": "Sticky Modes",
7777
"description": "Jeder Modus merkt sich dein zuletzt verwendetes Modell"
7878
},
7979
"tools": {

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

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"description": "Split tasks into smaller, manageable parts."
7474
},
7575
"stickyModels": {
76-
"title": "Sticky Models",
76+
"title": "Sticky Modes",
7777
"description": "Each mode remembers your last used model"
7878
},
7979
"tools": {
@@ -232,19 +232,5 @@
232232
"close": "Close browser"
233233
}
234234
},
235-
"systemPromptWarning": "WARNING: Custom system prompt override active. This can severely break functionality and cause unpredictable behavior.",
236-
"rooTips": {
237-
"boomerangTasks": {
238-
"title": "Boomerang Tasks",
239-
"description": "Orchestrate complex workflows with subtasks"
240-
},
241-
"stickyModels": {
242-
"title": "Sticky Models",
243-
"description": "Each mode remembers your last used model"
244-
},
245-
"tools": {
246-
"title": "Tools",
247-
"description": "Allow the AI to solve problems by browsing the web, running commands, and more."
248-
}
249-
}
235+
"systemPromptWarning": "WARNING: Custom system prompt override active. This can severely break functionality and cause unpredictable behavior."
250236
}

0 commit comments

Comments
 (0)