feat: allow import settings in initial welcome screen (#10994)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
This commit is contained in:
roomote[bot] 2026-01-30 20:55:13 -05:00 committed by GitHub
parent 20d1f1f282
commit fa93109b76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -291,7 +291,7 @@ const WelcomeViewProvider = () => {
if (selectedProvider === null) {
return (
<Tab>
<TabContent className="flex flex-col gap-4 p-6 justify-center">
<TabContent className="relative flex flex-col gap-4 p-6 justify-center">
<RooHero />
<h2 className="mt-0 mb-0 text-xl">{t("welcome:landing.greeting")}</h2>
@ -312,6 +312,14 @@ const WelcomeViewProvider = () => {
{t("welcome:landing.noAccount")}
</VSCodeLink>
</div>
<div className="absolute bottom-6 left-6">
<button
onClick={() => vscode.postMessage({ type: "importSettings" })}
className="cursor-pointer bg-transparent border-none p-0 text-vscode-foreground hover:underline">
{t("welcome:importSettings")}
</button>
</div>
</TabContent>
</Tab>
)