Skip to content

Commit fa93109

Browse files
roomote[bot]roomotemrubens
authored
feat: allow import settings in initial welcome screen (#10994)
Co-authored-by: Roo Code <[email protected]> Co-authored-by: Matt Rubens <[email protected]>
1 parent 20d1f1f commit fa93109

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

webview-ui/src/components/welcome/WelcomeViewProvider.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ const WelcomeViewProvider = () => {
291291
if (selectedProvider === null) {
292292
return (
293293
<Tab>
294-
<TabContent className="flex flex-col gap-4 p-6 justify-center">
294+
<TabContent className="relative flex flex-col gap-4 p-6 justify-center">
295295
<RooHero />
296296
<h2 className="mt-0 mb-0 text-xl">{t("welcome:landing.greeting")}</h2>
297297

@@ -312,6 +312,14 @@ const WelcomeViewProvider = () => {
312312
{t("welcome:landing.noAccount")}
313313
</VSCodeLink>
314314
</div>
315+
316+
<div className="absolute bottom-6 left-6">
317+
<button
318+
onClick={() => vscode.postMessage({ type: "importSettings" })}
319+
className="cursor-pointer bg-transparent border-none p-0 text-vscode-foreground hover:underline">
320+
{t("welcome:importSettings")}
321+
</button>
322+
</div>
315323
</TabContent>
316324
</Tab>
317325
)

0 commit comments

Comments
 (0)