- {/* If we need real estate, we show a compressed version of the tips. Otherwise, we expand it. */}
- {cycle ? (
- <>
-
Did you know about...
-
- {" "}
-
-
- {t(currentTip.titleKey)}:{" "}
- {t(currentTip.descriptionKey)}
-
-
- >
- ) : (
- topTwoTips.map((tip) => (
+
+
+
+ the docs
+
+ ),
+ }}
+ />
+
+
+ {tips.map((tip) => (
@@ -88,8 +49,8 @@ const RooTips = ({ cycle = false }: RooTipsProps) => {
: {t(tip.descriptionKey)}
- ))
- )}
+ ))}
+
)
}
diff --git a/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx b/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx
index 8d907e2579..eb121aaadf 100644
--- a/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx
+++ b/webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx
@@ -7,6 +7,16 @@ vi.mock("react-i18next", () => ({
useTranslation: () => ({
t: (key: string) => key, // Simple mock that returns the key
}),
+ Trans: ({
+ children,
+ components,
+ }: {
+ children?: React.ReactNode
+ components?: Record
+ }) => {
+ // Simple mock that renders children or the first component if no children
+ return children || (components && Object.values(components)[0]) || null
+ },
}))
vi.mock("@vscode/webview-ui-toolkit/react", () => ({
@@ -25,12 +35,12 @@ describe("RooTips Component", () => {
describe("when cycle is false (default)", () => {
beforeEach(() => {
- render()
+ render()
})
test("renders only the top two tips", () => {
- // Ensure only two tips are present (check by link role)
- expect(screen.getAllByRole("link")).toHaveLength(2)
+ // Ensure only two tips are present plus the docs link in the Trans component (3 total links)
+ expect(screen.getAllByRole("link")).toHaveLength(3)
})
})
})
diff --git a/webview-ui/src/i18n/locales/ca/chat.json b/webview-ui/src/i18n/locales/ca/chat.json
index 10f7ad3dba..01d9ee1c1a 100644
--- a/webview-ui/src/i18n/locales/ca/chat.json
+++ b/webview-ui/src/i18n/locales/ca/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Versió {{version}} - Feu clic per veure les notes de llançament"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud arribarà aviat!",
+ "description": "Executa agents remots al núvol, accedeix a les teves tasques des de qualsevol lloc, col·labora amb altres i molt més.",
+ "joinWaitlist": "Uneix-te a la llista d'espera per obtenir accés anticipat."
+ },
"editMessage": {
"placeholder": "Edita el teu missatge..."
}
diff --git a/webview-ui/src/i18n/locales/de/chat.json b/webview-ui/src/i18n/locales/de/chat.json
index 95620eefdf..032145234d 100644
--- a/webview-ui/src/i18n/locales/de/chat.json
+++ b/webview-ui/src/i18n/locales/de/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Version {{version}} - Klicken Sie, um die Versionshinweise anzuzeigen"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud kommt bald!",
+ "description": "Führe Remote-Agenten in der Cloud aus, greife von überall auf deine Aufgaben zu, arbeite mit anderen zusammen und vieles mehr.",
+ "joinWaitlist": "Tritt der Warteliste bei, um frühen Zugang zu erhalten."
+ },
"editMessage": {
"placeholder": "Bearbeite deine Nachricht..."
}
diff --git a/webview-ui/src/i18n/locales/en/chat.json b/webview-ui/src/i18n/locales/en/chat.json
index aed3bcfdc5..3bbb3fbf72 100644
--- a/webview-ui/src/i18n/locales/en/chat.json
+++ b/webview-ui/src/i18n/locales/en/chat.json
@@ -324,5 +324,10 @@
},
"versionIndicator": {
"ariaLabel": "Version {{version}} - Click to view release notes"
+ },
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud is coming soon!",
+ "description": "Run Roomote agents in the cloud, access your tasks from anywhere, collaborate with others, and more.",
+ "joinWaitlist": "Join the waitlist to get early access."
}
}
diff --git a/webview-ui/src/i18n/locales/es/chat.json b/webview-ui/src/i18n/locales/es/chat.json
index a091aed1a6..adcfd1d40c 100644
--- a/webview-ui/src/i18n/locales/es/chat.json
+++ b/webview-ui/src/i18n/locales/es/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Versión {{version}} - Haz clic para ver las notas de la versión"
},
+ "rooCloudCTA": {
+ "title": "¡Roo Code Cloud llegará pronto!",
+ "description": "Ejecuta agentes remotos en la nube, accede a tus tareas desde cualquier lugar, colabora con otros y mucho más.",
+ "joinWaitlist": "Únete a la lista de espera para obtener acceso anticipado."
+ },
"editMessage": {
"placeholder": "Edita tu mensaje..."
}
diff --git a/webview-ui/src/i18n/locales/fr/chat.json b/webview-ui/src/i18n/locales/fr/chat.json
index 59b22149fb..3e49a64867 100644
--- a/webview-ui/src/i18n/locales/fr/chat.json
+++ b/webview-ui/src/i18n/locales/fr/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Version {{version}} - Cliquez pour voir les notes de version"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud arrive bientôt !",
+ "description": "Exécutez des agents distants dans le cloud, accédez à vos tâches de n'importe où, collaborez avec d'autres et bien plus encore.",
+ "joinWaitlist": "Rejoignez la liste d'attente pour obtenir un accès anticipé."
+ },
"editMessage": {
"placeholder": "Modifiez votre message..."
}
diff --git a/webview-ui/src/i18n/locales/hi/chat.json b/webview-ui/src/i18n/locales/hi/chat.json
index 08c7cc030a..3b5c7b8a67 100644
--- a/webview-ui/src/i18n/locales/hi/chat.json
+++ b/webview-ui/src/i18n/locales/hi/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "संस्करण {{version}} - रिलीज़ नोट्स देखने के लिए क्लिक करें"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud जल्द आ रहा है!",
+ "description": "क्लाउड में रिमोट एजेंट चलाएं, कहीं से भी अपने कार्यों तक पहुंचें, दूसरों के साथ सहयोग करें, और बहुत कुछ।",
+ "joinWaitlist": "जल्दी पहुंच पाने के लिए प्रतीक्षा सूची में शामिल हों।"
+ },
"editMessage": {
"placeholder": "अपना संदेश संपादित करें..."
}
diff --git a/webview-ui/src/i18n/locales/id/chat.json b/webview-ui/src/i18n/locales/id/chat.json
index e242ebcf6c..2ef1cb75e7 100644
--- a/webview-ui/src/i18n/locales/id/chat.json
+++ b/webview-ui/src/i18n/locales/id/chat.json
@@ -329,6 +329,11 @@
"versionIndicator": {
"ariaLabel": "Versi {{version}} - Klik untuk melihat catatan rilis"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud segera hadir!",
+ "description": "Jalankan agen jarak jauh di cloud, akses tugas Anda dari mana saja, berkolaborasi dengan orang lain, dan banyak lagi.",
+ "joinWaitlist": "Bergabunglah dengan daftar tunggu untuk mendapatkan akses awal."
+ },
"editMessage": {
"placeholder": "Edit pesan Anda..."
}
diff --git a/webview-ui/src/i18n/locales/it/chat.json b/webview-ui/src/i18n/locales/it/chat.json
index 9f2d1b523a..eb3984f1be 100644
--- a/webview-ui/src/i18n/locales/it/chat.json
+++ b/webview-ui/src/i18n/locales/it/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Versione {{version}} - Clicca per visualizzare le note di rilascio"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud arriva presto!",
+ "description": "Esegui agenti remoti nel cloud, accedi alle tue attività da qualsiasi luogo, collabora con altri e molto altro.",
+ "joinWaitlist": "Unisciti alla lista d'attesa per ottenere l'accesso anticipato."
+ },
"editMessage": {
"placeholder": "Modifica il tuo messaggio..."
}
diff --git a/webview-ui/src/i18n/locales/ja/chat.json b/webview-ui/src/i18n/locales/ja/chat.json
index 986b1d48bf..2f6e6bfab7 100644
--- a/webview-ui/src/i18n/locales/ja/chat.json
+++ b/webview-ui/src/i18n/locales/ja/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "バージョン {{version}} - クリックしてリリースノートを表示"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud が間もなく登場!",
+ "description": "クラウドでリモートエージェントを実行し、どこからでもタスクにアクセスし、他の人と協力し、その他多くの機能を利用できます。",
+ "joinWaitlist": "早期アクセスを取得するためにウェイトリストに参加してください。"
+ },
"editMessage": {
"placeholder": "メッセージを編集..."
}
diff --git a/webview-ui/src/i18n/locales/ko/chat.json b/webview-ui/src/i18n/locales/ko/chat.json
index 295f11584c..f4a5c33602 100644
--- a/webview-ui/src/i18n/locales/ko/chat.json
+++ b/webview-ui/src/i18n/locales/ko/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "버전 {{version}} - 릴리스 노트를 보려면 클릭하세요"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud가 곧 출시됩니다!",
+ "description": "클라우드에서 원격 에이전트를 실행하고, 어디서나 작업에 액세스하고, 다른 사람들과 협업하는 등 다양한 기능을 이용하세요.",
+ "joinWaitlist": "얼리 액세스를 받으려면 대기 목록에 가입하세요."
+ },
"editMessage": {
"placeholder": "메시지 편집..."
}
diff --git a/webview-ui/src/i18n/locales/nl/chat.json b/webview-ui/src/i18n/locales/nl/chat.json
index 9d8bd6b202..1d11db2668 100644
--- a/webview-ui/src/i18n/locales/nl/chat.json
+++ b/webview-ui/src/i18n/locales/nl/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Versie {{version}} - Klik om release notes te bekijken"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud komt binnenkort!",
+ "description": "Voer externe agenten uit in de cloud, krijg overal toegang tot je taken, werk samen met anderen en nog veel meer.",
+ "joinWaitlist": "Sluit je aan bij de wachtlijst voor vroege toegang."
+ },
"editMessage": {
"placeholder": "Bewerk je bericht..."
}
diff --git a/webview-ui/src/i18n/locales/pl/chat.json b/webview-ui/src/i18n/locales/pl/chat.json
index a5460909fb..88c58418ad 100644
--- a/webview-ui/src/i18n/locales/pl/chat.json
+++ b/webview-ui/src/i18n/locales/pl/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Wersja {{version}} - Kliknij, aby wyświetlić informacje o wydaniu"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud już wkrótce!",
+ "description": "Uruchamiaj zdalne agenty w chmurze, uzyskuj dostęp do swoich zadań z dowolnego miejsca, współpracuj z innymi i wiele więcej.",
+ "joinWaitlist": "Dołącz do listy oczekujących, aby uzyskać wczesny dostęp."
+ },
"editMessage": {
"placeholder": "Edytuj swoją wiadomość..."
}
diff --git a/webview-ui/src/i18n/locales/pt-BR/chat.json b/webview-ui/src/i18n/locales/pt-BR/chat.json
index 96cb0c7660..3784d6cc64 100644
--- a/webview-ui/src/i18n/locales/pt-BR/chat.json
+++ b/webview-ui/src/i18n/locales/pt-BR/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Versão {{version}} - Clique para ver as notas de lançamento"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud chegará em breve!",
+ "description": "Execute agentes remotos na nuvem, acesse suas tarefas de qualquer lugar, colabore com outros e muito mais.",
+ "joinWaitlist": "Junte-se à lista de espera para obter acesso antecipado."
+ },
"editMessage": {
"placeholder": "Edite sua mensagem..."
}
diff --git a/webview-ui/src/i18n/locales/ru/chat.json b/webview-ui/src/i18n/locales/ru/chat.json
index 90387a620c..0660d3e1d6 100644
--- a/webview-ui/src/i18n/locales/ru/chat.json
+++ b/webview-ui/src/i18n/locales/ru/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Версия {{version}} - Нажмите, чтобы просмотреть примечания к выпуску"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud скоро появится!",
+ "description": "Запускайте удаленные агенты в облаке, получайте доступ к своим задачам из любого места, сотрудничайте с другими и многое другое.",
+ "joinWaitlist": "Присоединитесь к списку ожидания для получения раннего доступа."
+ },
"editMessage": {
"placeholder": "Редактировать сообщение..."
}
diff --git a/webview-ui/src/i18n/locales/tr/chat.json b/webview-ui/src/i18n/locales/tr/chat.json
index 2188756f7f..75bc126dff 100644
--- a/webview-ui/src/i18n/locales/tr/chat.json
+++ b/webview-ui/src/i18n/locales/tr/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Sürüm {{version}} - Sürüm notlarını görüntülemek için tıklayın"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud yakında geliyor!",
+ "description": "Bulutta uzak ajanlar çalıştırın, görevlerinize her yerden erişin, başkalarıyla işbirliği yapın ve daha fazlası.",
+ "joinWaitlist": "Erken erişim için bekleme listesine katılın."
+ },
"editMessage": {
"placeholder": "Mesajını düzenle..."
}
diff --git a/webview-ui/src/i18n/locales/vi/chat.json b/webview-ui/src/i18n/locales/vi/chat.json
index cdab5bf1e5..944eabcb94 100644
--- a/webview-ui/src/i18n/locales/vi/chat.json
+++ b/webview-ui/src/i18n/locales/vi/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "Phiên bản {{version}} - Nhấp để xem ghi chú phát hành"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud sắp ra mắt!",
+ "description": "Chạy các agent từ xa trên cloud, truy cập các tác vụ của bạn từ mọi nơi, cộng tác với người khác và nhiều hơn nữa.",
+ "joinWaitlist": "Tham gia danh sách chờ để được truy cập sớm."
+ },
"editMessage": {
"placeholder": "Chỉnh sửa tin nhắn của bạn..."
}
diff --git a/webview-ui/src/i18n/locales/zh-CN/chat.json b/webview-ui/src/i18n/locales/zh-CN/chat.json
index 58945ddf12..616cd14fec 100644
--- a/webview-ui/src/i18n/locales/zh-CN/chat.json
+++ b/webview-ui/src/i18n/locales/zh-CN/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "版本 {{version}} - 点击查看发布说明"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud 即将推出!",
+ "description": "在云端运行远程代理,随时随地访问任务,与他人协作等更多功能。",
+ "joinWaitlist": "加入等待列表获取早期访问权限。"
+ },
"editMessage": {
"placeholder": "编辑消息..."
}
diff --git a/webview-ui/src/i18n/locales/zh-TW/chat.json b/webview-ui/src/i18n/locales/zh-TW/chat.json
index fab99e69ae..662421900e 100644
--- a/webview-ui/src/i18n/locales/zh-TW/chat.json
+++ b/webview-ui/src/i18n/locales/zh-TW/chat.json
@@ -323,6 +323,11 @@
"versionIndicator": {
"ariaLabel": "版本 {{version}} - 點擊查看發布說明"
},
+ "rooCloudCTA": {
+ "title": "Roo Code Cloud 即將推出!",
+ "description": "在雲端執行遠端代理,隨時隨地存取您的工作,與他人協作等更多功能。",
+ "joinWaitlist": "加入等候名單以獲得早期存取權限。"
+ },
"editMessage": {
"placeholder": "編輯訊息..."
}