diff --git a/webview-ui/src/components/welcome/RooTips.tsx b/webview-ui/src/components/welcome/RooTips.tsx
index b180a53c261..a52f083d1ca 100644
--- a/webview-ui/src/components/welcome/RooTips.tsx
+++ b/webview-ui/src/components/welcome/RooTips.tsx
@@ -5,16 +5,19 @@ import { Trans } from "react-i18next"
import { buildDocLink } from "@src/utils/docLinks"
import { ReplaceAll, Users } from "lucide-react"
+const buildWelcomeDocLink = (path: string, campaign: string) =>
+ buildDocLink(path, campaign).replace("https://docs.roocode.com", "https://docs.zoocode.dev")
+
const tips = [
{
icon: ,
- href: buildDocLink("basic-usage/using-modes", "tips"),
+ href: buildWelcomeDocLink("basic-usage/using-modes", "tips"),
titleKey: "rooTips.customizableModes.title",
descriptionKey: "rooTips.customizableModes.description",
},
{
icon: ,
- href: buildDocLink("getting-started/connecting-api-provider", "tips"),
+ href: buildWelcomeDocLink("getting-started/connecting-api-provider", "tips"),
titleKey: "rooTips.modelAgnostic.title",
descriptionKey: "rooTips.modelAgnostic.description",
},
@@ -48,7 +51,7 @@ const RooTips = () => {
DocsLink: (
),
}}
diff --git a/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx b/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx
index eb121aaadfe..f8fcbaa821c 100644
--- a/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx
+++ b/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx
@@ -42,5 +42,11 @@ describe("RooTips Component", () => {
// Ensure only two tips are present plus the docs link in the Trans component (3 total links)
expect(screen.getAllByRole("link")).toHaveLength(3)
})
+
+ test("uses Zoo docs links on the welcome screen", () => {
+ const links = screen.getAllByRole("link")
+
+ expect(links.every((link) => link.getAttribute("href")?.startsWith("https://docs.zoocode.dev/"))).toBe(true)
+ })
})
})